diff options
| author | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-14 15:27:51 +0200 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrikboy@gmail.com> | 2025-09-14 15:27:51 +0200 |
| commit | 76d3082e5b89fe54acaaaaadd201ccc92f4f346e (patch) | |
| tree | 32d5212d87bc0b4cab06bcbe923f7eeb019268b0 /include/administration.hpp | |
| parent | 38019a9693375ac6719ffec43bff63774e142387 (diff) | |
tests for administration io
Diffstat (limited to 'include/administration.hpp')
| -rw-r--r-- | include/administration.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/administration.hpp b/include/administration.hpp index 95d4622..b782f7a 100644 --- a/include/administration.hpp +++ b/include/administration.hpp @@ -334,8 +334,6 @@ typedef struct // Setup functions. // ======================= -void administration_create(); // TODO remove and move into other setup functions -void administration_destroy(); // TODO remove and move into other setup functions void administration_create_empty(char* save_file); void administration_create_from_file(char* save_file); @@ -400,17 +398,19 @@ bool administration_project_get_by_id(project* buffer, char* id); // Tax bracket functions. // ======================= u32 administration_tax_bracket_count(); +country_tax_bracket administration_tax_bracket_create_empty(); bool administration_tax_bracket_import(country_tax_bracket data); bool administration_tax_bracket_add(country_tax_bracket data); bool administration_tax_bracket_update(country_tax_bracket data); -bool administration_tax_bracket_get_by_id(char* id, country_tax_bracket* buffer); +bool administration_tax_bracket_get_by_id(country_tax_bracket* buffer, char* id); u32 administration_tax_bracket_get_all(country_tax_bracket* buffer); u32 administration_tax_bracket_get_by_country(country_tax_bracket* buffer, char* country_code); // Cost center functions. // ======================= u32 administration_cost_center_count(); +cost_center administration_cost_center_create_empty(); bool administration_cost_center_import(cost_center data); bool administration_cost_center_add(cost_center data); bool administration_cost_center_update(cost_center data); |
