98 |
void (*xmit)(REQUEST *r); /* Retransmit function */ |
void (*xmit)(REQUEST *r); /* Retransmit function */ |
99 |
int (*comp)(void *a, void *b); /* Compare function */ |
int (*comp)(void *a, void *b); /* Compare function */ |
100 |
void (*free)(void *data); /* Free the associated data */ |
void (*free)(void *data); /* Free the associated data */ |
101 |
void (*drop)(int type, void *data, void *old_data, int fd, char *msg); |
void (*drop)(int type, void *data, void *old_data, int fd, |
102 |
/* Drop the request */ |
const char *msg); /* Drop the request */ |
103 |
void (*cleanup)(int type, void *data);/* Cleanup function */ |
void (*cleanup)(int type, void *data);/* Cleanup function */ |
104 |
int (*failure)(int type, struct sockaddr_in *addr); |
int (*failure)(int type, struct sockaddr_in *addr); |
105 |
void (*update)(void *req, void *ptr); |
void (*update)(void *req, void *ptr); |
323 |
int input_select(INPUT *input, struct timeval *tv); |
int input_select(INPUT *input, struct timeval *tv); |
324 |
int input_select_channel(INPUT *input, char *name, struct timeval *tv); |
int input_select_channel(INPUT *input, char *name, struct timeval *tv); |
325 |
void *input_find_channel(INPUT *input, char *name, void *data); |
void *input_find_channel(INPUT *input, char *name, void *data); |
326 |
int input_iterate_channels(INPUT *input, char *name, list_iterator_t fun, |
void input_iterate_channels(INPUT *input, char *name, list_iterator_t fun, |
327 |
void *data); |
void *data); |
328 |
|
|
329 |
/* rpp.c */ |
/* rpp.c */ |
330 |
int rpp_ready(); |
int rpp_ready(); |
335 |
int rpp_input_close(int fd, void *data); |
int rpp_input_close(int fd, void *data); |
336 |
int rpp_kill(pid_t pid, int signo); |
int rpp_kill(pid_t pid, int signo); |
337 |
size_t rpp_count(); |
size_t rpp_count(); |
338 |
|
int rpp_update(void *data, size_t size); |
339 |
|
|
340 |
/* request.c */ |
/* request.c */ |
341 |
REQUEST *request_create(int type, int fd, struct sockaddr_in *sa, |
REQUEST *request_create(int type, int fd, struct sockaddr_in *sa, |
348 |
void *request_scan_list(int type, list_iterator_t itr, void *closure); |
void *request_scan_list(int type, list_iterator_t itr, void *closure); |
349 |
void request_set_status(pid_t pid, int status); |
void request_set_status(pid_t pid, int status); |
350 |
int request_stat_list(QUEUE_STAT stat); |
int request_stat_list(QUEUE_STAT stat); |
351 |
|
void request_update(pid_t pid, int status, void *ptr); |
352 |
|
|
353 |
/* radiusd.c */ |
/* radiusd.c */ |
354 |
int udp_input_handler(int fd, void *data); |
int udp_input_handler(int fd, void *data); |
355 |
int udp_input_close(int fd, void *data); |
int udp_input_close(int fd, void *data); |
372 |
int radiusd_master(); |
int radiusd_master(); |
373 |
void radiusd_set_preconfig_hook(void (*f)(void *, void *), void *p, int once); |
void radiusd_set_preconfig_hook(void (*f)(void *, void *), void *p, int once); |
374 |
void radiusd_set_postconfig_hook(void (*f)(void *, void *), void *p, int once); |
void radiusd_set_postconfig_hook(void (*f)(void *, void *), void *p, int once); |
375 |
|
void radiusd_register_input_fd(char *name, int fd, void *data); |
376 |
|
void radiusd_close_channel(int fd); |
377 |
|
|
378 |
/* exec.c */ |
/* exec.c */ |
379 |
int radius_exec_program(char *, RADIUS_REQ *, VALUE_PAIR **, int); |
int radius_exec_program(char *, RADIUS_REQ *, VALUE_PAIR **, int); |
384 |
extern struct cfg_stmt filters_stmt[]; |
extern struct cfg_stmt filters_stmt[]; |
385 |
|
|
386 |
/* scheme.c */ |
/* scheme.c */ |
387 |
void scheme_boot(); |
void scheme_main(); |
388 |
void scheme_load(char *filename); |
void scheme_load(char *filename); |
389 |
void scheme_load_path(char *pathname); |
void scheme_load_path(char *pathname); |
390 |
void scheme_debug(int val); |
void scheme_debug(int val); |
405 |
void *handler_data); |
void *handler_data); |
406 |
int logging_stmt_end(void *block_data, void *handler_data); |
int logging_stmt_end(void *block_data, void *handler_data); |
407 |
int logging_stmt_begin(int finish, void *block_data, void *handler_data); |
int logging_stmt_begin(int finish, void *block_data, void *handler_data); |
408 |
|
void format_exit_status(char *buffer, int buflen, int status); |
409 |
extern struct cfg_stmt logging_stmt[]; |
extern struct cfg_stmt logging_stmt[]; |
410 |
|
|
411 |
/* radius.c */ |
/* radius.c */ |
423 |
int radius_req_cmp(void *a, void *b); |
int radius_req_cmp(void *a, void *b); |
424 |
void radius_req_free(void *req); |
void radius_req_free(void *req); |
425 |
void radius_req_drop(int type, void *radreq, void *origreq, |
void radius_req_drop(int type, void *radreq, void *origreq, |
426 |
int fd, char *status_str); |
int fd, const char *status_str); |
427 |
void radius_req_xmit(REQUEST *request); |
void radius_req_xmit(REQUEST *request); |
428 |
int radius_req_failure(int type, struct sockaddr_in *addr); |
int radius_req_failure(int type, struct sockaddr_in *addr); |
429 |
void radius_req_update(void *req_ptr, void *data_ptr); |
void radius_req_update(void *req_ptr, void *data_ptr); |
439 |
#define PAM_DEFAULT_TYPE "radius" |
#define PAM_DEFAULT_TYPE "radius" |
440 |
|
|
441 |
/* proxy.c */ |
/* proxy.c */ |
|
int rad_proxy(REQUEST *req); |
|
|
void rad_proxy_free(RADIUS_REQ *req); |
|
442 |
int proxy_send(REQUEST *req); |
int proxy_send(REQUEST *req); |
443 |
int proxy_receive(RADIUS_REQ *radreq, RADIUS_REQ *oldreq, int activefd); |
int proxy_receive(RADIUS_REQ *radreq, RADIUS_REQ *oldreq, int activefd); |
444 |
void proxy_retry(RADIUS_REQ *radreq, int fd); |
void proxy_retry(RADIUS_REQ *radreq, int fd); |
445 |
|
int proxy_cmp(RADIUS_REQ *qr, RADIUS_REQ *r); |
446 |
|
|
447 |
/* menu.c */ |
/* menu.c */ |
448 |
#define MAX_PATH_LENGTH 256 |
#define MAX_PATH_LENGTH 256 |
530 |
int snmp_req_cmp(void *ap, void *bp); |
int snmp_req_cmp(void *ap, void *bp); |
531 |
void snmp_req_free(void *ptr); |
void snmp_req_free(void *ptr); |
532 |
void snmp_req_drop(int type, void *data, void *orig_data, |
void snmp_req_drop(int type, void *data, void *orig_data, |
533 |
int fd, char *status_str); |
int fd, const char *status_str); |
534 |
int snmp_req_respond(REQUEST *request); |
int snmp_req_respond(REQUEST *request); |
535 |
|
|
536 |
/* radutil.c */ |
/* radutil.c */ |