From 229761316e16901c3bf08f332df5cc1a7b4c8d51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Wilfried=20G=C3=B6esgens?= Date: Fri, 26 Feb 2010 17:39:48 +0000 Subject: [PATCH] * add user accesslevel enum --- libcitadel/lib/libcitadel.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libcitadel/lib/libcitadel.h b/libcitadel/lib/libcitadel.h index 3418b8d9f..9a2ef5ed7 100644 --- a/libcitadel/lib/libcitadel.h +++ b/libcitadel/lib/libcitadel.h @@ -45,6 +45,15 @@ enum LogLevel { CTDL_DEBUG /* debug-level messages */ }; +typedef enum AXLevel { + AxDeleted = 0, + AxNewU = 1, + AxProbU = 2, + AxLocU = 3, + AxNetU = 4, + AxPrefU = 5, + AxAideU = 6 +}eUsrAxlvl; /* * View definitions. @@ -367,7 +376,7 @@ int haschar(const char *st, int ch); void remove_token(char *source, int parmnum, char separator); void fmt_date(char *buf, size_t n, time_t thetime, int seconds); int is_msg_in_sequence_set(const char *mset, long msgnum); -char *memreadline(char *start, char *buf, int maxlen); +const char *memreadline(const char *start, char *buf, int maxlen); char *memreadlinelen(char *start, char *buf, int maxlen, int *retlen); #define IsEmptyStr(a) ((a)[0] == '\0') #define num_parms(source) num_tokens(source,(char)'|') -- 2.39.2