Products Support Documentation Download
rdmcmdlineapi.h File Reference

Header for command line parsing API. More...

#include "psptypes.h"
#include "rdmretcodetypes.h"
Include dependency graph for rdmcmdlineapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RDM_CMDLINE_OPT_A
 Generic usage function option record. More...
 
struct  RDM_CMDLINE
 The buffer used by the command line parser to hold state information. More...
 

Macros

#define RDM_CMDLINE_OPT   RDM_CMDLINE_OPT
 
#define RDM_CMDLINE   RDM_CMDLINE
 

Functions

RDM_RETCODE rdm_cmdlineInit (RDM_CMDLINE *cmd, int32_t argc, const RDM_TCHAR_T *const argv[], const RDM_TCHAR_T *description, const RDM_CMDLINE_OPT *opts)
 Initialize an RDM_CMDLINE buffer and validate the command line. More...
 
const RDM_TCHAR_Trdm_cmdlineNextLongOption (RDM_CMDLINE *cmd, const RDM_TCHAR_T **arg)
 Get next option or argument. More...
 
RDM_TCHAR_T rdm_cmdlineNextShortOption (RDM_CMDLINE *cmd, const RDM_TCHAR_T **arg)
 Get next option or argument. More...
 

Detailed Description

Header for command line parsing API.

Definition in file rdmcmdlineapi.h.

Macro Definition Documentation

◆ RDM_CMDLINE

#define RDM_CMDLINE   RDM_CMDLINE

Definition at line 33 of file rdmcmdlineapi.h.

◆ RDM_CMDLINE_OPT

#define RDM_CMDLINE_OPT   RDM_CMDLINE_OPT

Definition at line 32 of file rdmcmdlineapi.h.