s/qmail 4.3.21
Next generation secure email transport
Loading...
Searching...
No Matches
ipalloc.h
Go to the documentation of this file.
1#ifndef IPALLOC_H
2#define IPALLOC_H
3
4#include "ip.h"
5#include "genalloc.h"
6#define NAME_LEN 256
7
8struct ip_mx {
9 unsigned short af;
10 union {
11 struct ip4_address ip4;
12 struct ip6_address ip6;
14 int pref;
16};
17
18GEN_ALLOC_typedef(ipalloc,struct ip_mx,ix,len,a)
19int ipalloc_readyplus();
21
22#endif
GEN_ALLOC_typedef(ipalloc, struct ip_mx, ix, len, a) int ipalloc_readyplus()
#define NAME_LEN
Definition ipalloc.h:6
int ipalloc_append()
stralloc addr
Definition ipalloc.h:8
char mxh[NAME_LEN]
Definition ipalloc.h:15
struct ip6_address ip6
Definition ipalloc.h:12
struct ip4_address ip4
Definition ipalloc.h:11
int pref
Definition ipalloc.h:14
unsigned short af
Definition ipalloc.h:9