summaryrefslogtreecommitdiff
path: root/src/api.h
diff options
context:
space:
mode:
authorJesper Jensen <jesper@jnsn.dev>2025-07-18 09:32:16 +0200
committerJesper Jensen <jesper@jnsn.dev>2025-07-18 09:32:33 +0200
commit69528489cddd27b4d4b9411d00b60cccc175b0e8 (patch)
treeeeed9d13f99858b3fd5660bc8d57e86bf81088a3 /src/api.h
parenta46e9a5cbb8fc233a0ccb47708e7686c2b561ac0 (diff)
Add a simple API for lookups
Diffstat (limited to 'src/api.h')
-rw-r--r--src/api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/api.h b/src/api.h
new file mode 100644
index 0000000..953b7a2
--- /dev/null
+++ b/src/api.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include "proto.h"
+
+void api_init(struct dht *dht);
+void api_end();