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

#include "ip.h"

struct ip_mx {
  struct ip_address ip;
  int pref;
#ifdef TLS
  char *fqdn;
  unsigned short validated;
#endif
};

#include "gen_alloc.h"

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

#endif