Administration tools.
More...
#include <freeradius-devel/server/command.h>
#include <freeradius-devel/server/main_config.h>
Go to the source code of this file.
|
void | fr_radmin_complete (FILE *fp, const char *text, int start) |
|
void | fr_radmin_help (FILE *fp, char const *text) |
|
int | fr_radmin_register (TALLOC_CTX *talloc_ctx, char const *name, void *ctx, fr_cmd_table_t *table) |
|
int | fr_radmin_run (fr_cmd_info_t *info, FILE *fp, FILE *fp_err, char *command, bool read_only) |
| Run a command from an input string. More...
|
|
int | fr_radmin_start (main_config_t *config, bool cli) |
|
void | fr_radmin_stop (void) |
|
Administration tools.
- Id
- 3e37f74ef5fb9904217d4d5a722128c3181f288b
- Copyright
- 2018 The FreeRADIUS server project
-
2018 Alan DeKok (aland.nosp@m.@fre.nosp@m.eradi.nosp@m.us.o.nosp@m.rg)
Definition in file radmin.h.
◆ FR_RADMIN_PORT
◆ fr_radmin_complete()
void fr_radmin_complete |
( |
FILE * |
fp, |
|
|
const char * |
text, |
|
|
int |
start |
|
) |
| |
◆ fr_radmin_help()
void fr_radmin_help |
( |
FILE * |
fp, |
|
|
char const * |
text |
|
) |
| |
◆ fr_radmin_register()
int fr_radmin_register |
( |
TALLOC_CTX * |
talloc_ctx, |
|
|
char const * |
name, |
|
|
void * |
ctx, |
|
|
fr_cmd_table_t * |
table |
|
) |
| |
◆ fr_radmin_run()
int fr_radmin_run |
( |
fr_cmd_info_t * |
info, |
|
|
FILE * |
fp, |
|
|
FILE * |
fp_err, |
|
|
char * |
str, |
|
|
bool |
read_only |
|
) |
| |
Run a command from an input string.
- Parameters
-
info | used to stor |
fp | standard output |
fp_err | error output |
str | the command to run. Note that this command is mangled in-place! |
read_only | permissions for the administrator trying to run the command. |
- Returns
- <0 on error
- 0 on insufficient arguments to run command
- 1 for successfully running the command
Definition at line 1135 of file radmin.c.
◆ fr_radmin_start()
◆ fr_radmin_stop()
void fr_radmin_stop |
( |
void |
| ) |
|