Mixe for Privacy and Anonymity in the Internet
Classes | Defines | Typedefs
poptint.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pbm_set
struct  optionStackEntry
struct  execEntry
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 xfree(_a)   free((void *)_a)
#define _(foo)   (foo)
#define POPT_(foo)   (foo)
#define D_(dom, str)   (str)
#define N_(foo)   (foo)

Typedefs

typedef unsigned int __pbm_bits

Define Documentation

#define _ (   foo)    (foo)

Definition at line 74 of file poptint.h.

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

Definition at line 16 of file poptint.h.

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

Definition at line 11 of file poptint.h.

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

Definition at line 12 of file poptint.h.

#define __PBM_NBITS   (8 * sizeof (__pbm_bits))

Definition at line 10 of file poptint.h.

#define D_ (   dom,
  str 
)    (str)

Definition at line 82 of file poptint.h.

#define N_ (   foo)    (foo)

Definition at line 85 of file poptint.h.

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

Definition at line 18 of file poptint.h.

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

Definition at line 21 of file poptint.h.

#define PBM_FREE (   s)    free(s);

Definition at line 19 of file poptint.h.

Referenced by poptFreeContext(), and poptResetContext().

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

Definition at line 22 of file poptint.h.

Referenced by poptGetNextOpt(), and poptStrippedArgv().

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

Definition at line 20 of file poptint.h.

#define POPT_ (   foo)    (foo)

Definition at line 81 of file poptint.h.

Referenced by poptGetNextOpt(), poptPrintHelp(), and poptStrerror().

#define xfree (   _a)    free((void *)_a)

Typedef Documentation

typedef unsigned int __pbm_bits

Definition at line 9 of file poptint.h.