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, 2*1024*1024 }, // set cache size to 2 mb
      { HAM_PARAM_PAGESIZE, 4096 }, // set pagesize to 4 kb
      { 0, NULL }
   };
 

Definition at line 163 of file hamsterdb.h.


Field Documentation

The name of the parameter; all HAM_PARAM_*-constants

Definition at line 165 of file hamsterdb.h.


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

Generated on Tue Mar 16 20:19:45 2010 for hamsterdb Embedded Database by  doxygen 1.6.1