summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2023-11-06 10:33:45 -0500
committerAndrew Opalach <andrew@akon.city> 2023-11-06 10:33:45 -0500
commit1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76 (patch)
tree641dd55f6677bea75c691b6010c0d7dd2a5f37e8 /include
parenta723efcc67b6c14ff0dd1efd1ba88596e959daaa (diff)
downloadlibnaunet-1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76.tar.gz
libnaunet-1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76.tar.bz2
libnaunet-1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76.zip
Update
- Refactor curl support, add curl websockets - Remove aki_socket config structure - Add the ability to change aki_timer repeat - Various fixes Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'include')
-rw-r--r--include/aki/common.h1
-rw-r--r--include/aki/http.h2
-rw-r--r--include/aki/websocket.h5
3 files changed, 7 insertions, 1 deletions
diff --git a/include/aki/common.h b/include/aki/common.h
index 64a41c8..67ac037 100644
--- a/include/aki/common.h
+++ b/include/aki/common.h
@@ -2,6 +2,7 @@
#include "../../src/common.h"
+#include "../../src/loop.h"
#include "../../src/util/buffer.h"
#include "../../src/util/packet.h"
#include "../../src/util/timer/timer.h"
diff --git a/include/aki/http.h b/include/aki/http.h
index 1f75987..9a38452 100644
--- a/include/aki/http.h
+++ b/include/aki/http.h
@@ -1,5 +1,5 @@
#pragma once
#ifdef AKIYO_HAS_CURL
-#include "../../src/http.h"
+#include "../../src/curl/http.h"
#endif
diff --git a/include/aki/websocket.h b/include/aki/websocket.h
new file mode 100644
index 0000000..db1ed43
--- /dev/null
+++ b/include/aki/websocket.h
@@ -0,0 +1,5 @@
+#pragma once
+
+#ifdef AKIYO_HAS_CURL
+#include "../../src/curl/websocket.h"
+#endif