[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-nim] branch master updated: removed cadet option
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-nim] branch master updated: removed cadet option |
Date: |
Wed, 24 Jul 2019 22:19:52 +0200 |
This is an automated email from the git hooks/post-receive script.
t3sserakt pushed a commit to branch master
in repository gnunet-nim.
The following commit(s) were added to refs/heads/master by this push:
new 38c5171 removed cadet option
38c5171 is described below
commit 38c51715cfe0b2c6cdc662cffcc8de2eec8d28a9
Author: t3sserakt <address@hidden>
AuthorDate: Wed Jul 24 22:18:30 2019 +0200
removed cadet option
---
src/gnunet_nim/cadet.nim | 1 -
src/gnunet_nim/gnunet_cadet_service.nim | 17 -----------------
2 files changed, 18 deletions(-)
diff --git a/src/gnunet_nim/cadet.nim b/src/gnunet_nim/cadet.nim
index 3b4de5f..b079f52 100644
--- a/src/gnunet_nim/cadet.nim
+++ b/src/gnunet_nim/cadet.nim
@@ -122,7 +122,6 @@ proc createChannel*(handle: ref CadetHandle,
addr channel[],
addr channel.peer,
unsafeAddr port,
- GNUNET_CADET_OPTION_RELIABLE,
nil,
channelDisconnectCb,
unsafeAddr handlers[0])
diff --git a/src/gnunet_nim/gnunet_cadet_service.nim
b/src/gnunet_nim/gnunet_cadet_service.nim
index 5dc6e9a..a66d57e 100644
--- a/src/gnunet_nim/gnunet_cadet_service.nim
+++ b/src/gnunet_nim/gnunet_cadet_service.nim
@@ -19,28 +19,12 @@ const
type
GNUNET_CADET_Handle* {.bycopy.} = object
-
-
type
GNUNET_CADET_Channel* {.bycopy.} = object
-
-
type
GNUNET_CADET_Port* {.bycopy.} = object
-
-
-
-type
- GNUNET_CADET_ChannelOption* {.size: sizeof(cint).} = enum
- GNUNET_CADET_OPTION_DEFAULT = 0x00000000,
- GNUNET_CADET_OPTION_NOBUFFER = 0x00000001,
- GNUNET_CADET_OPTION_RELIABLE = 0x00000002,
- GNUNET_CADET_OPTION_OUT_OF_ORDER = 0x00000004,
- GNUNET_CADET_OPTION_PEER = 0x00000008
-
-
type
GNUNET_CADET_ConnectEventHandler* = proc (cls: pointer;
@@ -77,7 +61,6 @@ proc GNUNET_CADET_close_port*(p: ptr GNUNET_CADET_Port)
{.cdecl,
proc GNUNET_CADET_channel_create*(h: ptr GNUNET_CADET_Handle; channel_cls:
pointer;
destination: ptr GNUNET_PeerIdentity;
port: ptr GNUNET_HashCode;
- options: GNUNET_CADET_ChannelOption;
window_changes: GNUNET_CADET_WindowSizeEventHandler; disconnects:
GNUNET_CADET_DisconnectEventHandler;
handlers: ptr GNUNET_MQ_MessageHandler): ptr
GNUNET_CADET_Channel {.
cdecl, importc: "GNUNET_CADET_channel_create", dynlib: libname.}
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet-nim] branch master updated: removed cadet option,
gnunet <=