Implemeted CSV backend, add it to makefile, correct some errors in smart_records.c
This commit is contained in:
@@ -7,10 +7,10 @@
|
||||
#define set_error_and_fails(x) { if (error) *error = strdup(x); goto failed; }
|
||||
|
||||
typedef struct smart_records_ctx_t {
|
||||
void *CTX;
|
||||
int (*set_format) (struct smart_records_ctx_t *ctx, char **error, const char *fmt);
|
||||
int (*write_record) (struct smart_records_ctx_t *ctx, char **error, va_list ap);
|
||||
int (*close_records_base) (struct smart_records_ctx_t *ctx);
|
||||
void *backend_ctx;
|
||||
int (*set_format) (void *ctx, char **error, const char *fmt);
|
||||
int (*write_record) (void *ctx, char **error, va_list ap);
|
||||
int (*close_records_base) (void *ctx);
|
||||
} smart_records_ctx_t ;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user