Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

cnf.h

00001 /*
00002  *
00003  *  Copyright (C) 1993-2001, OFFIS
00004  *
00005  *  This software and supporting documentation were developed by
00006  *
00007  *    Kuratorium OFFIS e.V.
00008  *    Healthcare Information and Communication Systems
00009  *    Escherweg 2
00010  *    D-26121 Oldenburg, Germany
00011  *
00012  *  THIS SOFTWARE IS MADE AVAILABLE,  AS IS,  AND OFFIS MAKES NO  WARRANTY
00013  *  REGARDING  THE  SOFTWARE,  ITS  PERFORMANCE,  ITS  MERCHANTABILITY  OR
00014  *  FITNESS FOR ANY PARTICULAR USE, FREEDOM FROM ANY COMPUTER DISEASES  OR
00015  *  ITS CONFORMITY TO ANY SPECIFICATION. THE ENTIRE RISK AS TO QUALITY AND
00016  *  PERFORMANCE OF THE SOFTWARE IS WITH THE USER.
00017  *
00018  *  Module:  imagectn
00019  *
00020  *  Author:  Ralph Meyer
00021  *
00022  *  Purpose: Configuration facility
00023  *    Module Prefix: CNF_
00024  *
00025  *  Last Update:      $Author: wilkens $
00026  *  Update Date:      $Date: 2002/11/29 07:18:12 $
00027  *  Source File:      $Source: /share/dicom/cvs-depot/dcmtk/imagectn/apps/cnf.h,v $
00028  *  CVS/RCS Revision: $Revision: 1.6 $
00029  *  Status:           $State: Exp $
00030  *
00031  *  CVS/RCS Log at end of file
00032  *
00033  */
00034 
00035 #ifndef CNF_CONFIG_H
00036 #define CNF_CONFIG_H
00037 
00038 #include "osconfig.h"    /* make sure OS specific configuration is included first */
00039 #include "ofcmdln.h"
00040 
00041 int CNF_init(const char *ConfigurationFile);
00042 void CNF_printConfig();
00043 
00044 /* get global parameter values */
00045 const char *CNF_getApplicationTitle();
00046 const char *CNF_getApplicationContext();
00047 const char *CNF_getImplementationClass();
00048 const char *CNF_getImplementationVersion();
00049 const char *CNF_getNetworkType();
00050 const char *CNF_getUserName();
00051 const char *CNF_getGroupName();
00052 int CNF_getNetworkTCPPort();
00053 OFCmdUnsignedInt CNF_getMaxPDUSize();
00054 int CNF_getMaxAssociations();
00055 
00056 /* get Application Entity specific parameter values */
00057 const char *CNF_getStorageArea(const char *AETitle);
00058 const char *CNF_getAccess(const char *AETitle);
00059 int CNF_getMaxStudies(const char *AETitle);
00060 long CNF_getMaxBytesPerStudy(const char *AETitle);
00061 
00062 /* get combined values */
00063 int CNF_peerInAETitle(const char *calledAETitle, const char *callingAETitle, const char *HostName);
00064 int CNF_peerForAETitle(const char *AETitle, const char **HostName, int *PortNumber);
00065 int CNF_checkForSameVendor(const char *AETitle1, const char *AETitle2);
00066 int CNF_HostNamesForVendor(const char *Vendor, const char ***HostNameArray);
00067 const char* CNF_vendorForPeerAETitle(const char *peerAETitle);
00068 
00069 int CNF_aeTitlesForPeer(const char *hostName, const char *** aeTitleList);
00070 int CNF_ctnTitles(const char *** ctnTitleList);
00071 int CNF_aeTitlesForSymbolicName(const char *symbolicName, const char ***aeTitleList);
00072 
00073 int CNF_countCtnTitles();
00074 
00075 #endif
00076 
00077 /*
00078 ** CVS Log
00079 ** $Log: cnf.h,v $
00080 ** Revision 1.6  2002/11/29 07:18:12  wilkens
00081 ** Adapted ti utility to command line classes and added option '-xi'.
00082 **
00083 ** Revision 1.5  2001/11/12 14:54:18  meichel
00084 ** Removed all ctndisp related code from imagectn
00085 **
00086 ** Revision 1.4  2001/06/01 15:51:15  meichel
00087 ** Updated copyright header
00088 **
00089 ** Revision 1.3  2000/03/08 16:40:56  meichel
00090 ** Updated copyright header.
00091 **
00092 ** Revision 1.2  1999/06/10 12:11:50  meichel
00093 ** Adapted imagectn to new command line option scheme.
00094 **   Added support for Patient/Study Only Q/R model and C-GET (experimental).
00095 **
00096 ** Revision 1.1.1.1  1996/03/28 19:24:59  hewett
00097 ** Oldenburg Image CTN Software ported to use the dcmdata C++ toolkit.
00098 **
00099 **
00100 */


Generated on 29 Apr 2005 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.4.2