X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=h%2Fprototypes.h;h=7e8948ed748f23d2b7a0409be7d6a57e59786bfa;hp=edddc47e96cc1fde08b05e5d3927301322168cfb;hb=0569d6d1631dc90d4f2f2df6bdd0599c7ecc7814;hpb=4c24408bdff496a631709326b0d07a4e12fa9277 diff --git a/h/prototypes.h b/h/prototypes.h index edddc47..7e8948e 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,7 +45,7 @@ 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 *); @@ -90,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 *); @@ -138,13 +138,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 @@ -159,10 +155,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 *);