From: Wilfried Göesgens Date: Fri, 26 Feb 2010 17:39:48 +0000 (+0000) Subject: * add user accesslevel enum X-Git-Tag: v7.86~374 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=229761316e16901c3bf08f332df5cc1a7b4c8d51;p=citadel.git * add user accesslevel enum --- 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)'|')