rdmcmdlineapi.h File Reference

Header for command line parsing API. More...

#include "psptypes.h"
Include dependency graph for rdmcmdlineapi.h:
This graph shows which files directly or indirectly include 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_CMDLINERDM_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_T * rdm_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.

Macro Definition Documentation

RDM_CMDLINE

RDM_CMDLINE_OPT

#define RDM_CMDLINE_OPT RDM_CMDLINE_OPT