poptArg_u(3)

poptArg_u(3) popt poptArg_u(3)

NAME

poptArg_u - A union to simplify opt->arg access without casting.

SYNOPSIS

#include <src/poptint.h>

Data Fields


void * ptr
int * intp
short * shortp
long * longp
long long * longlongp
float * floatp
double * doublep
const char ** argv
poptCallbackType cb
poptOption opt

Detailed Description

A union to simplify opt->arg access without casting.

Definition at line 54 of file poptint.h.

Field Documentation

const char** poptArg_u::argv

Definition at line 62 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

poptCallbackType poptArg_u::cb

Definition at line 63 of file poptint.h.

Referenced by findOption(), invokeCallbacksOPTION(), invokeCallbacksPOST(), and invokeCallbacksPRE().

double* poptArg_u::doublep

Definition at line 61 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

float* poptArg_u::floatp

Definition at line 60 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

int* poptArg_u::intp

Definition at line 56 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

long long* poptArg_u::longlongp

Definition at line 59 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

long* poptArg_u::longp

Definition at line 58 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

poptOption poptArg_u::opt

Definition at line 64 of file poptint.h.

Referenced by invokeCallbacksPOST(), and invokeCallbacksPRE().

void* poptArg_u::ptr

Definition at line 55 of file poptint.h.

Referenced by findOption(), invokeCallbacksOPTION(), invokeCallbacksPOST(), invokeCallbacksPRE(), poptSaveArg(), and singleOptionDefaultValue().

short* poptArg_u::shortp

Definition at line 57 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

Author

Generated automatically by Doxygen for popt from the source code.

Thu Aug 26 2021 Version 1.18