X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=protos.h;h=4f9c2ef549035678e82a5ae6c11a0384e992d704;hp=ee8527d4ebf55ef3ffc6c1b41516aede4da50e1c;hb=108f3c7ab59844591f7540347914ea57be5245e2;hpb=dbacadf0ce81052365d7a43373ac7d4ac67ff91e diff --git a/protos.h b/protos.h index ee8527d..4f9c2ef 100644 --- a/protos.h +++ b/protos.h @@ -28,9 +28,6 @@ void _mutt_make_string (char *, size_t, const char *, CONTEXT *, HEADER *, format_flag); -#define mutt_system(x) _mutt_system(x,0) -int _mutt_system (const char *, int); - #define mutt_new_enter_state() p_new(ENTER_STATE, 1) typedef const char *format_t (char *, size_t, char, const char *, @@ -62,13 +59,13 @@ BODY *mutt_new_body(void); CONTENT *mutt_get_content_info (const char *fname, BODY * b); -LIST *mutt_make_references (ENVELOPE * e); +string_list_t *mutt_make_references (ENVELOPE * e); HEADER *mutt_dup_header (HEADER *); int mutt_cmp_header (const HEADER*, const HEADER*); int mutt_cmp_addr (const address_t * a, const address_t * b); -int mutt_cmp_list (const LIST * a, const LIST * b); +int mutt_cmp_list (const string_list_t * a, const string_list_t * 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); @@ -96,7 +93,7 @@ const char *mutt_fqdn (short); void mutt_account_hook (const char *url); void mutt_add_to_reference_headers (ENVELOPE * env, ENVELOPE * curenv, - LIST *** pp, LIST *** qq); + string_list_t *** pp, string_list_t *** qq); void mutt_adv_mktemp (const char*, char*, size_t); int mutt_bounce_message (FILE * fp, HEADER *, address_t *); void mutt_canonical_charset (char *, size_t, const char *); @@ -170,7 +167,7 @@ void mutt_tabs_to_spaces (char *); void mutt_tag_set_flag (int, int); void mutt_update_encoding (BODY * a); void mutt_version (void); -void mutt_write_references (LIST *, FILE *); +void mutt_write_references (string_list_t *, FILE *); void mutt_write_address_list (address_t * adr, FILE * fp, int linelen, int display); @@ -238,7 +235,7 @@ int mutt_parse_unscore (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_parse_unhook (BUFFER *, BUFFER *, unsigned long, BUFFER *); int mutt_pattern_func (int, char *); int mutt_query_complete (char *, size_t); -int mutt_query_variables (LIST * queries); +int mutt_query_variables (string_list_t * queries); int _mutt_save_message (HEADER *, CONTEXT *, int, int, int); int mutt_save_message (HEADER *, int, int, int, int *); int mutt_search_command (int, int); @@ -306,8 +303,6 @@ void mutt_pattern_free (pattern_t ** pat); #define S_ISLNK(x) (((x) & S_IFMT) == S_IFLNK ? 1 : 0) #endif -int getdnsdomainname (char *, size_t); - /* According to SCO support, this is how to detect SCO */ #if defined (_M_UNIX) || defined (M_OS) #define SCO