projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix regression. make the hook types be ints.
[apps/madmutt.git]
/
protos.h
diff --git
a/protos.h
b/protos.h
index
4b18418
..
d4b6bea
100644
(file)
--- a/
protos.h
+++ b/
protos.h
@@
-95,7
+95,7
@@
char *mutt_charset_hook (const char *);
char *mutt_iconv_hook (const char *);
char *mutt_expand_path (char *, size_t);
char *_mutt_expand_path (char *, size_t, int);
char *mutt_iconv_hook (const char *);
char *mutt_expand_path (char *, size_t);
char *_mutt_expand_path (char *, size_t, int);
-char *mutt_find_hook (
unsigned long
, const char *);
+char *mutt_find_hook (
int
, const char *);
char *mutt_gecos_name (char *, size_t, struct passwd *);
char *mutt_gen_msgid (void);
char *mutt_get_body_charset (char *, size_t, BODY *);
char *mutt_gecos_name (char *, size_t, struct passwd *);
char *mutt_gen_msgid (void);
char *mutt_get_body_charset (char *, size_t, BODY *);
@@
-134,8
+134,8
@@
void mutt_expand_fmt (char *, size_t, const char *, const char *);
void mutt_expand_link (char *, const char *, const char *);
void mutt_fix_reply_recipients (ENVELOPE * env);
void mutt_folder_hook (char *);
void mutt_expand_link (char *, const char *, const char *);
void mutt_fix_reply_recipients (ENVELOPE * env);
void mutt_folder_hook (char *);
-void mutt_format_string (char *, s
ize_t, unsigned
int, int, int, char, const char *,
- size_t, int);
+void mutt_format_string (char *, s
size_t,
int, int, int, char, const char *,
+ s
s
ize_t, int);
void mutt_format_s (char *, size_t, const char *, const char *);
void mutt_format_s_tree (char *, size_t, const char *, const char *);
void mutt_forward_intro (FILE * fp, HEADER * cur);
void mutt_format_s (char *, size_t, const char *, const char *);
void mutt_format_s_tree (char *, size_t, const char *, const char *);
void mutt_forward_intro (FILE * fp, HEADER * cur);
@@
-181,7
+181,7
@@
void mutt_select_fcc (char *, size_t, HEADER *);
#define mutt_select_file(A,B,C) _mutt_select_file(A,B,C,NULL,NULL)
void _mutt_select_file (char *, size_t, int, char ***, int *);
#define mutt_select_file(A,B,C) _mutt_select_file(A,B,C,NULL,NULL)
void _mutt_select_file (char *, size_t, int, char ***, int *);
-void mutt_message_hook (CONTEXT *, HEADER *,
unsigned long
);
+void mutt_message_hook (CONTEXT *, HEADER *,
int
);
void _mutt_set_flag (CONTEXT *, HEADER *, int, int, int);
#define mutt_set_flag(a,b,c,d) _mutt_set_flag(a,b,c,d,1)
void _mutt_set_flag (CONTEXT *, HEADER *, int, int, int);
#define mutt_set_flag(a,b,c,d) _mutt_set_flag(a,b,c,d,1)
@@
-305,17
+305,11
@@
int mutt_from_base64 (char *, const char *);
/* utf8.c */
int mutt_wctoutf8 (char *s, unsigned int c);
/* utf8.c */
int mutt_wctoutf8 (char *s, unsigned int c);
-#ifdef LOCALES_HACK
-#define IsPrint(c) (isprint((unsigned char)(c)) || \
- ((unsigned char)(c) >= 0xa0))
-#define IsWPrint(wc) (iswprint(wc) || wc >= 0xa0)
-#else
#define IsPrint(c) (isprint((unsigned char)(c)) || \
(option (OPTLOCALES) ? 0 : \
((unsigned char)(c) >= 0xa0)))
#define IsWPrint(wc) (iswprint(wc) || \
(option (OPTLOCALES) ? 0 : (wc >= 0xa0)))
#define IsPrint(c) (isprint((unsigned char)(c)) || \
(option (OPTLOCALES) ? 0 : \
((unsigned char)(c) >= 0xa0)))
#define IsWPrint(wc) (iswprint(wc) || \
(option (OPTLOCALES) ? 0 : (wc >= 0xa0)))
-#endif
#define new_pattern() p_new(pattern_t, 1)
#define new_pattern() p_new(pattern_t, 1)
@@
-351,11
+345,6
@@
int getdnsdomainname (char *, size_t);
#define SCO
#endif
#define SCO
#endif
-/* SCO Unix uses chsize() instead of ftruncate() */
-#ifndef HAVE_FTRUNCATE
-#define ftruncate chsize
-#endif
-
#ifndef HAVE_SNPRINTF
extern int snprintf (char *, size_t, const char *, ...);
#endif
#ifndef HAVE_SNPRINTF
extern int snprintf (char *, size_t, const char *, ...);
#endif