Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
hash.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  _DviHashTable
 

Macros

#define MDVI_KEY(x)   ((DviHashKey)(x))
 
#define MDVI_EMPTY_HASH_TABLE   {NULL, 0, 0, NULL, NULL, NULL}
 
#define MDVI_HASH_REPLACE   0
 
#define MDVI_HASH_UNIQUE   1
 
#define MDVI_HASH_UNCHECKED   2
 
#define mdvi_hash_flush(h)   mdvi_hash_reset((h), 1)
 
#define mdvi_hash_destroy(h)   mdvi_hash_reset((h), 0)
 

Typedefs

typedef struct _DviHashBucket DviHashBucket
 
typedef struct _DviHashTable DviHashTable
 
typedef UcharDviHashKey
 
typedef Ulong DviHashFunc __PROTO ((DviHashKey key))
 

Functions

void mdvi_hash_init __PROTO ((DviHashTable *))
 
void mdvi_hash_create __PROTO ((DviHashTable *, int))
 
int mdvi_hash_add __PROTO ((DviHashTable *, DviHashKey, void *, int))
 
int mdvi_hash_destroy_key __PROTO ((DviHashTable *, DviHashKey))
 

Macro Definition Documentation

#define MDVI_EMPTY_HASH_TABLE   {NULL, 0, 0, NULL, NULL, NULL}

Definition at line 30 of file hash.h.

#define mdvi_hash_destroy (   h)    mdvi_hash_reset((h), 0)

Definition at line 46 of file hash.h.

#define mdvi_hash_flush (   h)    mdvi_hash_reset((h), 1)

Definition at line 45 of file hash.h.

#define MDVI_HASH_REPLACE   0

Definition at line 32 of file hash.h.

#define MDVI_HASH_UNCHECKED   2

Definition at line 34 of file hash.h.

#define MDVI_HASH_UNIQUE   1

Definition at line 33 of file hash.h.

#define MDVI_KEY (   x)    ((DviHashKey)(x))

Definition at line 15 of file hash.h.

Typedef Documentation

typedef void DviHashFree __PROTO((DviHashKey key, void *data))

Definition at line 17 of file hash.h.

typedef struct _DviHashBucket DviHashBucket

Definition at line 7 of file hash.h.

typedef Uchar* DviHashKey

Definition at line 14 of file hash.h.

typedef struct _DviHashTable DviHashTable

Definition at line 8 of file hash.h.

Function Documentation

void mdvi_hash_init __PROTO ( (DviHashTable *)  )
void mdvi_hash_create __PROTO ( (DviHashTable *, int)  )
int mdvi_hash_add __PROTO ( (DviHashTable *, DviHashKey, void *, int)  )