]> code.citadel.org Git - citadel.git/blobdiff - citadel/msgbase.h
* Replication fixes
[citadel.git] / citadel / msgbase.h
index df8dec8256d6f3bd1f5b9dcdfb5d480bd3f17f49..511f440f912844afcd46e413236a61c0ebc2a90e 100644 (file)
@@ -17,6 +17,10 @@ struct ma_info {
 };
 
 
+struct repl {                  /* Info for replication checking */
+       char extended_id[256];
+       time_t highest;
+};
 
 
 int alias (char *name);
@@ -46,11 +50,14 @@ void GetSuppMsgInfo(struct SuppMsgInfo *, long);
 void PutSuppMsgInfo(struct SuppMsgInfo *);
 void AdjRefCount(long, int);
 void simple_listing(long);
+int CtdlMsgCmp(struct CtdlMessage *msg, struct CtdlMessage *template);
 void CtdlForEachMessage(int mode, long ref,
                        char *content_type,
+                       struct CtdlMessage *compare,
                         void (*CallBack) (long msgnum) );
 int CtdlDeleteMessages(char *, long, char *);
-void CtdlWriteObject(char *, char *, char *, struct usersupp *, int, int);
+void CtdlWriteObject(char *, char *, char *, struct usersupp *,
+                       int, int, unsigned int);
 struct CtdlMessage *CtdlFetchMessage(long msgnum);
 void CtdlFreeMessage(struct CtdlMessage *msg);
 void serialize_message(struct ser_ret *, struct CtdlMessage *);