Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / h / addrsbr.h
1 /* addrsbr.h - definitions for the address parsing system */
2
3 #define AD_HOST 1               /* getm(): lookup official hostname */
4 #define AD_NHST 0               /* getm(): do not lookup official name */
5 #define AD_NAME AD_NHST         /* AD_HOST is TOO slow */
6
7
8 struct mailname {
9     struct mailname *m_next;
10
11     char   *m_text,
12            *m_pers,
13            *m_mbox,
14            *m_host,
15            *m_path;
16
17     int     m_type;
18 #define UUCPHOST        (-1)
19 #define LOCALHOST       0
20 #define NETHOST         1
21 #define BADHOST         2
22
23     char    m_nohost;
24
25     char    m_bcc;
26
27     int     m_ingrp;
28     char   *m_gname;
29
30     char   *m_note;
31
32 #ifdef  MHMTS
33     char   *m_aka;
34 #endif /* MHMTS */
35 };
36
37
38 void    mnfree ();
39 int     ismymbox ();
40 char   *getname (), *adrsprintf (), *auxformat ();
41 struct mailname *getm ();
42
43 #define adrformat(m)    auxformat ((m), 1)
44
45 char   *LocalName (), *SystemName (), *UucpChan ();
46 char   *OfficialName ();