add string representations of the RoomNetCfg as RoomNetCfgStr[maxRoomNetCfg]
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 30 Oct 2010 17:17:55 +0000 (19:17 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 30 Oct 2010 17:17:55 +0000 (19:17 +0200)
libcitadel/lib/libcitadel.c
libcitadel/lib/libcitadel.h

index 7028a5d87a4b3921ef94d26a5f37c2225db33c76..1165d4d7292d86c88d6451e7c0c902f25957f6b6 100644 (file)
 #include "xdgmime/xdgmime.h"
 #include "libcitadellocal.h"
 
+ConstStr RoomNetCfgStrs[maxRoomNetCfg] = {
+       {HKEY(strof(subpending))},
+       {HKEY(strof(unsubpending))},
+       {HKEY(strof(lastsent))}, /* Server internal use only */
+       {HKEY(strof(ignet_push_share))},
+       {HKEY(strof(listrecp))},
+       {HKEY(strof(digestrecp))},
+       {HKEY(strof(pop3client))},
+       {HKEY(strof(rssclient))},
+       {HKEY(strof(participate))}
+// No, not one of..    {HKEY(strof(maxRoomNetCfg))}
+};
+
+
+
+
 extern int BaseStrBufSize;
 char *libcitadel_version_string(void) {
        return "libcitadel(unnumbered)";
index b8309761cf087da081d4b67bd0acfd32ea25f165..557280edd7b38b1f8cdf6057cc4ab5eaa0020547 100644 (file)
@@ -567,5 +567,6 @@ void WildFireSerializePayload(StrBuf *JsonBuffer, StrBuf *OutBuf, int *MsgCount,
 #define WF_STRUCTINDEX "1"
 #define WF_SUB "1"
 
+extern ConstStr RoomNetCfgStrs[maxRoomNetCfg];
 
 #endif // LIBCITADEL_H