TRIP Routing Daemon
TRIP (RFC 3219) Location Server Implementation
Loading...
Searching...
No Matches
commands.h File Reference

Commands. More...

#include "parser.h"
Include dependency graph for commands.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cmd_def_t

Typedefs

typedef int(* cmd_handler_t) (parser_t *parser, int no, char *args)

Functions

int cmd_end (parser_t *parser, int no, char *args)
 End configuration.
int cmd_exit (parser_t *parser, int no, char *args)
 Exit current context.
int cmd_help (parser_t *parser, int no, char *args)
 Contextual help.
int cmd_enable (parser_t *parser, int no, char *args)
 Enable configuration.
int cmd_disable (parser_t *parser, int no, char *args)
 Disable configuration.
int cmd_configure (parser_t *parser, int no, char *args)
 Enter configuration.
int cmd_show (parser_t *parser, int no, char *args)
 Show stuff.
int cmd_shutdown (parser_t *parser, int no, char *args)
 Terminate daemon.
int cmd_config_log (parser_t *parser, int no, char *args)
 Log file and level.
int cmd_config_bind (parser_t *parser, int no, char *args)
 Bind address.
int cmd_config_prefixlist (parser_t *parser, int no, char *args)
 Prefix list.
int cmd_config_trip (parser_t *parser, int no, char *args)
 TRIP routing context.
int cmd_config_prefixlist_prefix (parser_t *parser, int no, char *args)
 New prefix.
int cmd_config_trip_lsid (parser_t *parser, int no, char *args)
 Set Location Server ID.
int cmd_config_trip_timers (parser_t *parser, int no, char *args)
 Set timers.
int cmd_config_trip_peer (parser_t *parser, int no, char *args)
 Configure new peer.

Variables

const cmd_def_t cmds_root []
const cmd_def_t cmds_config []
const cmd_def_t cmds_prefixlist []
const cmd_def_t cmds_trip []
const cmd_def_tctx_cmds []

Detailed Description

Commands.