diff options
Diffstat (limited to 'storage/connect/global.h')
-rw-r--r-- | storage/connect/global.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/storage/connect/global.h b/storage/connect/global.h index d35cef2de6f..88e5094d6d2 100644 --- a/storage/connect/global.h +++ b/storage/connect/global.h @@ -24,11 +24,13 @@ #endif #if defined(XMSG) +//#error Option XMSG is not yet fully implemented // Definition used to read messages from message file. #include "msgid.h" #define MSG(I) PlugReadMessage(NULL, MSG_##I, #I) #define STEP(I) PlugReadMessage(g, MSG_##I, #I) #elif defined(NEWMSG) +//#error Option NEWMSG is not yet fully implemented // Definition used to get messages from resource. #include "msgid.h" #define MSG(I) PlugGetMessage(NULL, MSG_##I) @@ -47,6 +49,11 @@ #endif // !WIN32 /***********************************************************************/ +/* Define access to the thread based trace value. */ +/***********************************************************************/ +#define trace GetTraceValue() + +/***********************************************************************/ /* Miscellaneous Constants */ /***********************************************************************/ #define NO_IVAL -95684275 /* Used by GetIntegerOption */ @@ -205,7 +212,10 @@ typedef struct _activity { /* Describes activity and language */ /*---------------- UNIT ?????????? VERSION ? ----------------------*/ typedef struct _parm { - void *Value; + union { + void *Value; + int Intval; + }; // end union short Type, Domain; PPARM Next; } PARM; @@ -252,6 +262,7 @@ DllExport void *PlugSubAlloc(PGLOBAL, void *, size_t); DllExport char *PlugDup(PGLOBAL g, const char *str); DllExport void *MakePtr(void *, OFFSET); DllExport void htrc(char const *fmt, ...); +DllExport int GetTraceValue(void); #if defined(__cplusplus) } // extern "C" |