Hoel: include/h-private.h Source File

Hoel C Database abstraction library with json based language

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
34 int h_row_add_data(struct _h_data ** result, struct _h_data * data, int cols);
35
40 int h_result_add_row(struct _h_result * result, struct _h_data * row, int rows);
41
47 struct _h_data * h_new_data_int(const long long int value);
48
54 struct _h_data * h_new_data_double(const double value);
55
61 struct _h_data * h_new_data_text(const char * value, const size_t length);
62
68 struct _h_data * h_new_data_blob(const void * value, const size_t length);
69
75 struct _h_data * h_new_data_datetime(const struct tm * datetime);
76
82 struct _h_data * h_new_data_null();
83
84 #endif /* __H_PRIVATE_H_ */
h_new_data_blob
struct _h_data * h_new_data_blob(const void *value, const size_t length)
Definition: hoel.c:550
h_new_data_double
struct _h_data * h_new_data_double(const double value)
Definition: hoel.c:497
h_new_data_text
struct _h_data * h_new_data_text(const char *value, const size_t length)
Definition: hoel.c:519
h_new_data_datetime
struct _h_data * h_new_data_datetime(const struct tm *datetime)
Definition: hoel.c:596
h_row_add_data
int h_row_add_data(struct _h_data **result, struct _h_data *data, int cols)
Definition: hoel.c:198
h_new_data_null
struct _h_data * h_new_data_null()
Definition: hoel.c:580
h_new_data_int
struct _h_data * h_new_data_int(const long long int value)
Definition: hoel.c:475
h_result_add_row
int h_result_add_row(struct _h_result *result, struct _h_data *row, int rows)
Definition: hoel.c:291
_h_data
Definition: hoel.h:132
_h_result
Definition: hoel.h:140