#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/sysutmp.h>
#include <freeradius-devel/radutmp.h>
#include <pwd.h>
#include <sys/stat.h>
#include <ctype.h>
#include <sys/wait.h>
Go to the source code of this file.
|
static char * | dotime (time_t t) |
|
static char * | fullname (char *username) |
|
static char const * | hostname (char *buf, size_t buflen, uint32_t ipaddr) |
|
int | main (int argc, char **argv) |
|
static char const * | proto (int id, int porttype) |
|
pid_t | rad_fork (void) |
|
static void NEVER_RETURNS | usage (int status) |
|
Definition at line 77 of file radwho.c.
Data Fields |
char const * |
radutmp_fn |
|
static char* dotime |
( |
time_t |
t | ) |
|
|
static |
static char* fullname |
( |
char * |
username | ) |
|
|
static |
static char const* hostname |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
uint32_t |
ipaddr |
|
) |
| |
|
static |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
static char const* proto |
( |
int |
id, |
|
|
int |
porttype |
|
) |
| |
|
static |
char const* dict_dir = DICTDIR |
|
static |
Initial value:=
"Login Name What TTY When From Location"
Definition at line 38 of file radwho.c.
Initial value:=
"Login Port What When From Location"
Definition at line 41 of file radwho.c.
Main server configuration.
Definition at line 62 of file radwho.c.
Initial value:= {
}
#define PW_TYPE_FILE_INPUT
File matching value must exist, and must be readable.
#define CONF_PARSER_TERMINATOR
static struct radutmp_config_t radutmpconfig
#define FR_CONF_POINTER(_n, _t, _p)
Definition at line 81 of file radwho.c.
char const* progname = "radwho" |
|
static |
char const* radacct_dir = NULL |
char const* raddb_dir = RADDBDIR |
|
static |
char const* radlog_dir = NULL |
char const* radutmp_file = NULL |
|
static |