CommandParser_t

Contains information about a developer-defined console command parsing function

Service:NetWare Platform

Structure

  #include <netware.h>
  
  typedef struct 
  {
     void      *link;
     Parser_t   parser;
     rtag_t     rTag;
  } CommandParser_t;
  

Fields

link

Points to a value set and controlled by the operating system.

parser

Specifies a developer-defined parsing routine. For the prototype of this function, see Remarks.

rTag

Specifies a resource tag created by calling AllocateResourceTag with the signature parameter set to ConsoleCommandSignature.

Remarks

The parser function must conform to the following syntax.

  typedef int (
     *Parser_t)
     (
      scr_t         scrID,
      const char   *commandline);