Revision ef070518
Von aquamaniac vor mehr als 21 Jahren hinzugefügt
src/base/args.h | ||
---|---|---|
#ifndef GWENHYWFAR_ARGS_H
|
||
#define GWENHYWFAR_ARGS_H
|
||
|
||
#include <gwenhywfar/gwenhywfarapi.h>
|
||
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
#endif
|
||
... | ... | |
}
|
||
#endif
|
||
|
||
#include <gwenhywfar/gwenhywfarapi.h>
|
||
#include <gwenhywfar/types.h>
|
||
#include <gwenhywfar/buffer.h>
|
||
#include <gwenhywfar/db.h>
|
||
... | ... | |
const char *name;
|
||
unsigned int minNum;
|
||
unsigned int maxNum;
|
||
unsigned int count;
|
||
const char *shortOption;
|
||
const char *longOption;
|
||
const char *shortDescription;
|
||
... | ... | |
int GWEN_Args_Check(int argc, char **argv,
|
||
int startAt,
|
||
GWEN_TYPE_UINT32 mode,
|
||
GWEN_ARGS *args,
|
||
const GWEN_ARGS *args,
|
||
GWEN_DB_NODE *db);
|
||
|
||
GWENHYWFAR_API
|
||
int GWEN_Args_Usage(GWEN_ARGS *args, GWEN_BUFFER *ubuf,
|
||
int GWEN_Args_Usage(const GWEN_ARGS *args, GWEN_BUFFER *ubuf,
|
||
GWEN_ARGS_OUTTYPE ot);
|
||
|
||
GWENHYWFAR_API
|
||
int GWEN_Args_ShortUsage(GWEN_ARGS *args, GWEN_BUFFER *ubuf,
|
||
int GWEN_Args_ShortUsage(const GWEN_ARGS *args, GWEN_BUFFER *ubuf,
|
||
GWEN_ARGS_OUTTYPE ot);
|
||
|
||
#ifdef __cplusplus
|
Auch abrufbar als: Unified diff
- changed GWEN_ARGS so that it can now be used as const. All functions
now accept "const GWEN_ARGS*" pointers.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@317 70169cfe-8b10-0410-8925-dcb4b91034d8