X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flibippool%2Fip_pool_support.h;fp=include%2Flibippool%2Fip_pool_support.h;h=0000000000000000000000000000000000000000;hb=782ed68bce7c9b3cc29eb4351ec13ede40a7ee49;hp=4a87f026e8797d7949baa5c11fe27fa14addf81f;hpb=2e293f94e43325cb8cc719e27b43e647842c046d;p=iptables.git diff --git a/include/libippool/ip_pool_support.h b/include/libippool/ip_pool_support.h deleted file mode 100644 index 4a87f02..0000000 --- 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 -#include -#include - -#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*/