Main Page | Class Hierarchy | Alphabetical List | Class List | 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 int CNF_getNetworkTCPPort();
00051 OFCmdUnsignedInt CNF_getMaxPDUSize();
00052 int CNF_getMaxAssociations();
00053 
00054 /* get Application Entity specific parameter values */
00055 const char *CNF_getStorageArea(const char *AETitle);
00056 const char *CNF_getAccess(const char *AETitle);
00057 int CNF_getMaxStudies(const char *AETitle);
00058 long CNF_getMaxBytesPerStudy(const char *AETitle);
00059 
00060 /* get combined values */
00061 int CNF_peerInAETitle(const char *calledAETitle, const char *callingAETitle, const char *HostName);
00062 int CNF_peerForAETitle(const char *AETitle, const char **HostName, int *PortNumber);
00063 int CNF_checkForSameVendor(const char *AETitle1, const char *AETitle2);
00064 int CNF_HostNamesForVendor(const char *Vendor, const char ***HostNameArray);
00065 const char* CNF_vendorForPeerAETitle(const char *peerAETitle);
00066 
00067 int CNF_aeTitlesForPeer(const char *hostName, const char *** aeTitleList);
00068 int CNF_ctnTitles(const char *** ctnTitleList);
00069 int CNF_aeTitlesForSymbolicName(const char *symbolicName, const char ***aeTitleList);
00070 
00071 int CNF_countCtnTitles();
00072 
00073 #endif
00074 
00075 /*
00076 ** CVS Log
00077 ** $Log: cnf.h,v $
00078 ** Revision 1.6  2002/11/29 07:18:12  wilkens
00079 ** Adapted ti utility to command line classes and added option '-xi'.
00080 **
00081 ** Revision 1.5  2001/11/12 14:54:18  meichel
00082 ** Removed all ctndisp related code from imagectn
00083 **
00084 ** Revision 1.4  2001/06/01 15:51:15  meichel
00085 ** Updated copyright header
00086 **
00087 ** Revision 1.3  2000/03/08 16:40:56  meichel
00088 ** Updated copyright header.
00089 **
00090 ** Revision 1.2  1999/06/10 12:11:50  meichel
00091 ** Adapted imagectn to new command line option scheme.
00092 **   Added support for Patient/Study Only Q/R model and C-GET (experimental).
00093 **
00094 ** Revision 1.1.1.1  1996/03/28 19:24:59  hewett
00095 ** Oldenburg Image CTN Software ported to use the dcmdata C++ toolkit.
00096 **
00097 **
00098 */


Generated on 8 Dec 2004 for OFFIS DCMTK Version 3.5.3 by Doxygen 1.3.9.1