1 | #ifndef R_APPEND_H |
---|---|
2 | #define R_APPEND_H |
3 | |
4 | #include <stdbool.h> |
5 | #include <stdlib.h> |
6 | |
7 | #include "decimal.h" |
8 | |
9 | #ifdef __cplusplus |
10 | extern "C"{ |
11 | #endif |
12 | |
13 | typedef void *append_info; |
14 | |
15 | append_info *append_info_get(void *info_list, int table_id); |
16 | |
17 | void append_row_start(append_info *info); |
18 | void append_row_end(append_info *info); |
19 | |
20 | void append_varchar(append_info *info, const char *value); |
21 | void append_key(append_info *info, int64_t value); |
22 | void append_date(append_info *info, int64_t value); |
23 | void append_integer(append_info *info, int32_t value); |
24 | void append_decimal(append_info *info, decimal_t *val); |
25 | void append_boolean(append_info *info, int32_t val); |
26 | |
27 | #ifdef __cplusplus |
28 | }; |
29 | #endif |
30 | |
31 | #endif |
32 |