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
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_ */
struct _h_data * h_new_data_datetime(const struct tm *datetime)
Definition: hoel.c:602
struct _h_data * h_new_data_null()
Definition: hoel.c:586
struct _h_data * h_new_data_int(const long long int value)
Definition: hoel.c:476
struct _h_data * h_new_data_double(const double value)
Definition: hoel.c:498
struct _h_data * h_new_data_blob(const void *value, const size_t length)
Definition: hoel.c:551
int h_row_add_data(struct _h_data **result, struct _h_data *data, int cols)
Definition: hoel.c:199
struct _h_data * h_new_data_text(const char *value, const size_t length)
Definition: hoel.c:520
int h_result_add_row(struct _h_result *result, struct _h_data *row, int rows)
Definition: hoel.c:292
Definition: hoel.h:132
Definition: hoel.h:140