Products Support Documentation Download
rdmcmdlinetypes.h
Go to the documentation of this file.
1 /*
2  * Raima Database Manager
3  *
4  * Copyright (C) 2019 Raims Inc., All rights reserved.
5  *
6  * Use of this software, whether in source code format, or in executable,
7  * binary object code form, is governed by the Raima LICENSE which
8  * is fully described in the LICENSE.TXT file, included within this
9  * distribution of files.
10  */
11 
16 #include "psptypes.h"
17 
18 #if !defined (__RDMCMDLINETYPES_H_INCLUDED_)
19 #define __RDMCMDLINETYPES_H_INCLUDED_
20 
31 typedef struct
32 {
33  const char
43  const char *optLong;
50  const char
51  *arg;
68  const char *desc;
72 
73 #if defined(RDM_DOXYGEN)
74 
84 typedef struct
85 {
86 } RDM_CMDLINE;
87 #else
88 typedef struct _RDM_CMDLINE_DEFAULTS RDM_CMD_DEFAULTS;
89 
90 typedef struct
91 {
92  uint32_t ii;
93  uint32_t ii_next;
94  uint32_t kk;
95  uint32_t argument_ind_next;
96 
97  const RDM_CMDLINE_OPT *opts;
98  int32_t argc;
99  const char *const *argv;
100 
101  const char *banner;
102  const char *description;
103 
104  const RDM_CMD_DEFAULTS *defaults;
105 } RDM_CMDLINE;
106 #endif
107 
109 #endif /* __RDMCMDLINETYPES_H_INCLUDED_ */
Header for the Platform Support Package - Platform dependent types.
const char * desc
The buffer used by the command line parser to hold state information.
const char * optShort
const char * optLong
Generic usage function option record.
const char * arg