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 } RTComElError;
00041
00042 #define RTCOM_EL_COLUMN_SIZE 20
00043 typedef enum {
00044 RTCOM_EL_COLUMN_ID,
00045 RTCOM_EL_COLUMN_SERVICE_ID,
00046 RTCOM_EL_COLUMN_EVENTTYPE_ID,
00047 RTCOM_EL_COLUMN_STORAGE_TIME,
00048 RTCOM_EL_COLUMN_START_TIME,
00049 RTCOM_EL_COLUMN_END_TIME,
00050 RTCOM_EL_COLUMN_IS_READ,
00051 RTCOM_EL_COLUMN_FLAGS,
00052 RTCOM_EL_COLUMN_BYTES_SENT,
00053 RTCOM_EL_COLUMN_BYTES_RECEIVED,
00054 RTCOM_EL_COLUMN_REMOTE_EBOOK_UID,
00055 RTCOM_EL_COLUMN_LOCAL_UID,
00056 RTCOM_EL_COLUMN_LOCAL_NAME,
00057 RTCOM_EL_COLUMN_REMOTE_UID,
00058 RTCOM_EL_COLUMN_REMOTE_NAME,
00059 RTCOM_EL_COLUMN_CHANNEL,
00060 RTCOM_EL_COLUMN_FREE_TEXT,
00061 RTCOM_EL_COLUMN_GROUP_UID,
00062
00063 RTCOM_EL_COLUMN_SERVICE_NAME,
00064 RTCOM_EL_COLUMN_EVENT_TYPE_NAME
00065 } RTComElColumn;
00066
00070 typedef enum {
00071 RTCOM_EL_OP_EQUAL,
00072 RTCOM_EL_OP_NOT_EQUAL,
00073 RTCOM_EL_OP_GREATER,
00074 RTCOM_EL_OP_GREATER_EQUAL,
00075 RTCOM_EL_OP_LESS,
00076 RTCOM_EL_OP_LESS_EQUAL,
00077 RTCOM_EL_OP_IN_STRV,
00078 RTCOM_EL_OP_STR_ENDS_WITH
00081 } RTComElOp;
00082
00083 #define RTCOM_EL_FLAG_GENERIC_READ 1<<0
00084
00085 #endif
00086
00087
00088