]> code.citadel.org Git - citadel.git/blobdiff - citadel/msgbase.h
* Replication fixes
[citadel.git] / citadel / msgbase.h
index 99670f9bd064489b362fe8ebffce80623678a792..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,8 +50,10 @@ 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 *,