File: mx.h

package info (click to toggle)
fetchmail 6.4.16-4%2Bdeb11u1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 10,068 kB
  • sloc: ansic: 30,318; sh: 6,255; perl: 3,181; python: 2,212; yacc: 460; lex: 285; makefile: 251; awk: 124; lisp: 84; exp: 43; sed: 16
file content (23 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* mx.h -- name-to-preference association for MX records.
 * For license terms, see the file COPYING in this directory.
 */

#include "config.h"

#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif

struct mxentry
{
    char	*name;
    int		pref;
};

extern struct mxentry * getmxrecords(const char *);

#if !HAVE_DECL_H_ERRNO
extern int h_errno;
#endif

/* mx.h ends here */