-
dbh_macros - Macros available in dbh
#include <dbh.h>
unsigned char DBH_KEYLENGTH (DBHashTable *
dbh);
FILE_POINTER DBH_RECORD_SIZE (DBHashTable * dbh);
void *DBH_KEY (DBHashTable * dbh);
void *DBH_DATA (DBHashTable * dbh);
FILE_POINTER DBH_ERASED_SPACE (DBHashTable * dbh);
FILE_POINTER DBH_DATA_SPACE (DBHashTable * dbh);
FILE_POINTER DBH_TOTAL_SPACE (DBHashTable * dbh);
FILE_POINTER DBH_FORMAT_SPACE (DBHashTable * dbh);
FILE_POINTER DBH_RECORDS (DBHashTable * dbh);
FILE_POINTER DBH_MAXIMUM_RECORD_SIZE (DBHashTable * dbh);
char *DBH_PATH (DBHashTable * dbh);
Convenience macros to retrieve DBHashTable structure elements.
This macro returns the keylenth in bytes associated to the DBHashTable. The
value is fixed when the DBHashTable is created with dbh_create.
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.
This macro returns a pointer to the current DBHashTable key area.
This macro returns a pointer to the current DBHashTable data area.
This macro returns the amount of bytes taken up by erased data in the
DBHashTable.
This macro returns the amount of bytes taken up by valid data in the
DBHashTable.
This macro returns the total amount of bytes taken up by the DBHashTable.
This macro returns the total amount of bytes taken up by the format of the
DBHashTable.
This macro returns the number of records in the DBHashTable.
This macro returns the maximum allocated space for data in the current
DBHashTable record.
This macro returns a pointer to a string containing the path to the current
DBHashTable.
Edscott Wilson Garcia <edscott@xfce.org>