Moved date/time functions from zotnet/tws to sbr. More importantly,
[mmh] / h / prototypes.h
index 0dccfa2..d252ead 100644 (file)
@@ -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