summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/client.h3
-rw-r--r--include/s_auth.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/include/client.h b/include/client.h
index d50e0e3..b84fa0b 100644
--- a/include/client.h
+++ b/include/client.h
@@ -34,6 +34,7 @@
#include "ircd_defs.h"
#include "dbuf.h"
#include "channel.h"
+#include "s_auth.h"
/*
* status macros.
@@ -357,7 +358,7 @@ struct LocalUser
uint64_t bytes; /**< Statistics: total bytes sent/received */
} recv, send;
- struct AuthRequest *auth;
+ struct AuthRequest auth;
struct Listener *listener; /**< listener accepted from */
dlink_list acceptlist; /**< clients I'll allow to talk to me */
dlink_list watches; /**< chain of Watch pointer blocks */
diff --git a/include/s_auth.h b/include/s_auth.h
index 44a1246..4eb024d 100644
--- a/include/s_auth.h
+++ b/include/s_auth.h
@@ -25,8 +25,6 @@
#ifndef INCLUDED_s_auth_h
#define INCLUDED_s_auth_h
-#include "hook.h"
-
/*
* flag values for AuthRequest
* NAMESPACE: AM_xxx - Authentication Module
@@ -53,9 +51,8 @@ struct AuthRequest
time_t timeout; /* time when query expires */
};
-extern struct Callback *auth_cb;
-
extern void auth_init(void);
+extern void start_auth(struct Client *);
extern void send_auth_query(struct AuthRequest *);
extern void remove_auth_request(struct AuthRequest *);
extern void delete_auth(struct AuthRequest *);