00001
00027 #ifndef __EVENTLOGGER_TYPES_H
00028 #define __EVENTLOGGER_TYPES_H
00029
00030 #include <glib.h>
00031
00035 typedef enum {
00036 RTCOM_EL_INTERNAL_ERROR,
00037 RTCOM_EL_INVALID_ARGUMENT_ERROR,
00038 RTCOM_EL_TEMPORARY_ERROR,
00039 RTCOM_EL_DATABASE_FULL,
00040 RTCOM_EL_DATABASE_CORRUPTED,
00041 } RTComElError;
00042
00043 #define RTCOM_EL_COLUMN_SIZE 20
00044 typedef enum {
00045 RTCOM_EL_COLUMN_ID,
00046 RTCOM_EL_COLUMN_SERVICE_ID,
00047 RTCOM_EL_COLUMN_EVENTTYPE_ID,
00048 RTCOM_EL_COLUMN_STORAGE_TIME,
00049 RTCOM_EL_COLUMN_START_TIME,
00050 RTCOM_EL_COLUMN_END_TIME,
00051 RTCOM_EL_COLUMN_IS_READ,
00052 RTCOM_EL_COLUMN_FLAGS,
00053 RTCOM_EL_COLUMN_BYTES_SENT,
00054 RTCOM_EL_COLUMN_BYTES_RECEIVED,
00055 RTCOM_EL_COLUMN_REMOTE_EBOOK_UID,
00056 RTCOM_EL_COLUMN_LOCAL_UID,
00057 RTCOM_EL_COLUMN_LOCAL_NAME,
00058 RTCOM_EL_COLUMN_REMOTE_UID,
00059 RTCOM_EL_COLUMN_REMOTE_NAME,
00060 RTCOM_EL_COLUMN_CHANNEL,
00061 RTCOM_EL_COLUMN_FREE_TEXT,
00062 RTCOM_EL_COLUMN_GROUP_UID,
00063
00064 RTCOM_EL_COLUMN_SERVICE_NAME,
00065 RTCOM_EL_COLUMN_EVENT_TYPE_NAME
00066 } RTComElColumn;
00067
00071 typedef enum {
00072 RTCOM_EL_OP_EQUAL,
00073 RTCOM_EL_OP_NOT_EQUAL,
00074 RTCOM_EL_OP_GREATER,
00075 RTCOM_EL_OP_GREATER_EQUAL,
00076 RTCOM_EL_OP_LESS,
00077 RTCOM_EL_OP_LESS_EQUAL,
00078 RTCOM_EL_OP_IN_STRV,
00079 RTCOM_EL_OP_STR_ENDS_WITH
00082 } RTComElOp;
00083
00084 #define RTCOM_EL_FLAG_GENERIC_READ 1<<0
00085
00086 #endif
00087
00088
00089