Data Fields

db_val_t Struct Reference

This structure represents a value in the database. More...

#include <db_val.h>

Collaboration diagram for db_val_t:
Collaboration graph
[legend]

Data Fields


Detailed Description

Several datatypes are recognized and converted by the database API. These datatypes are automaticaly recognized, converted from internal database representation and stored in the variable of corresponding type.

Module that want to use this values needs to copy them to another memory location, because after the call to free_result there are not more available.

If the structure holds a pointer to a string value that needs to be freed because the module allocated new memory for it then the free flag must be set to a non-zero value. A free flag of zero means that the string data must be freed internally by the database driver.

Definition at line 77 of file db_val.h.


Field Documentation

union { ... } db_val_t::val

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