FLAMCLE/P-API
Command Line Executor/Parser Application Programming Interface
FLAMCLE.h
Go to the documentation of this file.
1 
32 #ifdef __cplusplus
33  extern "C" {
34 #endif
35 
36 #ifndef INC_FLAMCLE_H
37 #define INC_FLAMCLE_H
38 
40 #include "CLEDEF.h"
41 
43 #ifdef __HOSTSHORTING__
44 # define pcCleVersion FLCLEVSN
45 # define pcCleAbout FLCLEABO
46 # define siCleExecute FLCLEEXE
47 #endif
48 
73 extern const char* pcCleVersion(const int l, const int s, char* b);
74 
92 extern const char* pcCleAbout(const int l, const int s, char* b);
93 
177 extern int siCleExecute(
178  void* pvGbl,
179  const TsCleCommand* psCmd,
180  int argc,
181  char* argv[],
182  const char* pcOwn,//
183  const char* pcPgm,//
184  const char* pcAut,//
185  const char* pcAdr,//
186  const int isCas,//
187  const int isPfl,//
188  const int isRpl,//
189  const int isEnv,
190  const int siMkl,//
191  FILE* pfOut,
192  FILE* pfTrc,
193  const char* pcDep,//
194  const char* pcOpt,//
195  const char* pcEnt,//
196  const char* pcLic,
197  const char* pcBld,//
198  const char* pcVsn,//
199  const char* pcAbo,//
200  const char* pcHlp,//
201  const char* pcDef,
202  TfMsg* pfMsg,//
203  const TsCleOtherClp* psOth,//
204  void* pvF2S,//
205  TfF2S* pfF2S,//
206  void* pvSaf,//
207  TfSaf* pfSaf,//
208  const char* pcDpa,//
209  const int siNoR,
210  const TsCleDoc* psDoc);
212 /**********************************************************************/
215 extern int siCleParseString(
216  const int uiErr,
217  char* pcErr,
218  const int isCas,
219  const int isPfl,
220  const int isRpl,
221  const int siMkl,
222  const char* pcOwn,
223  const char* pcPgm,
224  const char* pcBld,
225  const char* pcCmd,
226  const char* pcMan,
227  const char* pcHlp,
228  const int isOvl,
229  const char* pcStr,
230  const TsClpArgument* psCmd,
231  const char* pcDep,
232  const char* pcOpt,
233  const char* pcEnt,
234  int* piMod,
235  void* pvDat,
236  void* pvGbl,
237  void* pvF2S,
238  TfF2S* pfF2S,
239  void* pvSaf,
240  TfSaf* pfSaf,
241  void** ppClp);
242 
243 /**********************************************************************/
244 
245 #endif /*INC_FLAMCLE_H*/
246 
247 #ifdef __cplusplus
248 }
249 #endif
250 
CleDoc
CLE Structure for documentation table.
Definition: CLEDEF.h:107
pcCleVersion
const char * pcCleVersion(const int l, const int s, char *b)
Get CLE-version information.
CleOtherClp
CLE table structure for other CLP strings.
Definition: CLEDEF.h:448
CleCommand
CLE structure for command table.
Definition: CLEDEF.h:382
TfF2S
int() TfF2S(void *pvGbl, void *pvHdl, const char *pcFil, char **ppBuf, int *piBuf, char *pcMsg, const int siMsg)
Type definition for string to file call back function.
Definition: CLPDEF.h:466
TfSaf
int() TfSaf(void *pvGbl, void *pvHdl, const char *pcVal)
Type definition for resource access check.
Definition: CLPDEF.h:486
TfMsg
const char *() TfMsg(const int siRsn)
Type definition for the CLE message function.
Definition: CLEDEF.h:365
CLEDEF.h
Definitions for Command Line Execution.
pcCleAbout
const char * pcCleAbout(const int l, const int s, char *b)
Get about CLE-information.
ClpArgument
Table structure for arguments.
Definition: CLPDEF.h:271
siCleExecute
int siCleExecute(void *pvGbl, const TsCleCommand *psCmd, int argc, char *argv[], const char *pcOwn, const char *pcPgm, const char *pcAut, const char *pcAdr, const int isCas, const int isPfl, const int isRpl, const int isEnv, const int siMkl, FILE *pfOut, FILE *pfTrc, const char *pcDep, const char *pcOpt, const char *pcEnt, const char *pcLic, const char *pcBld, const char *pcVsn, const char *pcAbo, const char *pcHlp, const char *pcDef, TfMsg *pfMsg, const TsCleOtherClp *psOth, void *pvF2S, TfF2S *pfF2S, void *pvSaf, TfSaf *pfSaf, const char *pcDpa, const int siNoR, const TsCleDoc *psDoc)
Execute CLE-command line.