32 #include "dcmtk/config/osconfig.h"
34 #include "dcmtk/dcmnet/dicom.h"
35 #include "dcmtk/dcmnet/cond.h"
36 #include "dcmtk/dcmnet/assoc.h"
37 #include "dcmtk/dcmnet/dimse.h"
38 #include "dcmtk/ofstd/ofcmdln.h"
39 #include "dcmtk/dcmqrdb/dcmqrcnf.h"
47 #define TI_MAXPEERS 100
48 #define TI_MAXDATABASES 100
49 #define TI_MAXSTUDIES 1000
50 #define TI_MAXSERIES 500
51 #define TI_MAXIMAGES 1000
59 DIC_UI sopInstanceUID;
66 DIC_UI seriesInstanceUID;
78 DIC_UI studyInstanceUID;
92 const char **peerTitles;
105 time_t lastQueryTime;
138 OFBool
addPeerName(
const char *peerName,
const char *configFileName);
193 const char *configFileName,
194 int remoteDBTitlesCount,
195 const char **remoteDBTitles);
214 OFBool TI_attachAssociation();
215 OFBool TI_changeAssociation();
216 OFBool TI_sendEcho();
217 OFBool TI_storeImage(
char *sopClass,
char *sopInstance,
char * imgFile);
218 OFBool TI_remoteFindQuery(
220 TI_GenericEntryCallbackFunction callbackFunction,
222 OFBool TI_title(
int arg,
const char * );
224 OFBool TI_database(
int arg,
const char * );
225 OFBool TI_echo(
int arg,
const char * );
226 OFBool TI_quit(
int arg,
const char * );
227 OFBool TI_actualizeStudies();
228 OFBool TI_study(
int arg,
const char * );
229 OFBool TI_actualizeSeries();
230 OFBool TI_series(
int arg,
const char * );
231 OFBool TI_actualizeImages();
232 OFBool TI_image(
int arg,
const char * );
237 OFBool TI_sendStudy(
int arg,
const char * );
238 OFBool TI_sendSeries(
int arg,
const char * );
239 OFBool TI_sendImage(
int arg,
const char * );
240 OFBool TI_send(
int ,
const char *cmdbuf);
241 OFBool TI_shortHelp(
int ,
const char * );
242 OFBool TI_help(
int arg,
const char * );
245 OFBool TI_dbReadable(
const char *dbTitle);
246 time_t TI_dbModifyTime(
const char *dbTitle);
249 OFBool findDBPeerTitles(
250 const char *configFileName,