#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/cf_parse.h>
#include <freeradius-devel/server/radutmp.h>
#include <freeradius-devel/server/sysutmp.h>
#include <freeradius-devel/util/conf.h>
#include <pwd.h>
#include <sys/stat.h>
#include <ctype.h>
Go to the source code of this file.
◆ radutmp_config_t
Definition at line 55 of file radwho.c.
Data Fields |
char const * |
radutmp_fn |
|
◆ dotime()
static char* dotime |
( |
time_t |
t | ) |
|
|
static |
◆ fullname()
static char* fullname |
( |
char * |
username | ) |
|
|
static |
◆ hostname()
static char const* hostname |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
uint32_t |
ipaddr |
|
) |
| |
|
static |
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ proto()
static char const* proto |
( |
int |
id, |
|
|
int |
porttype |
|
) |
| |
|
static |
◆ usage()
◆ eol
◆ hdr1
Initial value:=
"Login Name What TTY When From Location"
Definition at line 41 of file radwho.c.
◆ hdr2
Initial value:=
"Login Port What When From Location"
Definition at line 44 of file radwho.c.
◆ module_config
Initial value:= {
}
#define CONF_PARSER_TERMINATOR
#define FR_CONF_POINTER(_name, _type, _flags, _res_p)
conf_parser_t which parses a single CONF_PAIR producing a single global result
@ CONF_FLAG_FILE_INPUT
File matching value must exist, and must be readable.
@ FR_TYPE_STRING
String of printable characters.
static struct radutmp_config_t radutmpconfig
Definition at line 59 of file radwho.c.
◆ progname
char const* progname = "radwho" |
|
static |
◆ radutmp_file
char const* radutmp_file = NULL |
|
static |
◆ radutmpconfig
◆ showcid
◆ showname
◆ showptype