diff options
author | bptato <nincsnevem662@gmail.com> | 2022-09-06 12:33:30 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-09-06 13:39:26 +0200 |
commit | e38402dfa1bbc33db6b9d9736517eb45533d595c (patch) | |
tree | 9bbe6a589f1cba631198640bb167a664de69ca12 /src/bindings | |
parent | 3223a3364ae9f17dd2dc25bcbf2e644380db462f (diff) | |
download | chawan-e38402dfa1bbc33db6b9d9736517eb45533d595c.tar.gz |
Use unix domain sockets for IPC
Diffstat (limited to 'src/bindings')
-rw-r--r-- | src/bindings/curl.nim | 4 |
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 |