* macro to get a string out of a define / enum
authorWilfried Göesgens <willi@citadel.org>
Sat, 27 Feb 2010 12:45:36 +0000 (12:45 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sat, 27 Feb 2010 12:45:36 +0000 (12:45 +0000)
libcitadel/lib/libcitadel.h

index 9a2ef5ed77100bad90a0f5d19bf584b4b5bf1ac3..662c9468b3119e081bc80e3d70886a79e7c2526b 100644 (file)
@@ -24,6 +24,7 @@
 #define SIZ    4096
 #endif
 
+#define strof(a) #a
 
 /* Logging levels - correspond to syslog(3) */
 enum LogLevel {
@@ -55,6 +56,19 @@ typedef enum AXLevel {
        AxAideU = 6
 }eUsrAxlvl;
 
+enum RoomNetCfg {
+       subpending,
+       unsubpending,
+       lastsent, /* Server internal use only */
+       ignet_push_share,
+       listrecp,
+       digestrecp,
+       pop3client,
+       rssclient,
+       participate,
+       maxRoomNetCfg
+};
+
 /*
  * View definitions.
  * Note that not all views are implemented in all clients.