File: addrsbr.h

package info (click to toggle)
mh 6.8.4-28
  • links: PTS
  • area: main
  • in suites: slink
  • size: 7,012 kB
  • ctags: 7,496
  • sloc: ansic: 75,211; sh: 3,112; lisp: 2,205; ml: 1,894; makefile: 724; perl: 482; csh: 150; tcl: 66; sed: 43; awk: 7
file content (46 lines) | stat: -rw-r--r-- 873 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* 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 */


struct mailname {
    struct mailname *m_next;

    char   *m_text,
           *m_pers,
           *m_mbox,
           *m_host,
	   *m_path;

    int     m_type;
#define	UUCPHOST	(-1)
#define	LOCALHOST	0
#define	NETHOST		1
#define	BADHOST		2

    char    m_nohost;

    char    m_bcc;

    int     m_ingrp;
    char   *m_gname;

    char   *m_note;

#ifdef	MHMTS
    char   *m_aka;
#endif /* MHMTS */
};


void	mnfree ();
int     ismymbox ();
char   *getname (), *adrsprintf (), *auxformat ();
struct mailname *getm ();

#define	adrformat(m)	auxformat ((m), 1)

char   *LocalName (), *SystemName (), *UucpChan ();
char   *OfficialName ();