Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / h / RCS / addrsbr.h,v
1 head    1.2;
2 access;
3 symbols;
4 locks; strict;
5 comment @ * @;
6
7
8 1.2
9 date    92.05.12.22.01.10;      author jromine; state Exp;
10 branches;
11 next    1.1;
12
13 1.1
14 date    92.02.10.17.57.27;      author jromine; state Exp;
15 branches;
16 next    ;
17
18
19 desc
20 @@
21
22
23 1.2
24 log
25 @fix ifdefs
26 @
27 text
28 @/* addrsbr.h - definitions for the address parsing system */
29
30 #define AD_HOST 1               /* getm(): lookup official hostname */
31 #define AD_NHST 0               /* getm(): do not lookup official name */
32 #define AD_NAME AD_NHST         /* AD_HOST is TOO slow */
33
34
35 struct mailname {
36     struct mailname *m_next;
37
38     char   *m_text,
39            *m_pers,
40            *m_mbox,
41            *m_host,
42            *m_path;
43
44     int     m_type;
45 #define UUCPHOST        (-1)
46 #define LOCALHOST       0
47 #define NETHOST         1
48 #define BADHOST         2
49
50     char    m_nohost;
51
52     char    m_bcc;
53
54     int     m_ingrp;
55     char   *m_gname;
56
57     char   *m_note;
58
59 #ifdef  MHMTS
60     char   *m_aka;
61 #endif /* MHMTS */
62 };
63
64
65 void    mnfree ();
66 int     ismymbox ();
67 char   *getname (), *adrsprintf (), *auxformat ();
68 struct mailname *getm ();
69
70 #define adrformat(m)    auxformat ((m), 1)
71
72 char   *LocalName (), *SystemName (), *UucpChan ();
73 char   *OfficialName ();
74 @
75
76
77 1.1
78 log
79 @Initial revision
80 @
81 text
82 @d34 1
83 a34 1
84 #endif  MHMTS
85 @