contact | forum | legal | impressum | privacy

hamsterdb API Documentation

 

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, 1024 },
      { HAM_PARAM_PAGESIZE, 1024*4 },
      { 0, NULL }
   };
 

Definition at line 150 of file hamsterdb.h.


Field Documentation

The name of the parameter; all HAM_PARAM_*-constants

Definition at line 152 of file hamsterdb.h.


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

The hamsterdb API

 

Help us!

Found an information that is missing on this page? Please send a mail.