cmd_info Struct Reference
[Kernel console]


Public Member Functions

 SPINLOCK_DECLARE (lock)

Data Fields

link_t link
const char * name
const char * description
int(* func )(cmd_arg_t *)
count_t argc
cmd_arg_targv
void(* help )(void)

Detailed Description

Structure representing one kconsole command.

Definition at line 62 of file kconsole.h.


Member Function Documentation

SPINLOCK_DECLARE lock   ) 
 

This lock protects everything below.


Field Documentation

count_t argc
 

Number of arguments.

Definition at line 68 of file kconsole.h.

Referenced by parse_cmdline().

cmd_arg_t* argv
 

Argument vector.

Definition at line 69 of file kconsole.h.

Referenced by kconsole().

const char* description
 

Textual description.

Definition at line 66 of file kconsole.h.

Referenced by cmd_desc(), and cmd_help().

int(* func)(cmd_arg_t *)
 

Function implementing the command.

Referenced by kconsole().

void(* help)(void)
 

Function for printing detailed help.

Referenced by cmd_desc().

link_t link
 

Command list link.

Definition at line 63 of file kconsole.h.

Referenced by cmd_initialize(), and cmd_register().

const char* name
 

Command name.

Definition at line 65 of file kconsole.h.

Referenced by cmd_desc(), cmd_help(), cmd_register(), kconsole(), and parse_cmdline().


Generated on Sun Jun 18 17:30:31 2006 for HelenOS Kernel (ppc64) by  doxygen 1.4.6