aboutsummaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-30 23:27:11 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-30 23:27:11 +0200
commitbd8e73aad283611c096f07e0fc16aa4985f9f2eb (patch)
tree9ce9d9d41387a62dd4cc3b88669a991244d7b8b7 /src/tree.h
parentba7c93085b419d1453dfb722b570245c4a725c83 (diff)
downloaddns-bd8e73aad283611c096f07e0fc16aa4985f9f2eb.tar.gz
implemented database
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h2
1 files changed, 1 insertions, 1 deletions
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 );