add blacklist_lookup_index proto

This commit is contained in:
Eric 2013-10-03 02:47:31 -04:00
parent 8ecbd038b5
commit 408e46d939

View File

@ -3,6 +3,7 @@
#ifndef _BLACKLIST_H #ifndef _BLACKLIST_H
#define _BLACKLIST_H #define _BLACKLIST_H
uint32_t blacklist_lookup_index(uint64_t index);
int blacklist_is_allowed(uint32_t s_addr); int blacklist_is_allowed(uint32_t s_addr);
void blacklist_prefix(char *ip, int prefix_len); void blacklist_prefix(char *ip, int prefix_len);
void whitelist_prefix(char *ip, int prefix_len); void whitelist_prefix(char *ip, int prefix_len);