summaryrefslogtreecommitdiff
path: root/include/administration.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/administration.hpp')
-rw-r--r--include/administration.hpp6
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);