File: bindsmtpth.h

package info (click to toggle)
smail 3.2.0.102-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 4,228 kB
  • ctags: 3,924
  • sloc: ansic: 41,366; sh: 3,434; makefile: 2,349; awk: 689; perl: 598; yacc: 427; sed: 2
file content (26 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (4)
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
/* @(#) bindsmtpth.h,v 1.4 1992/07/11 11:48:01 tron Exp */

/*****************************************************************************
 * File Name:	 bindsmtpth.h
 * Description:	 Transport hint structure specific to BIND/SMTP
 * Author:	 Simon Leinen (simon@liasun6)
 * Date Created:  9-Jul-91
 ****************************************************************************/

#ifndef _bindsmtp_h_
#define _bindsmtp_h_

struct mx_transport_hint {
    int preference;			/* preference of exchanger */
    char *exchanger;			/* hostname of exchanger */
    int implicit;			/* hint generated because no MX found */
    struct ipaddr_hint *ipaddrs;	/* chain of IP addrs */
};

struct ipaddr_hint {
    struct ipaddr_hint *succ;
    char *hostname;
    struct in_addr addr;
};

#endif /* not _bindsmtp_h_ */