]> code.citadel.org Git - citadel.git/blobdiff - libcitadel/lib/libcitadel.h
Version number to 903 for distribution
[citadel.git] / libcitadel / lib / libcitadel.h
index 3a4d7a18bb9527268df3219bd3656e5ce1a33410..eb02470013c866b80eeb5a9d57bf1cbfdb71799a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Header file for libcitadel
  *
- * Copyright (c) 1987-2013 by the citadel.org team
+ * Copyright (c) 1987-2016 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 version 3.
@@ -28,7 +28,7 @@
 #include <sys/types.h>
 #include <netinet/in.h>
 
-#define LIBCITADEL_VERSION_NUMBER      901
+#define LIBCITADEL_VERSION_NUMBER      903
 
 /*
  * Here's a bunch of stupid magic to make the MIME parser portable.
@@ -677,6 +677,7 @@ extern ConstStr RoomNetCfgStrs[maxRoomNetCfg];
 
 /* a nice consistent place to define how we turn a message id into a thread id hash */
 #define ThreadIdHash(Buf) abs(HashLittle(ChrPtr(Buf), StrLength(Buf)))
+#define ThreadIdHashOffset(Buf, Offset) abs(HashLittle(ChrPtr(Buf) + Offset, StrLength(Buf)-Offset))
 
 #ifdef __cplusplus
 extern "C" {