Data Structures | Defines | Functions

cr_fifo.h File Reference

Functions for modifying routing data via fifo commands. More...

#include "../../lib/kmi/mi.h"
Include dependency graph for cr_fifo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

Defines

Functions


Detailed Description

Definition in file cr_fifo.h.


Function Documentation

struct mi_root* activate_host ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 400 or 500 on failure

Definition at line 273 of file cr_fifo.c.

References fifo_opt::cmd, get_fifo_opts(), opt_settings, print_fifo_err(), fifo_opt::status, and update_route_data().

Here is the call graph for this function:

struct mi_root* add_host ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 400 or 500 on failure

Definition at line 317 of file cr_fifo.c.

References fifo_opt::cmd, get_fifo_opts(), opt_settings, print_fifo_err(), fifo_opt::status, and update_route_data().

Here is the call graph for this function:

struct mi_root* deactivate_host ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 400 or 500 on failure

Definition at line 229 of file cr_fifo.c.

References fifo_opt::cmd, get_fifo_opts(), opt_settings, print_fifo_err(), fifo_opt::status, and update_route_data().

Here is the call graph for this function:

struct mi_root* delete_host ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 400 or 500 on failure

Definition at line 357 of file cr_fifo.c.

References fifo_opt::cmd, get_fifo_opts(), opt_settings, print_fifo_err(), and update_route_data().

Here is the call graph for this function:

struct mi_root* dump_fifo ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 400 or 500 on failure

Definition at line 125 of file cr_fifo.c.

References route_data_t::carrier_num, route_data_t::carriers, carrier_data_t::domain_num, carrier_data_t::domains, dump_tree_recursor(), get_data(), domain_data_t::id, carrier_data_t::id, _str::len, domain_data_t::name, carrier_data_t::name, release_data(), _str::s, and domain_data_t::tree.

Here is the call graph for this function:

struct mi_root* reload_fifo ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 500 on failure

Definition at line 104 of file cr_fifo.c.

References reload_route_data().

Here is the call graph for this function:

struct mi_root* replace_host ( struct mi_root *  cmd_tree,
void *  param 
) [read]
Parameters:
cmd_tree the MI command tree
param the parameter
Returns:
code 200 on success, code 400 or 500 on failure

Definition at line 185 of file cr_fifo.c.

References fifo_opt::cmd, get_fifo_opts(), opt_settings, print_fifo_err(), fifo_opt::status, and update_route_data().

Here is the call graph for this function: