]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.c
Updated all version numbers to 8.20 in preparation for release
[citadel.git] / libcitadel / lib / libcitadel.c
index 347184c4f591ef712e57782ec49b242a1923d5da..29fe71d4760e8e75899ee4e60365132c2b54f4f4 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Main stuff for libcitadel
  *
- * Copyright (c) 1987-2011 by the citadel.org team
+ * Copyright (c) 1987-2013 by the citadel.org team
  *
  * This program is open source software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -46,7 +46,7 @@ ConstStr RoomNetCfgStrs[maxRoomNetCfg] = {
 
 
 
-
+extern int EnableSplice;
 extern int BaseStrBufSize;
 char *libcitadel_version_string(void) {
        return "libcitadel(unnumbered)";
@@ -58,7 +58,11 @@ int libcitadel_version_number(void) {
 
 void StartLibCitadel(size_t basesize)
 {
+       const char *Splice;
        BaseStrBufSize = basesize;
+       Splice = getenv("LIBCITADEL_ENABLE_SPLICE");
+       if (Splice != NULL)
+               EnableSplice = atol(Splice);
 }
 
 void ShutDownLibCitadel(void)