ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/auth.h
(Generate patch)

Comparing:
ircd-hybrid-7.2/include/s_auth.h (file contents), Revision 998 by michael, Sun Aug 23 12:43:17 2009 UTC vs.
ircd-hybrid/trunk/include/s_auth.h (file contents), Revision 1798 by michael, Sun Mar 31 17:09:50 2013 UTC

# Line 25 | Line 25
25   #ifndef INCLUDED_s_auth_h
26   #define INCLUDED_s_auth_h
27  
28 #include "irc_res.h"
28   #include "hook.h"
29  
31
32 struct Client;
33
34 struct AuthRequest
35 {
36  dlink_node          node;      /* auth_doing_list */
37  int                 flags;
38  struct Client*      client;    /* pointer to client struct for request */
39  fde_t               fd;        /* file descriptor for auth queries */
40  time_t              timeout;   /* time when query expires */
41 };
42
30   /*
31   * flag values for AuthRequest
32   * NAMESPACE: AM_xxx - Authentication Module
# Line 55 | Line 42 | struct AuthRequest
42   #define ClearAuth(x)         ((x)->flags &= ~AM_DOING_AUTH)
43   #define IsDoingAuth(x)       ((x)->flags &  AM_DOING_AUTH)
44  
45 + struct Client;
46 +
47 + struct AuthRequest
48 + {
49 +  dlink_node          node;      /* auth_doing_list */
50 +  int                 flags;
51 +  struct Client*      client;    /* pointer to client struct for request */
52 +  fde_t               fd;        /* file descriptor for auth queries */
53 +  time_t              timeout;   /* time when query expires */
54 + };
55 +
56   extern struct Callback *auth_cb;
57  
58 < extern void init_auth(void);
58 > extern void auth_init(void);
59   extern void send_auth_query(struct AuthRequest *);
60   extern void remove_auth_request(struct AuthRequest *);
61   extern void delete_auth(struct AuthRequest *);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)