luksrku/blacklist.h

18 lines
360 B
C
Raw Normal View History

2016-09-22 20:40:58 +02:00
#ifndef __BLACKLIST_H__
#define __BLACKLIST_H__
#include <stdint.h>
#include <stdbool.h>
struct blacklist_entry_t {
uint32_t ip;
double entered;
};
/*************** AUTO GENERATED SECTION FOLLOWS ***************/
void blacklist_ip(uint32_t ip);
bool is_ip_blacklisted(uint32_t ip);
/*************** AUTO GENERATED SECTION ENDS ***************/
#endif