xcmc.h revision 4b9d6701570cb98fd36e209314239d104ec584d3
/*
* Copyright (C) 2004 Chris Morgan
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
* other than GPL or LGPL is available it will apply instead, Oracle elects to use only
* the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
* a choice of LGPL license versions is made available with the language indicating
* that LGPLv2 or any later version may be used, or where a choice of which version
* of the LGPL is applied is otherwise unspecified.
*/
#ifndef _XCMC_H
#define _XCMC_H
#ifdef __cplusplus
extern "C" {
#endif
typedef char CMC_sint8;
typedef short CMC_sint16;
typedef LONG CMC_sint32;
typedef unsigned short int CMC_uint16;
typedef ULONG CMC_uint32;
typedef void* CMC_buffer;
typedef char* CMC_string;
typedef CMC_uint16 CMC_boolean;
typedef CMC_sint32 CMC_enum;
typedef CMC_uint32 CMC_return_code;
typedef CMC_uint32 CMC_flags;
typedef CMC_string CMC_object_identifier;
typedef CMC_uint32 CMC_session_id;
typedef CMC_uint32 CMC_ui_id;
#define CMC_FALSE ((CMC_boolean)0)
#define CMC_SUCCESS ((CMC_return_code) 0)
typedef struct {
char string[1];
typedef CMC_counted_string CMC_message_reference;
typedef struct {
} CMC_time;
typedef struct {
typedef struct CMC_attachment_s {
#define CMC_ATT_OID_BINARY "? ? ? ? ? ?"
#define CMC_ATT_OID_TEXT "? ? ? ? ? ?"
typedef struct {
#define CMC_TYPE_UNKNOWN ((CMC_enum) 0)
#define CMC_ROLE_TO ((CMC_enum) 0)
typedef struct {
} CMC_message;
typedef struct {
);
);
);
#define CMC_ACT_ON_EXTENDED ((CMC_enum) 0)
);
#define CMC_LENGTH_UNKNOWN 0xFFFFFFFF
);
);
);
);
);
#define CMC_LINE_TERM_CRLF ((CMC_enum) 0)
#define CMC_REQUIRED_NO ((CMC_enum) 0)
#define CMC_CHAR_CP437 "1 2 840 113556 3 2 437"
#define CMC_CHAR_CP850 "1 2 840 113556 3 2 85"
#define CMC_CHAR_CP1252 "1 2 840 113556 3 2 1252"
#define CMC_CHAR_ISTRING "1 2 840 113556 3 2 0"
#define CMC_CHAR_UNICODE "1 2 840 113556 3 2 1"
#ifdef __cplusplus
}
#endif
#endif /* #ifndef _XCMC_H */