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 |
|
|
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 |
|
|
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. */ |
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; |
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); |