projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use nntp_data_new and stop hiding the group in the struct, useless win.
[apps/madmutt.git]
/
state.h
diff --git
a/state.h
b/state.h
index
61b9c95
..
fb1c057
100644
(file)
--- a/
state.h
+++ b/
state.h
@@
-29,7
+29,6
@@
typedef struct {
#define M_CHARCONV (1<<4) /* Do character set conversions */
#define M_PRINTING (1<<5) /* are we printing? - M_DISPLAY "light" */
#define M_REPLYING (1<<6) /* are we replying? */
#define M_CHARCONV (1<<4) /* Do character set conversions */
#define M_PRINTING (1<<5) /* are we printing? - M_DISPLAY "light" */
#define M_REPLYING (1<<6) /* are we replying? */
-#define M_FIRSTDONE (1<<7) /* the first attachment has been done */
#define state_set_prefix(s) ((s)->flags |= M_PENDINGPREFIX)
#define state_reset_prefix(s) ((s)->flags &= ~M_PENDINGPREFIX)
#define state_set_prefix(s) ((s)->flags |= M_PENDINGPREFIX)
#define state_reset_prefix(s) ((s)->flags &= ~M_PENDINGPREFIX)
@@
-39,7
+38,8
@@
typedef struct {
void state_mark_attach (STATE *);
void state_attach_puts (const char *, STATE *);
void state_prefix_putc (char, STATE *);
void state_mark_attach (STATE *);
void state_attach_puts (const char *, STATE *);
void state_prefix_putc (char, STATE *);
-int state_printf (STATE *, const char *, ...);
+int state_printf (STATE *, const char *, ...)
+ __attribute__((format(printf, 2, 3)));
void mutt_convert_to_state (iconv_t, char*, ssize_t*, STATE*);
void mutt_convert_to_state (iconv_t, char*, ssize_t*, STATE*);