X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fprototypes.h;h=63ea87e82edc69f370d2f009dcfed1e5e32f1f25;hb=7480dbc14bc90f2d872d434205c0784704213252;hp=0dccfa2ec4473a6e5880d960b71979a11db52f0d;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b;p=mmh diff --git a/h/prototypes.h b/h/prototypes.h index 0dccfa2..63ea87e 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -48,7 +48,7 @@ void cpydata (int, int, char *, char *); void cpydgst (int, int, char *, char *); int decode_rfc2047 (char *, char *); void discard (FILE *); -void done (int); +int done (int); int fdcompare (int, int); int folder_addmsg (struct msgs **, char *, int, int, int); int folder_delmsgs (struct msgs *, int); @@ -81,6 +81,7 @@ char *m_scratch (char *, char *); char *m_tmpfil (char *); void m_unknown(FILE *); int makedir (char *); +char *nmh_getpass(const char *); char *new_fs (char *, char *, char *); char *path(char *, int); int peekc(FILE *ib); @@ -94,6 +95,7 @@ char *pwd (void); char *r1bindex(char *, int); void readconfig (struct node **, FILE *, char *, int); int refile (char **, char *); +int ruserpass(char *, char **, char **); int remdir (char *); int seq_addmsg (struct msgs *, char *, int, int, int); int seq_addsel (struct msgs *, char *, int, int); @@ -128,11 +130,14 @@ int get_returnpath (char *, int, char *, int); /* * prototypes for compatibility functions in library */ -#ifndef HAVE_SNPRINTF +#ifndef HAVE_SNPRINTF_PROTOTYPE 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 strncasecmp (const char *s1, const char *s2, size_t n); + #ifndef HAVE_STRERROR char *strerror (int); #endif @@ -149,11 +154,12 @@ char *OfficialName(char *); /* * prototypes for some routines in uip */ -int annotate (char *, char *, char *, int, int); +int annotate (char *, char *, char *, int, int, int, int); +void annolist(char *, char *, char *, 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); +int sendsbr (char **, int, char *, struct stat *, int, char *); int what_now (char *, int, int, char *, char *, int, struct msgs *, char *, int, char *);