Fix missing va_end call in uip/mhmisc.c
[mmh] / h / addrsbr.h
index 9aaabd5..639333e 100644 (file)
@@ -1,16 +1,18 @@
 /*
- * addrsbr.h -- definitions for the address parsing system
- */
+** addrsbr.h -- definitions for the address parsing system
+*/
 
 #define AD_HOST 1          /* getm(): lookup official hostname    */
 #define AD_NHST 0          /* getm(): do not lookup official name */
 #define AD_NAME AD_NHST    /* AD_HOST is TOO slow                 */
 
-#define UUCPHOST     (-1)
 #define LOCALHOST    0
 #define NETHOST      1
 #define BADHOST      2
 
+#include <stddef.h>
+#include <unistd.h>
+
 struct mailname {
        struct mailname *m_next;
        char *m_text;
@@ -26,14 +28,13 @@ struct mailname {
        char *m_note;
 };
 
-#define adrformat(m) auxformat ((m), 1)
 
 /*
- *  prototypes
- */
+**  prototypes
+*/
 void mnfree(struct mailname *);
 int ismymbox(struct mailname *);
 char *getname(char *);
-char *adrsprintf(char *, char *);
-char *auxformat(struct mailname *, int);
+char *adrformat(struct mailname *);
 struct mailname *getm(char *, char *, int, int, char *);
+ssize_t getmboxes(char *, struct mailname **);