diff options
author | Bertrand Marc <beberking@gmail.com> | 2012-06-06 20:47:48 +0200 |
---|---|---|
committer | Bertrand Marc <beberking@gmail.com> | 2012-06-06 20:47:48 +0200 |
commit | 740b30688bd745a527f96f9116c19acb3480971a (patch) | |
tree | 2709a3f4dba11c174aa9e1ba3612e30c578e76a9 /src/core/core.h | |
parent | 2b81464a43485fcc8ce079fafdee7b7a171835f4 (diff) |
Imported Upstream version 0.9.3upstream/0.9.3
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 36 |
1 files changed, 4 insertions, 32 deletions
diff --git a/src/core/core.h b/src/core/core.h index 4942ad0..03e328c 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -112,7 +112,6 @@ struct ConnectNotifyMessage /** * Number of ATS key-value pairs that follow this struct - * (excluding the 0-terminator). */ uint32_t ats_count GNUNET_PACKED; @@ -222,12 +221,11 @@ struct NotifyTrafficMessage */ struct GNUNET_PeerIdentity peer; - /** - * First of the ATS information blocks (we must have at least - * one due to the 0-termination requirement). + /* Followed by ATS information blocks: + * struct GNUNET_ATS_Information ats[ats_count] */ - struct GNUNET_ATS_Information ats; + /* Followed by payload (message or just header), variable size */ }; @@ -332,7 +330,7 @@ struct SendMessage struct GNUNET_TIME_AbsoluteNBO deadline; /** - * Identity of the receiver or sender. + * Identity of the intended receiver. */ struct GNUNET_PeerIdentity peer; @@ -349,32 +347,6 @@ struct SendMessage }; -/** - * Client asking core to connect to a particular target. There is no - * response from the core to this type of request (however, if an - * actual connection is created or destroyed, be it because of this - * type request or not, the core generally needs to notify the - * clients). - */ -struct ConnectMessage -{ - /** - * Header with type GNUNET_MESSAGE_TYPE_REQUEST_CONNECT or - * GNUNET_MESSAGE_TYPE_REQUEST_DISCONNECT. - */ - struct GNUNET_MessageHeader header; - - /** - * For alignment. - */ - uint32_t reserved GNUNET_PACKED; - - /** - * Identity of the other peer. - */ - struct GNUNET_PeerIdentity peer; - -}; GNUNET_NETWORK_STRUCT_END #endif /* end of core.h */ |