Revision 12455,
930 bytes
checked in by danw, 26 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r12454,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | |
---|
2 | /* |
---|
3 | * addrsbr.h -- definitions for the address parsing system |
---|
4 | * |
---|
5 | * $Id: addrsbr.h,v 1.1.1.1 1999-02-07 18:14:06 danw Exp $ |
---|
6 | */ |
---|
7 | |
---|
8 | #define AD_HOST 1 /* getm(): lookup official hostname */ |
---|
9 | #define AD_NHST 0 /* getm(): do not lookup official name */ |
---|
10 | #define AD_NAME AD_NHST /* AD_HOST is TOO slow */ |
---|
11 | |
---|
12 | #define UUCPHOST (-1) |
---|
13 | #define LOCALHOST 0 |
---|
14 | #define NETHOST 1 |
---|
15 | #define BADHOST 2 |
---|
16 | |
---|
17 | struct mailname { |
---|
18 | struct mailname *m_next; |
---|
19 | char *m_text; |
---|
20 | char *m_pers; |
---|
21 | char *m_mbox; |
---|
22 | char *m_host; |
---|
23 | char *m_path; |
---|
24 | int m_type; |
---|
25 | char m_nohost; |
---|
26 | char m_bcc; |
---|
27 | int m_ingrp; |
---|
28 | char *m_gname; |
---|
29 | char *m_note; |
---|
30 | }; |
---|
31 | |
---|
32 | #define adrformat(m) auxformat ((m), 1) |
---|
33 | |
---|
34 | /* |
---|
35 | * prototypes |
---|
36 | */ |
---|
37 | void mnfree(struct mailname *); |
---|
38 | int ismymbox(struct mailname *); |
---|
39 | char *getname(char *); |
---|
40 | char *adrsprintf(char *, char *); |
---|
41 | char *auxformat(struct mailname *, int); |
---|
42 | struct mailname *getm(char *, char *, int, int, char *); |
---|
Note: See
TracBrowser
for help on using the repository browser.