GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  DBH_MACROS (3)

-

NAME

dbh_macros - Macros available in dbh

CONTENTS

Synopsis
Description
     Dbh_keylength ()
     Dbh_record_size ()
     Dbh_key ()
     Dbh_data ()
     Dbh_erased_space ()
     Dbh_data_space ()
     Dbh_total_space ()
     Dbh_format_space ()
     Dbh_records ()
     Dbh_maximum_record_size ()
     Dbh_path ()
See Also
Author

SYNOPSIS

#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);

DESCRIPTION

Convenience 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 ALSO

dbh (0)

Author

Edscott Wilson Garcia <edscott@xfce.org>

Search for    or go to Top of page |  Section 3 |  Main Index


DBHashTables DBH_MACROS (3) DBH

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.