From 380195f7cd5e57acf2c1cf2bc41069e6b0b979ed Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Thu, 17 Sep 2026 19:55:36 +0200 Subject: Initial commit: daemon, clients, docs, Docker deploy pipeline --- src/sie.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/sie.h (limited to 'src/sie.h') diff --git a/src/sie.h b/src/sie.h new file mode 100644 index 0000000..16a9cb5 --- /dev/null +++ b/src/sie.h @@ -0,0 +1,18 @@ +#ifndef BOKF_SIE_H +#define BOKF_SIE_H + +#include +#include +#include + +int sie_export_file(sqlite3 *db, int64_t org_id, int64_t fy_id, + const char *path, char **err); + +/* Imports SIE 4 content (CP437 or ASCII bytes). On dry_run everything is + executed and rolled back. */ +int sie_import_content(sqlite3 *db, int64_t org_id, int64_t user_id, + const unsigned char *data, size_t len, int dry_run, + int64_t *out_fy_id, int64_t *out_vouchers, + int64_t *out_accounts, char **err); + +#endif -- cgit v1.3