From bd8e73aad283611c096f07e0fc16aa4985f9f2eb Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Fri, 30 Apr 2021 23:27:11 +0200 Subject: implemented database --- src/tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tree.h') diff --git a/src/tree.h b/src/tree.h index 2b69301..2623cb3 100644 --- a/src/tree.h +++ b/src/tree.h @@ -72,6 +72,6 @@ int tree_balanced_insert ( struct tree_node** _root, void* _data[], char* _key[ /** * Returns (void*)node->data on success, NULL on failure * */ -void* tree_get ( struct tree_node** _root, char* _query ); +void* tree_get ( struct tree_node** _root, const char* _query ); int tree_destroy( struct tree_node** _root, uint8_t _options ); -- cgit v1.2.3