summaryrefslogtreecommitdiff
path: root/ipalloc.h
blob: bf9d060b15a67cc1ddd5d7a7cf76921fdb3dad24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef IPALLOC_H
#define IPALLOC_H

#include "ip.h"

#ifdef TLS
# define IX_FQDN 1
#endif

#ifdef IX_FQDN
struct ip_mx { struct ip_address ip; int pref; char *fqdn; } ;
#else
struct ip_mx { struct ip_address ip; int pref; } ;
#endif

#include "gen_alloc.h"

GEN_ALLOC_typedef(ipalloc,struct ip_mx,ix,len,a)
extern int ipalloc_readyplus();
extern int ipalloc_append();

#endif