about summary refs log tree commit diff stats
path: root/src/bindings
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-09-06 12:33:30 +0200
committerbptato <nincsnevem662@gmail.com>2022-09-06 13:39:26 +0200
commite38402dfa1bbc33db6b9d9736517eb45533d595c (patch)
tree9bbe6a589f1cba631198640bb167a664de69ca12 /src/bindings
parent3223a3364ae9f17dd2dc25bcbf2e644380db462f (diff)
downloadchawan-e38402dfa1bbc33db6b9d9736517eb45533d595c.tar.gz
Use unix domain sockets for IPC
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/curl.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim
index db120264..7c88f3f6 100644
--- a/src/bindings/curl.nim
+++ b/src/bindings/curl.nim
@@ -55,6 +55,7 @@ type
     CURLOPT_FOLLOWLOCATION = CURLOPTTYPE_LONG + 52
     CURLOPT_POSTFIELDSIZE = CURLOPTTYPE_LONG + 60
     CURLOPT_HTTPGET = CURLOPTTYPE_LONG + 80
+    CURLOPT_CONNECT_ONLY = CURLOPTTYPE_LONG + 141
 
     # Objectpoint
     CURLOPT_WRITEDATA = CURLOPTTYPE_CBPOINT + 1
@@ -89,6 +90,9 @@ type
     # Long
     CURLINFO_RESPONSE_CODE = CURLINFO_LONG + 2
 
+    # Socket
+    CURLINFO_ACTIVESOCKET = CURLINFO_SOCKET + 44
+
   CURLcode* {.size: sizeof(cint).} = enum
     CURLE_OK = 0,
     CURLE_UNSUPPORTED_PROTOCOL,    # 1