![]() |
![]()
| ![]() |
![]()
-
NAMEdbh_macros - Macros available in dbh SYNOPSIS#include <dbh.h> unsigned char DBH_KEYLENGTH (DBHashTable *
dbh);
DESCRIPTIONConvenience macros to retrieve DBHashTable structure elements. DBH_KEYLENGTH ()This macro returns the keylenth in bytes associated to the DBHashTable. The value is fixed when the DBHashTable is created with dbh_create. DBH_RECORD_SIZE ()This macro returns the size of the current record loaded in memory. If no record has been loaded, then the return value is not defined. DBH_KEY ()This macro returns a pointer to the current DBHashTable key area. DBH_DATA ()This macro returns a pointer to the current DBHashTable data area. DBH_ERASED_SPACE ()This macro returns the amount of bytes taken up by erased data in the DBHashTable. DBH_DATA_SPACE ()This macro returns the amount of bytes taken up by valid data in the DBHashTable. DBH_TOTAL_SPACE ()This macro returns the total amount of bytes taken up by the DBHashTable. DBH_FORMAT_SPACE ()This macro returns the total amount of bytes taken up by the format of the DBHashTable. DBH_RECORDS ()This macro returns the number of records in the DBHashTable. DBH_MAXIMUM_RECORD_SIZE ()This macro returns the maximum allocated space for data in the current DBHashTable record. DBH_PATH ()This macro returns a pointer to a string containing the path to the current DBHashTable. SEE ALSOdbh (0) AuthorEdscott Wilson Garcia <edscott@xfce.org>
|