#include <stdint.h>
Go to the source code of this file.
|
| static void * | _free (const void *p) |
| | Wrapper to free(3), hides const compilation noise, permit NULL, return NULL. More...
|
| |
| void | poptJlu32lpair (const void *key, size_t size, uint32_t *pc, uint32_t *pb) |
| |
| int | POPT_fprintf (FILE *stream, const char *format,...) |
| |
| const char * | POPT_prev_char (const char *str) |
| |
| const char * | POPT_next_char (const char *str) |
| |
◆ __PBM_BITS
| #define __PBM_BITS |
( |
|
set | ) |
((set)->bits) |
◆ __PBM_IX
◆ __PBM_MASK
◆ __PBM_NBITS
◆ CBF_ISSET
| #define CBF_ISSET |
( |
|
_opt, |
|
|
|
_FLAG |
|
) |
| ((_opt)->argInfo & POPT_CBFLAG_##_FLAG) |
◆ D_
| #define D_ |
( |
|
dom, |
|
|
|
str |
|
) |
| str |
◆ F_ISSET
| #define F_ISSET |
( |
|
_opt, |
|
|
|
_FLAG |
|
) |
| ((_opt)->argInfo & POPT_ARGFLAG_##_FLAG) |
◆ LF_ISSET
| #define LF_ISSET |
( |
|
_FLAG | ) |
(argInfo & POPT_ARGFLAG_##_FLAG) |
◆ N_
◆ PBM_ALLOC
◆ PBM_CLR
◆ PBM_FREE
| #define PBM_FREE |
( |
|
s | ) |
_free(s); |
◆ PBM_ISSET
◆ PBM_SET
◆ POPT_
◆ poptArgType
| #define poptArgType |
( |
|
_opt | ) |
((_opt)->argInfo & _poptArgMask) |
◆ poptGroup
◆ poptSubstituteHelpI18N
| #define poptSubstituteHelpI18N |
( |
|
opt | ) |
|
Value: { \
}
struct poptOption poptHelpOptions[]
Auto help table options.
struct poptOption * poptHelpOptionsI18N
Definition at line 94 of file poptint.h.
◆ __pbm_bits
◆ poptArg
A union to simplify opt->arg access without casting.
◆ poptArgv
◆ poptString
Typedef's for string and array of strings.
Definition at line 55 of file poptint.h.
◆ _free()
| static void* _free |
( |
const void * |
p | ) |
|
|
inlinestatic |
Wrapper to free(3), hides const compilation noise, permit NULL, return NULL.
- Parameters
-
- Return values
-
Definition at line 20 of file poptint.h.
Referenced by cleanOSE(), findProgramPath(), poptFreeContext(), poptFreeItems(), poptGetNextOpt(), poptResetContext(), poptSaveBits(), poptSetExecPath(), poptSetOtherOptionHelp(), singleOptionDefaultValue(), and singleOptionHelp().
◆ POPT_fprintf()
| int POPT_fprintf |
( |
FILE * |
stream, |
|
|
const char * |
format, |
|
|
|
... |
|
) |
| |
◆ POPT_next_char()
| const char* POPT_next_char |
( |
const char * |
str | ) |
|
◆ POPT_prev_char()
| const char* POPT_prev_char |
( |
const char * |
str | ) |
|
◆ poptJlu32lpair()
| void poptJlu32lpair |
( |
const void * |
key, |
|
|
size_t |
size, |
|
|
uint32_t * |
pc, |
|
|
uint32_t * |
pb |
|
) |
| |
◆ _poptArgMask
| unsigned int _poptArgMask |
|
extern |
◆ _poptGroupMask
| unsigned int _poptGroupMask |
|
extern |