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_ */
struct _h_data * h_new_data_blob(const void *value, const size_t length)
Definition: hoel.c:556
struct _h_data * h_new_data_double(const double value)
Definition: hoel.c:503
struct _h_data * h_new_data_text(const char *value, const size_t length)
Definition: hoel.c:525
struct _h_data * h_new_data_datetime(const struct tm *datetime)
Definition: hoel.c:607
int h_row_add_data(struct _h_data **result, struct _h_data *data, int cols)
Definition: hoel.c:204
struct _h_data * h_new_data_null()
Definition: hoel.c:591
struct _h_data * h_new_data_int(const long long int value)
Definition: hoel.c:481
int h_result_add_row(struct _h_result *result, struct _h_data *row, int rows)
Definition: hoel.c:297
Definition: hoel.h:132
Definition: hoel.h:140