Skip navigation.
Downloads | Product Documentation | Support

# JmsCommon.h

Go to the documentation of this file.

    00001
    00007 #ifndef _JMSCOMMON_H
    00008 #define _JMSCOMMON_H 1
    00009
    00010 #include <JmsTypes.h>
    00011
    00017 #define JMS_CALLED_FROM_JMS (JMS64I) 0x0000000000000001
    00018
    00025 #define JMS_APPLICATION_MUST_FREE_HANDLE (JMS64I) 0x0000000000000002
    00026
    00031 #define CSTRING 0
    00032
    00036 #define UNISTRING 1
    00037
    00057 typedef struct {
    00059   int stringType;
    00061   union {
    00063     char *string;
    00065     struct {
    00067       void *data;
    00069       JMS32I length;
    00070     } uniString;
    00071   } uniOrC;
    00073   int allocatedSize;
    00074 } JmsString;
    00075
    00076 #endif /* _JMSCOMMON_H */
    00077