X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fprototypes.h;h=2f4f65114fbbd97fa4e92aae2f415e0dce8defb7;hp=de57cb8ee2a3ea8d814fd427db0768c15278baf9;hb=da831514de01e2407cef37c118ffff0526a486d0;hpb=aa2501ef873e96a8500c53b05280dcc0ade952c2 diff --git a/h/prototypes.h b/h/prototypes.h index de57cb8..2f4f651 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -47,7 +47,7 @@ void cpydata (int, int, char *, char *); void cpydgst (int, int, char *, char *); int decode_rfc2047 (char *, char *, size_t); void discard (FILE *); -int done (int); +int default_done (int); int ext_hook(char *, char *, char *); int fdcompare (int, int); int folder_addmsg (struct msgs **, char *, int, int, int, int, char *); @@ -71,7 +71,7 @@ int m_atoi (char *); char *m_backup (char *); int m_convert (struct msgs *, char *); char *m_draft (char *, char *, int, int *); -void m_eomsbr (int (*)()); +void m_eomsbr (int (*)(int)); int m_getfld (int, unsigned char *, unsigned char *, int, FILE *); int m_gmprot (void); char *m_maildir (char *); @@ -89,6 +89,7 @@ char *path(char *, int); int peekc(FILE *ib); int pidwait (pid_t, int); int pidstatus (int, FILE *, char *); +char *pluspath(char *); void print_help (char *, struct swit *, int); void print_sw (char *, struct swit *, char *); void print_version (char *); @@ -106,7 +107,7 @@ int seq_delmsg (struct msgs *, char *, int); int seq_delsel (struct msgs *, char *, int, int); int seq_getnum (struct msgs *, char *); char *seq_list (struct msgs *, char *); -int seq_nameok (char *); +int seq_nameok (unsigned char *); void seq_print (struct msgs *, char *); void seq_printall (struct msgs *); void seq_read (struct msgs *); @@ -119,7 +120,7 @@ int smatch(char *, struct swit *); char *snprintb (char *, size_t, unsigned, char *); int ssequal (char *, char *); int stringdex (char *, char *); -char *trimcpy (char *); +char *trimcpy (unsigned char *); int unputenv (char *); int uprf (char *, char *); int vfgets (FILE *, char **); @@ -137,7 +138,7 @@ int snprintf (char *, size_t, const char *, ...); int vsnprintf (char *, size_t, const char *, va_list); #endif -int strcasecmp (const char *s1, const char *s2); +int mh_strcasecmp (const char *s1, const char *s2); int strncasecmp (const char *s1, const char *s2, size_t n); @@ -158,7 +159,7 @@ void annopreserve(int); int distout (char *, char *, char *); void replout (FILE *, char *, char *, struct msgs *, int, int, char *, char *, char *); -int sendsbr (char **, int, char *, struct stat *, int, char *); +int sendsbr (char **, int, char *, struct stat *, int, char *, int); int what_now (char *, int, int, char *, char *, int, struct msgs *, char *, int, char *);