/home/dko/projects/mobilec/trunk/src/include/commands.h File Reference

#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 { COMMAND }

Variables

cmd_handler_t cmd_handlers []
char * command_descriptions []
char * command_cmds []


Define Documentation

#define COMMAND ( name,
cmd,
description   )     cmd ,

Definition at line 38 of file commands.h.

#define COMMAND ( name,
cmd,
description   )     description ,

Definition at line 38 of file commands.h.

#define COMMAND ( name,
cmd,
description   )     &handler_##name ,

Definition at line 38 of file commands.h.

#define COMMAND ( name,
cmd,
description   )     COMMAND_##name ,

Definition at line 38 of file commands.h.

#define COMMAND ( name,
cmd,
desc   )     int handler_##name (void *arg, mc_platform_p global);

Definition at line 38 of file commands.h.


Typedef Documentation

typedef int(* cmd_handler_t)(void *, mc_platform_p global)

Definition at line 42 of file commands.h.


Enumeration Type Documentation

enum command_indices_e

Enumerator:
COMMAND 

Definition at line 44 of file commands.h.


Variable Documentation

cmd_handler_t cmd_handlers[]

Definition at line 51 of file commands.h.

char* command_cmds[]

Definition at line 177 of file commands.h.

Referenced by process_command().

char* command_descriptions[]

Definition at line 114 of file commands.h.


Generated on Fri May 16 14:49:55 2008 for Mobile-C by  doxygen 1.5.4