diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-06-15 13:44:37 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-06-15 13:44:37 +0000 |
commit | e6a066ac3e8fdf1fcd4f3f2ca1b82bd55eb2da2a (patch) | |
tree | d6a99e0065ab5d39b716a0d5272ef21055745e0c /include/bl.h | |
parent | 6fa63e1816f543db1c68320f442e30f95d8f9f78 (diff) |
Notes
Diffstat (limited to 'include/bl.h')
-rw-r--r-- | include/bl.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/bl.h b/include/bl.h index 68249cdf8230..b89a49d3eb60 100644 --- a/include/bl.h +++ b/include/bl.h @@ -35,12 +35,14 @@ #include <stdarg.h> #include <sys/param.h> #include <sys/socket.h> -#include "blacklist.h" +#include "blocklist.h" typedef enum { BL_INVALID, BL_ADD, - BL_DELETE + BL_DELETE, + BL_ABUSE, + BL_BADUSER } bl_type_t; typedef struct { @@ -56,12 +58,12 @@ typedef struct { #define bi_cred bi_u._bi_cred #ifndef _PATH_BLSOCK -#define _PATH_BLSOCK "/var/run/blacklistd.sock" +#define _PATH_BLSOCK "/var/run/blocklistd.sock" #endif __BEGIN_DECLS -typedef struct blacklist *bl_t; +typedef struct blocklist *bl_t; bl_t bl_create(bool, const char *, void (*)(int, const char *, va_list)); void bl_destroy(bl_t); |