diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-17 19:55:36 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-17 19:55:36 +0200 |
| commit | 380195f7cd5e57acf2c1cf2bc41069e6b0b979ed (patch) | |
| tree | 32a88fb22a7fbe8f1fd5c105156d1f928c93950d /src/seed.h | |
| download | bokf-380195f7cd5e57acf2c1cf2bc41069e6b0b979ed.tar.gz bokf-380195f7cd5e57acf2c1cf2bc41069e6b0b979ed.zip | |
Initial commit: daemon, clients, docs, Docker deploy pipelinev0.1.0
Diffstat (limited to 'src/seed.h')
| -rw-r--r-- | src/seed.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <sqlite3.h> +#include <stdint.h> + +/* 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 |
