Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

popt/poptint.h File Reference

More...

Go to the source code of this file.

Compounds

struct  execEntry
struct  optionStackEntry
struct  pbm_set
struct  poptContext_s

Defines

#define __PBM_NBITS   (8 * sizeof (__pbm_bits))
#define __PBM_IX(d)    ((d) / __PBM_NBITS)
#define __PBM_MASK(d)    ((__pbm_bits) 1 << ((d) % __PBM_NBITS))
#define __PBM_BITS(set)    ((set)->bits)
#define PBM_ALLOC(d)    calloc(__PBM_IX (d) + 1, sizeof(__pbm_bits))
#define PBM_FREE(s)    free(s);
#define PBM_SET(d, s)    (__PBM_BITS (s)[__PBM_IX (d)] |= __PBM_MASK (d))
#define PBM_CLR(d, s)    (__PBM_BITS (s)[__PBM_IX (d)] &= ~__PBM_MASK (d))
#define PBM_ISSET(d, s)    ((__PBM_BITS (s)[__PBM_IX (d)] & __PBM_MASK (d)) != 0)
#define _(foo)    (foo)
#define D_(dom, str)    (str)
#define POPT_(foo)    (foo)
#define N_(foo)    (foo)

Typedefs

typedef unsigned int __pbm_bits


Detailed Description

Definition in file poptint.h.


Define Documentation

#define D_( dom, str )   (str)
 

Definition at line 83 of file poptint.h.

Referenced by getArgDescrip(), singleOptionHelp(), and singleTableHelp().

#define N_( foo )   (foo)
 

Definition at line 87 of file poptint.h.

#define PBM_ALLOC( d )   calloc(__PBM_IX (d) + 1, sizeof(__pbm_bits))
 

Definition at line 22 of file poptint.h.

Referenced by findNextArg(), and poptStripArg().

#define PBM_CLR( d, s )   (__PBM_BITS (s)[__PBM_IX (d)] &= ~__PBM_MASK (d))
 

Definition at line 25 of file poptint.h.

#define PBM_FREE( s )   free(s);
 

Definition at line 23 of file poptint.h.

Referenced by cleanOSE(), poptFreeContext(), and poptResetContext().

#define PBM_ISSET( d, s )   ((__PBM_BITS (s)[__PBM_IX (d)] & __PBM_MASK (d)) != 0)
 

Definition at line 26 of file poptint.h.

Referenced by findNextArg(), poptGetNextOpt(), and poptStrippedArgv().

#define PBM_SET( d, s )   (__PBM_BITS (s)[__PBM_IX (d)] |= __PBM_MASK (d))
 

Definition at line 24 of file poptint.h.

Referenced by findNextArg(), and poptStripArg().

#define POPT_( foo )   (foo)
 

Definition at line 84 of file poptint.h.

Referenced by getArgDescrip(), poptGetNextOpt(), poptPrintHelp(), poptStrerror(), showHelpIntro(), and strerror().

#define _( foo )   (foo)
 

Definition at line 76 of file poptint.h.

#define __PBM_BITS( set )   ((set)->bits)
 

Definition at line 20 of file poptint.h.

#define __PBM_IX( d )   ((d) / __PBM_NBITS)
 

Definition at line 15 of file poptint.h.

#define __PBM_MASK( d )   ((__pbm_bits) 1 << ((d) % __PBM_NBITS))
 

Definition at line 16 of file poptint.h.

#define __PBM_NBITS   (8 * sizeof (__pbm_bits))
 

Definition at line 14 of file poptint.h.


Typedef Documentation

typedef unsigned int __pbm_bits
 

Definition at line 13 of file poptint.h.


Generated at Sun Apr 8 18:43:05 2001 for rpm by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000