X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=protos.h;h=69fecddff42ee23bef8cfdf308e66849785a12df;hp=b8c08ccf2d78a0e0e39e47324a024dfdcf461625;hb=95fc7c1442ca6109151bbd34716cd9caeb85042a;hpb=9a1805afc94b21d8766e6e67ef57f92aaf966e84 diff --git a/protos.h b/protos.h index b8c08cc..69fecdd 100644 --- a/protos.h +++ b/protos.h @@ -18,12 +18,6 @@ #endif #include "mbyte.h" -#ifdef DEBUG -#define dprint(N,X) do { if(debuglevel>=N) fprintf X; } while (0) -#else -#define dprint(N,X) -#endif - #define MoreArgs(p) (*p->dptr && *p->dptr != ';' && *p->dptr != '#') #define mutt_make_string(A,B,C,D,E) _mutt_make_string(A,B,C,D,E,0) @@ -105,6 +99,13 @@ LIST *mutt_parse_references (char *, int); ENVELOPE *mutt_read_rfc822_header (FILE *, HEADER *, short, short); HEADER *mutt_dup_header (HEADER *); +int mutt_cmp_header (const HEADER*, const HEADER*); +int mutt_cmp_addr (const ADDRESS * a, const ADDRESS * b); +int mutt_cmp_list (const LIST * a, const LIST * b); +int mutt_cmp_env (const ENVELOPE * e1, const ENVELOPE * e2); +int mutt_cmp_param (const PARAMETER * p1, const PARAMETER * p2); +int mutt_cmp_body (const BODY * b1, const BODY * b2); + #if USE_HCACHE void *mutt_hcache_open (const char *path, const char *folder); void mutt_hcache_close (void *db); @@ -210,6 +211,7 @@ void mutt_make_help (char *, size_t, char *, int, int); void mutt_make_misc_reply_headers (ENVELOPE * env, CONTEXT * ctx, HEADER * cur, ENVELOPE * curenv); void mutt_make_post_indent (CONTEXT * ctx, HEADER * cur, FILE * out); +void mutt_merge_envelopes (ENVELOPE* base, ENVELOPE** extra); void mutt_message_to_7bit (BODY *, FILE *); #define mutt_mktemp(a) _mutt_mktemp (a, __FILE__, __LINE__) @@ -282,6 +284,7 @@ int mutt_compose_attachment (BODY * a); int mutt_copy_body (FILE *, BODY **, BODY *); int mutt_decode_save_attachment (FILE *, BODY *, char *, int, int); int mutt_display_message (HEADER * h); +int mutt_dump_variables (void); int mutt_edit_attachment (BODY *); int mutt_edit_message (CONTEXT *, HEADER *); int mutt_fetch_recips (ENVELOPE * out, ENVELOPE * in, int flags);