]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.c
Fix ansi auto-detect
[citadel.git] / libcitadel / lib / libcitadel.c
index 444fa208ccc1d8dd3bdb7c17ea4bcf40e3fecd2c..f9946f1e6f511ff2f30f5d95bcc39883f03ee185 100644 (file)
@@ -1,10 +1,50 @@
-/*
- * $Id$
- *
- */
+//
+// Main stuff for libcitadel
+//
+// Copyright (c) 1987-2013 by the citadel.org team
+//
+// This program is open source software.  Use, duplication, or disclosure
+// is subject to the terms of the GNU General Public License, version 3.
 
+#include <stdlib.h>
+#include <unistd.h>
+#include <stdio.h>
+#include <signal.h>
+#include <sys/types.h>
+#include <ctype.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <errno.h>
 #include "libcitadel.h"
+#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 EnableSplice;
+extern int ZLibCompressionRatio;
 
 char *libcitadel_version_string(void) {
-       return "$Id$";
+       return "libcitadel(unnumbered)";
+}
+
+int libcitadel_version_number(void) {
+       return LIBCITADEL_VERSION_NUMBER;
+}
+
+void ShutDownLibCitadel(void) {
+       ShutDownLibCitadelMime();
+       WildFireShutdown();
+       xdg_mime_shutdown();
 }