00001 #pragma once
00002 #ifndef SEAP_TYPES_H
00003 #define SEAP_TYPES_H
00004
00005 #include <stdint.h>
00006 #include <seap-debug.h>
00007 #include <seap-message.h>
00008
00009 #ifdef __cplusplus
00010 extern "C" {
00011 #endif
00012
00013 typedef struct SEAP_CTX SEAP_CTX_t;
00014
00015 #define SEAP_CTX_INITIALIZER { NULL, 0, 0, 0, SEAP_DESCTBL_INITIALIZER, SEAP_CMDTABLE_INITIALIZER }
00016
00017 typedef struct SEAP_cmd SEAP_cmd_t;
00018
00019
00020 #define SEAP_ETYPE_INT 0
00021 #define SEAP_ETYPE_USER 1
00022
00023 #define SEAP_EUNFIN 1
00024 #define SEAP_EPARSE 2
00025 #define SEAP_ECLOSE 3
00026 #define SEAP_EINVAL 4
00027 #define SEAP_ENOMEM 5
00028 #define SEAP_EMSEXP 6
00029 #define SEAP_EMATTR 7
00030 #define SEAP_EUNEXP 8
00031 #define SEAP_EUSER 9
00032 #define SEAP_ENOCMD 10
00033 #define SEAP_EQFULL 11
00034 #define SEAP_EUNKNOWN 255
00035
00036
00037 #define SEAP_IOFL_RECONN 0x00000001
00038 #define SEAP_IOFL_NONBLOCK 0x00000002
00039
00040 #ifdef __cplusplus
00041 }
00042 #endif
00043
00044 #endif