Hoel: include/h-private.h Source File

Hoel C Database abstraction library with json based language

Loading...
Searching...
No Matches
h-private.h
Go to the documentation of this file.
1
24#ifndef __H_PRIVATE_H_
25#define __H_PRIVATE_H_
26
28#define UNUSED(x) (void)(x)
29
34int h_row_add_data(struct _h_data ** result, struct _h_data * data, int cols);
35
40int h_result_add_row(struct _h_result * result, struct _h_data * row, int rows);
41
47struct _h_data * h_new_data_int(const long long int value);
48
54struct _h_data * h_new_data_double(const double value);
55
61struct _h_data * h_new_data_text(const char * value, const size_t length);
62
68struct _h_data * h_new_data_blob(const void * value, const size_t length);
69
75struct _h_data * h_new_data_datetime(const struct tm * datetime);
76
82struct _h_data * h_new_data_null();
83
84#endif /* __H_PRIVATE_H_ */
h_new_data_datetime
struct _h_data * h_new_data_datetime(const struct tm *datetime)
Definition hoel.c:607
h_new_data_null
struct _h_data * h_new_data_null()
Definition hoel.c:591
h_new_data_int
struct _h_data * h_new_data_int(const long long int value)
Definition hoel.c:481
h_new_data_double
struct _h_data * h_new_data_double(const double value)
Definition hoel.c:503
h_new_data_blob
struct _h_data * h_new_data_blob(const void *value, const size_t length)
Definition hoel.c:556
h_row_add_data
int h_row_add_data(struct _h_data **result, struct _h_data *data, int cols)
Definition hoel.c:204
h_new_data_text
struct _h_data * h_new_data_text(const char *value, const size_t length)
Definition hoel.c:525
h_result_add_row
int h_result_add_row(struct _h_result *result, struct _h_data *row, int rows)
Definition hoel.c:297
_h_data
Definition hoel.h:132
_h_result
Definition hoel.h:140