]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/imap/imap_tools.h
Add formatcheckers to IAPrintf
[citadel.git] / citadel / modules / imap / imap_tools.h
index 52afbacbc482a261b9d8c6dd7bccb361cd5e75f3..099d9c39b062bdffeca7761a2767001ea1a2a5f0 100644 (file)
@@ -34,11 +34,8 @@ int imap_mailbox_matches_pattern(const char *pattern, char *mailboxname);
 int imap_datecmp(const char *datestr, time_t msgtime);
 
 
-
-
-
 /* Imap Append Printf, send to the outbuffer */
-void IAPrintf(const char *Format, ...);
+void IAPrintf(const char *Format, ...) __attribute__((__format__(__printf__,1,2)));
 
 void iaputs(const char *Str, long Len);
 #define IAPuts(Msg) iaputs(HKEY(Msg))
@@ -57,9 +54,4 @@ void IPutStr(const char *Msg, long Len);
 #define IPutCStr(_ConstStr) IPutStr(CKEY(_ConstStr))
 #define IPutCParamStr(n) IPutStr(CKEY(Params[n]))
 
-/*
-void plain_imap_strout(char *buf)
-void imap_strout(ConstStr *args)
-*/
-
-
+void IUnbuffer (void);