ham_parameter_t Struct Reference

#include <hamsterdb.h>

Data Fields

ham_u32_t name
ham_u64_t value

Detailed Description

A named parameter.

These parameter structures are used for functions like ham_open_ex, ham_create_ex, etc. to pass variable length parameter lists.

The lists are always arrays of type ham_parameter_t, with a terminating element of { 0, NULL}, e.g.

   ham_parameter_t parameters[]={
      { HAM_PARAM_CACHESIZE, 4*4096 },
      { HAM_PARAM_PAGESIZE, 4096 },
      { 0, NULL }
   };
 

Definition at line 157 of file hamsterdb.h.


Field Documentation

The name of the parameter; all HAM_PARAM_*-constants

Definition at line 159 of file hamsterdb.h.


The documentation for this struct was generated from the following file:

Generated on Thu Feb 11 22:04:58 2010 for hamsterdb Embedded Database by  doxygen 1.6.1