summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-09 12:47:26 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-09 12:47:26 +0800
commit77ded2a3b9142073f1ea74b948ad3219c6b245df (patch)
treecc752af009ec36a8e2b572ef59cde422584d645e /interchange
parent813507ca1813ff6cb4ca0a35de4550c6178af235 (diff)
Admin clearer, reimplement logout & default next
Diffstat (limited to 'interchange')
-rw-r--r--interchange/admin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/interchange/admin.h b/interchange/admin.h
index eccace7..fd2ce09 100644
--- a/interchange/admin.h
+++ b/interchange/admin.h
@@ -32,7 +32,8 @@ void interchange_admin_new_item(const char *description, const char *comment, co
void interchange_admin_new_transaction(const struct interchange_ord_order *order,
const struct interchange_member *member, bool new_customer_id,
void (*handler)(interchange_response *));
-void interchange_admin_logout(struct interchange_admin *admin, void (*handler)(interchange_response *));
+void interchange_admin_logout();
+void interchange_admin_clear(struct interchange_admin *admin);
#ifdef __cplusplus
}