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 typedef struct SEAP_CTX SEAP_CTX_t;
00010
00011 #define SEAP_CTX_INITIALIZER { NULL, 0, 0, 0, SEAP_DESCTBL_INITIALIZER, SEAP_CMDTABLE_INITIALIZER }
00012
00013 typedef struct SEAP_cmd SEAP_cmd_t;
00014
00015
00016 #define SEAP_ETYPE_INT 0
00017 #define SEAP_ETYPE_USER 1
00018
00019 #define SEAP_EUNFIN 1
00020 #define SEAP_EPARSE 2
00021 #define SEAP_ECLOSE 3
00022 #define SEAP_EINVAL 4
00023 #define SEAP_ENOMEM 5
00024 #define SEAP_EMSEXP 6
00025 #define SEAP_EMATTR 7
00026 #define SEAP_EUNEXP 8
00027 #define SEAP_EUSER 9
00028 #define SEAP_ENOCMD 10
00029 #define SEAP_EQFULL 11
00030 #define SEAP_EUNKNOWN 255
00031
00032
00033 #define SEAP_IOFL_RECONN 0x00000001
00034 #define SEAP_IOFL_NONBLOCK 0x00000002
00035
00036 #endif