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/seed.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/seed.h (limited to 'src/seed.h') diff --git a/src/seed.h b/src/seed.h new file mode 100644 index 0000000..826391b --- /dev/null +++ b/src/seed.h @@ -0,0 +1,12 @@ +#ifndef BOKF_SEED_H +#define BOKF_SEED_H + +#include +#include + +/* Seeds a fresh org inside an existing transaction: chart of accounts, + moms report rules and the current fiscal year. Returns 0 on success. */ +int seed_org(sqlite3 *db, int64_t org_id, const char *framework, + int fy_start_month, int64_t *out_fy_id, char **err); + +#endif -- cgit v1.3