00001 #ifndef agws_H
00002 #define agws_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __cplusplus
00024 #error This is a C++ include file and cannot be used from plain C
00025 #endif
00026
00027
00028
00029
00030 #include <cat/TcsCatalog.h>
00031
00032 #include "eccsTestTools.h"
00033 #include "eccsDB_ATTR.h"
00034 #include "evhCALLBACK.h"
00035
00036
00037
00038
00039 #include "agwsErrors.h"
00040
00041
00042
00043
00044
00045
00046
00047
00048 #include "tcs.h"
00049 #include "agwsDefines.h"
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061 #include "fndNAME_MAP.h"
00062
00063 extern fndNAME_MAP agwsStateNameMap;
00064
00065 #include "oslx.h"
00066 #include "agwsTARGET_LIST.h"
00067
00068
00069
00070
00071 #ifdef eccsLOG_LEVEL
00072 #undef eccsLOG_LEVEL
00073 #endif
00074 #define eccsLOG_LEVEL 0
00075
00076
00077
00078
00079 extern dbSYMADDRESS agwsDbRoot;
00080 extern agwsTARGET_LIST *agwsTargets;
00081
00082
00083
00084
00085 char *agwsGetProcName(const msgPROCESSID &orgId);
00086 char *agwsDestTarget(msgMESSAGE &msg);
00087 ccsCOMPL_STAT agwsSendReply(msgMESSAGE &user, const char *format, ...);
00088 ccsCOMPL_STAT agwsSendErrorReply(msgMESSAGE &user, vltINT16 errorNumber,
00089 ccsLOC_ID location, ...);
00090 ccsCOMPL_STAT agwsGetTimeout(char *cmdName, ccsTIMEVAL &timeout);
00091
00092
00093
00094
00095 #define DELETE(objPtr) \
00096 if (objPtr != NULL) \
00097 { \
00098 delete objPtr; \
00099 objPtr = NULL; \
00100 }
00101
00102 #endif // !agws_H