ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/auth.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/auth.c (file contents):
Revision 7925 by michael, Sat Dec 31 13:57:24 2016 UTC vs.
Revision 7954 by michael, Sat Mar 4 19:37:07 2017 UTC

# Line 80 | Line 80 | static const char *const HeaderMessages[
80   #define sendheader(c, i) sendto_one_notice((c), &me, "%s", HeaderMessages[(i)])
81  
82   static dlink_list auth_list;
83 < static void read_auth_reply(fde_t *, void *);
83 > static void auth_read_reply(fde_t *, void *);
84   static void auth_connect_callback(fde_t *, int, void *);
85  
86  
# Line 255 | Line 255 | start_auth_query(struct AuthRequest *aut
255   }
256  
257   /*
258 < * start_auth
258 > * auth_start
259   *
260   * inputs       - pointer to client to auth
261   * output       - NONE
262   * side effects - starts auth (identd) and dns queries for a client
263   */
264   void
265 < start_auth(struct Client *client_p)
265 > auth_start(struct Client *client_p)
266   {
267    struct AuthRequest *const auth = make_auth_request(client_p);
268  
# Line 366 | Line 366 | auth_connect_callback(fde_t *fd, int err
366      return;
367    }
368  
369 <  comm_setselect(fd, COMM_SELECT_READ, read_auth_reply, auth, 0);
369 >  comm_setselect(fd, COMM_SELECT_READ, auth_read_reply, auth, 0);
370   }
371  
372   /** Enum used to index ident reply fields in a human-readable way. */
# Line 460 | Line 460 | check_ident_reply(char *const reply)
460   }
461  
462   /*
463 < * read_auth_reply - read the reply (if any) from the ident server
463 > * auth_read_reply - read the reply (if any) from the ident server
464   * we connected to.
465   * We only give it one shot, if the reply isn't good the first time
466   * fail the authentication entirely. --Bleep
467   */
468   static void
469 < read_auth_reply(fde_t *fd, void *data)
469 > auth_read_reply(fde_t *fd, void *data)
470   {
471    struct AuthRequest *const auth = data;
472    const char *username = NULL;
# Line 500 | Line 500 | read_auth_reply(fde_t *fd, void *data)
500   }
501  
502   /*
503 < * delete_auth()
503 > * auth_delete()
504   */
505   void
506 < delete_auth(struct AuthRequest *auth)
506 > auth_delete(struct AuthRequest *auth)
507   {
508    if (IsDNSPending(auth))
509      delete_resolver_queries(auth);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines