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
10extern "C" {
11#endif
12
13typedef void *append_info;
14
15append_info *append_info_get(void *info_list, int table_id);
16
17void append_row_start(append_info *info);
18void append_row_end(append_info *info);
19
20void append_varchar(append_info *info, const char *value);
21void append_key(append_info *info, int64_t value);
22void append_date(append_info *info, int64_t value);
23void append_integer(append_info *info, int32_t value);
24void append_decimal(append_info *info, decimal_t *val);
25void append_boolean(append_info *info, int32_t val);
26
27#ifdef __cplusplus
28};
29#endif
30
31#endif
32