src/var_set/var_set.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  var_set_struct

Defines

#define VAR_SET_BYTE_SIZE   8
#define VAR_SET_WORD_SIZE   ((sizeof(unsigned int))*(VAR_SET_BYTE_SIZE))
#define VAR_SET_ALL_ZEROS   0
#define VAR_SET_ALL_ONES   ((unsigned int) ~0)
#define VAR_SET_EXTRACT_BIT(word, pos)   (((word) & (1 << (pos))) != 0)

Typedefs

typedef struct var_set_struct var_set_t

Functions

EXTERN var_set_t *var_set_new ARGS ((int))
EXTERN var_set_t *var_set_copy ARGS ((var_set_t *))
EXTERN var_set_t *var_set_assign ARGS ((var_set_t *, var_set_t *))
EXTERN var_set_t *var_set_or ARGS ((var_set_t *, var_set_t *, var_set_t *))
EXTERN int var_set_get_elt ARGS ((var_set_t *, int))
EXTERN void var_set_print ARGS ((FILE *, var_set_t *))
EXTERN int var_set_cmp ARGS ((char *, char *))

Define Documentation

#define VAR_SET_ALL_ONES   ((unsigned int) ~0)

Definition at line 47 of file var_set.h.

#define VAR_SET_ALL_ZEROS   0

Definition at line 46 of file var_set.h.

#define VAR_SET_BYTE_SIZE   8

Definition at line 44 of file var_set.h.

#define VAR_SET_EXTRACT_BIT ( word,
pos   )     (((word) & (1 << (pos))) != 0)

Definition at line 48 of file var_set.h.

#define VAR_SET_WORD_SIZE   ((sizeof(unsigned int))*(VAR_SET_BYTE_SIZE))

Definition at line 45 of file var_set.h.


Typedef Documentation

typedef struct var_set_struct var_set_t

Function Documentation

EXTERN int var_set_cmp ARGS ( (char *, char *)   ) 
EXTERN void var_set_print ARGS ( (FILE *, var_set_t *)   ) 
EXTERN void var_set_clear_elt ARGS ( (var_set_t *, int)   ) 
EXTERN var_set_t *var_set_and ARGS ( (var_set_t *, var_set_t *, var_set_t *)   ) 
EXTERN int var_set_equal ARGS ( (var_set_t *, var_set_t *)   ) 
EXTERN unsigned int var_set_hash ARGS ( (var_set_t *)   ) 
EXTERN var_set_t* var_set_new ARGS ( (int)   ) 

Generated on Tue Jan 12 13:57:29 2010 for glu-2.2 by  doxygen 1.6.1