#include "macros.h"
#include "mc_platform.h"
#include "commands.x.h"
Go to the source code of this file.
Defines | |
#define | COMMAND(name, cmd, desc) int handler_##name (void *arg, mc_platform_p global); |
#define | COMMAND(name, cmd, description) COMMAND_##name , |
#define | COMMAND(name, cmd, description) &handler_##name , |
#define | COMMAND(name, cmd, description) description , |
#define | COMMAND(name, cmd, description) cmd , |
Typedefs | |
typedef int(* | cmd_handler_t )(void *, mc_platform_p global) |
Enumerations | |
enum | command_indices_e |
Functions | |
COMMAND (QUIT,"quit","This command ends the MobileC application.") COMMAND(HELP | |
This command displays help for any command Usage This command sends an agent XML file to a host Usage This command prints the list entries in the connectList | COMMAND (PRINTLIST_MESSAGE,"printlist_message","This command prints all the list entries on the linked list:\n \ message_queue") COMMAND(PRINTLIST_AGENTS |
This command displays help for any command Usage This command sends an agent XML file to a host Usage This command prints the list entries in the connectList This command prints all the agents on the system which are still n on the agent list n | COMMAND (FLUSH_AGENTS,"flush_agents","This command flushes all of the agents on the system which are still\n\ on the agent list.\n") COMMAND(COMPOSE_SEND |
Variables | |
cmd_handler_t | cmd_handlers [] |
char * | command_descriptions [] |
char * | command_cmds [] |
#define COMMAND | ( | name, | |||
cmd, | |||||
description | ) | cmd , |
Definition at line 48 of file commands.h.
#define COMMAND | ( | name, | |||
cmd, | |||||
description | ) | description , |
Definition at line 48 of file commands.h.
#define COMMAND | ( | name, | |||
cmd, | |||||
description | ) | &handler_##name , |
Definition at line 48 of file commands.h.
#define COMMAND | ( | name, | |||
cmd, | |||||
description | ) | COMMAND_##name , |
Definition at line 48 of file commands.h.
#define COMMAND | ( | name, | |||
cmd, | |||||
desc | ) | int handler_##name (void *arg, mc_platform_p global); |
Definition at line 48 of file commands.h.
typedef int(* cmd_handler_t)(void *, mc_platform_p global) |
Definition at line 45 of file commands.h.
enum command_indices_e |
Definition at line 47 of file commands.h.
This command displays help for any command Usage This command sends an agent XML file to a host Usage This command prints the list entries in the connectList This command prints all the agents on the system which are still n on the agent list n command_indices_e::COMMAND | ( | FLUSH_AGENTS | , | |
"flush_agents" | , | |||
"This command flushes all of the agents on the system which are still\n\ on the agent list.\n" | ||||
) |
This command displays help for any command Usage This command sends an agent XML file to a host Usage This command prints the list entries in the connectList command_indices_e::COMMAND | ( | PRINTLIST_MESSAGE | , | |
"printlist_message" | , | |||
"This command prints all the list entries on the linked list:\n \ message_queue" | ||||
) |
command_indices_e::COMMAND | ( | QUIT | , | |
"quit" | , | |||
"This command ends the MobileC application." | ||||
) |
Definition at line 54 of file commands.h.
Referenced by exec_command().
char* command_cmds[] |
Definition at line 68 of file commands.h.
Referenced by handler_HELP(), and process_command().
char* command_descriptions[] |
Definition at line 61 of file commands.h.
Referenced by handler_COMPOSE_SEND(), handler_HELP(), and handler_SEND().