Mixe for Privacy and Anonymity in the Internet
Classes | Macros | 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
 

Macros

#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
 

Macro Definition Documentation

◆ _

#define _ (   foo)    (foo)

Definition at line 74 of file poptint.h.

◆ __PBM_BITS

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

Definition at line 16 of file poptint.h.

◆ __PBM_IX

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

Definition at line 11 of file poptint.h.

◆ __PBM_MASK

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

Definition at line 12 of file poptint.h.

◆ __PBM_NBITS

#define __PBM_NBITS   (8 * sizeof (__pbm_bits))

Definition at line 10 of file poptint.h.

◆ D_

#define D_ (   dom,
  str 
)    (str)

Definition at line 82 of file poptint.h.

◆ N_

#define N_ (   foo)    (foo)

Definition at line 85 of file poptint.h.

◆ PBM_ALLOC

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

Definition at line 18 of file poptint.h.

◆ PBM_CLR

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

Definition at line 21 of file poptint.h.

◆ PBM_FREE

#define PBM_FREE (   s)    free(s);

Definition at line 19 of file poptint.h.

◆ PBM_ISSET

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

Definition at line 22 of file poptint.h.

◆ PBM_SET

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

Definition at line 20 of file poptint.h.

◆ POPT_

#define POPT_ (   foo)    (foo)

Definition at line 81 of file poptint.h.

◆ xfree

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

Definition at line 65 of file poptint.h.

Typedef Documentation

◆ __pbm_bits

typedef unsigned int __pbm_bits

Definition at line 9 of file poptint.h.