summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/client.h3
-rw-r--r--include/hostmask.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/include/client.h b/include/client.h
index f8affb4..92fbddc 100644
--- a/include/client.h
+++ b/include/client.h
@@ -36,6 +36,8 @@
#include "channel.h"
#include "s_auth.h"
+struct MaskItem;
+
/*
* status macros.
*/
@@ -461,6 +463,7 @@ extern struct split_nuh_item *find_accept(const char *, const char *,
extern void del_accept(struct split_nuh_item *, struct Client *);
extern void del_all_accepts(struct Client *);
extern void exit_client(struct Client *, struct Client *, const char *);
+extern void conf_try_ban(struct Client *, struct MaskItem *);
extern void check_conf_klines(void);
extern void client_init(void);
extern void dead_link_on_write(struct Client *, int);
diff --git a/include/hostmask.h b/include/hostmask.h
index a8dc7c1..2275c27 100644
--- a/include/hostmask.h
+++ b/include/hostmask.h
@@ -72,7 +72,7 @@ extern int match_ipv4(const struct irc_ssaddr *, const struct irc_ssaddr *, int)
extern void mask_addr(struct irc_ssaddr *, int);
extern void init_host_hash(void);
-extern void add_conf_by_address(const unsigned int, struct MaskItem *);
+extern struct AddressRec *add_conf_by_address(const unsigned int, struct MaskItem *);
extern void delete_one_address_conf(const char *, struct MaskItem *);
extern void clear_out_address_conf(void);
extern void hostmask_expire_temporary(void);