nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

ipalloc.h (415B)


      1 #ifndef IPALLOC_H
      2 #define IPALLOC_H
      3 
      4 #include "ip.h"
      5 
      6 struct ip_mx { struct ip_address ip; int pref; } ;
      7 struct ip6_mx { struct ip6_address ip; int pref; } ;
      8 
      9 #include "gen_alloc.h"
     10 
     11 GEN_ALLOC_typedef(ipalloc,struct ip_mx,ix,len,a)
     12 GEN_ALLOC_typedef(ip6alloc,struct ip6_mx,ix,len,a)
     13 extern int ipalloc_readyplus();
     14 extern int ipalloc_append();
     15 extern int ip6alloc_readyplus();
     16 extern int ip6alloc_append();
     17 
     18 #endif