For internal use only.
This file contains the #define's and function declarations used internally by the Database Primitives Library.
Definition in file dbprim_int.h.
#include "dbprim_err.h"
#include "dbprim_version.h"
Include dependency graph for dbprim_int.h:

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

Go to the source code of this file.
Defines | |
| #define | RCSTAG(tag) |
| Embed RCS revision information. | |
| #define | _hash_rollover(mod) |
| Select hash table roll over size. | |
| #define | _hash_rollunder(mod) |
| Select hash table roll under size. | |
| #define | _hash_fuzz(mod) |
| Fuzz the initial hash table size. | |
| #define | HASH_FNV_OFFSET |
| FNV offset basis parameter. | |
| #define | HASH_FNV_PRIME |
| FNV prime parameter. | |
| #define | ST_REM_FIRST |
| Flag requesting removal from first list. | |
| #define | ST_REM_SECOND |
| Flag requesting removal from second list. | |
| #define | ST_REM_HASH |
| Flag requesting removal from hash table. | |
| #define | ST_REM_FREE |
| Flag requesting memory release. | |
Functions | |
| unsigned long | _hash_prime (unsigned long start) |
| Select a prime number. | |
| unsigned long | _st_remove (smat_table_t *table, smat_entry_t *entry, unsigned int remflag) |
| Remove an entry from a sparse matrix (internal). | |
| smat_entry_t * | _smat_alloc (void) |
| Allocate a sparse matrix entry. | |
| void | _smat_free (smat_entry_t *entry) |
| Release a sparse matrix entry. | |
| unsigned long | _smat_resize (hash_table_t *table, unsigned long new_mod) |
| Sparse matrix resize function. | |
| rb_node_t * | _rb_locate (rb_tree_t *tree, rb_node_t *node, db_key_t *key) |
| Locate or insert a red-black tree node. | |
| void | _rb_rotate (rb_tree_t *tree, rb_node_t *child) |
| Rotate tree nodes. | |
|
|
For internal use only.
Embeds the Definition at line 50 of file dbprim_int.h. |
1.4.4