diff options
author | Harald Welte <laforge@gnumonks.org> | 2006-02-01 12:42:52 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2006-02-01 12:42:52 +0000 |
commit | 38315b13504714f48e90363b62de2def0b05e9b8 (patch) | |
tree | b719df39157ab661d325860e65a38c0a7167deab /include/libippool/ip_pool_support.h | |
parent | 26441e78a8c6d4eaae7690d358601ba95d297242 (diff) |
remove other bits of old ip pool code, people should use ipset (ipset.netfilter.org) these days
Diffstat (limited to 'include/libippool/ip_pool_support.h')
-rw-r--r-- | include/libippool/ip_pool_support.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/libippool/ip_pool_support.h b/include/libippool/ip_pool_support.h deleted file mode 100644 index 4a87f026..00000000 --- a/include/libippool/ip_pool_support.h +++ /dev/null @@ -1,26 +0,0 @@ -/* support function prototypes for IP pool management (config file, mostly) */ -#ifndef _IP_POOL_SUPPORT_H -#define _IP_POOL_SUPPORT_H - -#include <iptables.h> -#include <linux/netfilter_ipv4/ip_conntrack.h> -#include <linux/netfilter_ipv4/ip_pool.h> - -#ifndef IPPOOL_CONF -#define IPPOOL_CONF "/etc/ippool.conf" -#endif - -/* called just to draw in this support .o */ -void ip_pool_init(void); - -/* given a pool name (or number), return pool index, possibly reading .conf */ -ip_pool_t ip_pool_get_index(char *name); - -/* given a pool index, and a buffer to store a name, search for the index - * in the .conf file, and give the textual name, if present; if not, the - * numeric index is returned. If numeric_flag == 1, the numeric index is - * always returned - */ -char *ip_pool_get_name(char *buf, int size, ip_pool_t index, int numeric_flag); - -#endif /*_IP_POOL_SUPPORT_H*/ |