Integrated the DKIM signer into serv_smtpclient, but disabled it
[citadel.git] / libcitadel / lib / libcitadel.c
1 //
2 // Main stuff for libcitadel
3 //
4 // Copyright (c) 1987-2013 by the citadel.org team
5 //
6 // This program is open source software.  Use, duplication, or disclosure
7 // is subject to the terms of the GNU General Public License, version 3.
8
9 #include <stdlib.h>
10 #include <unistd.h>
11 #include <stdio.h>
12 #include <signal.h>
13 #include <sys/types.h>
14 #include <ctype.h>
15 #include <string.h>
16 #include <sys/stat.h>
17 #include <errno.h>
18 #include "libcitadel.h"
19 #include "xdgmime/xdgmime.h"
20 #include "libcitadellocal.h"
21
22 ConstStr RoomNetCfgStrs[maxRoomNetCfg] = {
23         {HKEY(strof(subpending))},
24         {HKEY(strof(unsubpending))},
25         {HKEY(strof(lastsent))}, /* Server internal use only */
26         {HKEY(strof(ignet_push_share))},
27         {HKEY(strof(listrecp))},
28         {HKEY(strof(digestrecp))},
29         {HKEY(strof(pop3client))},
30         {HKEY(strof(rssclient))},
31         {HKEY(strof(participate))}
32 // No, not one of..     {HKEY(strof(maxRoomNetCfg))}
33 };
34
35 extern int EnableSplice;
36 extern int ZLibCompressionRatio;
37
38 char *libcitadel_version_string(void) {
39         return "libcitadel(unnumbered)";
40 }
41
42 int libcitadel_version_number(void) {
43         return LIBCITADEL_VERSION_NUMBER;
44 }
45
46 void ShutDownLibCitadel(void) {
47         ShutDownLibCitadelMime();
48         WildFireShutdown();
49         xdg_mime_shutdown();
50 }