29 |
#include <radiusd.h> |
#include <radiusd.h> |
30 |
|
|
31 |
static int logging_category = L_CAT(L_MAIN); |
static int logging_category = L_CAT(L_MAIN); |
32 |
static LIST /* of Channel*/ *chanlist; /* List of defined channels */ |
static RAD_LIST /* of Channel*/ *chanlist; /* List of defined channels */ |
33 |
|
|
34 |
static void log_to_channel(Channel *chan, int cat, int pri, |
static void log_to_channel(Channel *chan, int cat, int pri, |
35 |
char *buf1, char *buf2, char *buf3); |
char *buf1, char *buf2, char *buf3); |
385 |
} |
} |
386 |
|
|
387 |
void |
void |
388 |
register_category(int cat, int pri, LIST *clist) |
register_category(int cat, int pri, RAD_LIST *clist) |
389 |
{ |
{ |
390 |
struct category_closure clos; |
struct category_closure clos; |
391 |
|
|
451 |
int init; |
int init; |
452 |
int cat; |
int cat; |
453 |
int pri; |
int pri; |
454 |
LIST /* of Channel */ *clist; |
RAD_LIST /* of Channel */ *clist; |
455 |
int level; |
int level; |
456 |
} cat_def; |
} cat_def; |
457 |
|
|