Browse Source

* src/jail.h

master
Alex 'AdUser' Z 9 years ago
parent
commit
b45a79bff9
  1. 8
      src/jail.h

8
src/jail.h

@ -2,14 +2,18 @@
#define F2B_JAIL_H_ #define F2B_JAIL_H_
#include "logfile.h" #include "logfile.h"
#include "match.h" #include "ipaddr.h"
#define LOGLINE_MAX 2048 #define LOGLINE_MAX 2048
typedef struct f2b_jail_t { typedef struct f2b_jail_t {
char name[32]; char name[32];
f2b_match_t *matches; time_t bantime;
size_t tries;
char glob[PATH_MAX];
f2b_logfile_t *logfiles; f2b_logfile_t *logfiles;
f2b_ipaddr_t *pending;
f2b_ipaddr_t *banned;
}; };
#endif /* F2B_JAIL_H_ */ #endif /* F2B_JAIL_H_ */

Loading…
Cancel
Save