X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fprototypes.h;h=7e772e0201c42deb3e499897fb7aacba87b95efa;hp=63ea87e82edc69f370d2f009dcfed1e5e32f1f25;hb=d2f12554a254e814dcdafb3828fc0d9936154eef;hpb=7480dbc14bc90f2d872d434205c0784704213252 diff --git a/h/prototypes.h b/h/prototypes.h index 63ea87e..7e772e0 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -25,7 +25,6 @@ char *etcpath(char *); /* * prototypes from the nmh subroutine library */ -char *add (char *, char *); void adios (char *, char *, ...); void admonish (char *, char *, ...); void advertise (char *, char *, char *, va_list); @@ -46,12 +45,13 @@ char *copy (char *, char *); char **copyip (char **, char **, int); void cpydata (int, int, char *, char *); void cpydgst (int, int, char *, char *); -int decode_rfc2047 (char *, char *); +int decode_rfc2047 (char *, char *, size_t); void discard (FILE *); int done (int); +int ext_hook(char *, char *, char *); int fdcompare (int, int); -int folder_addmsg (struct msgs **, char *, int, int, int); -int folder_delmsgs (struct msgs *, int); +int folder_addmsg (struct msgs **, char *, int, int, int, int, char *); +int folder_delmsgs (struct msgs *, int, int); void folder_free (struct msgs *); int folder_pack (struct msgs **, int); struct msgs *folder_read (char *); @@ -60,6 +60,7 @@ int gans (char *, struct swit *); char **getans (char *, struct swit *); int getanswer (char *); char **getarguments (char *, int, char **, int); +char *get_charset(); char *getcpy (char *); char *getfolder(int); int lkclose(int, char*); @@ -82,6 +83,7 @@ char *m_tmpfil (char *); void m_unknown(FILE *); int makedir (char *); char *nmh_getpass(const char *); +char *norm_charmap(char *); char *new_fs (char *, char *, char *); char *path(char *, int); int peekc(FILE *ib); @@ -135,13 +137,9 @@ 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); -#ifndef HAVE_STRERROR -char *strerror (int); -#endif - /* * some prototypes for address parsing system @@ -156,10 +154,11 @@ char *OfficialName(char *); */ int annotate (char *, char *, char *, int, int, int, int); void annolist(char *, char *, char *, int); +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 *);