From: Christian Grothoff Date: Sat, 23 Jun 2012 22:32:58 +0000 (+0000) Subject: -document new requirements on struct Session X-Git-Tag: initial-import-from-subversion-38251~12853 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de8fb70966c0eb3b0a8c7207a19a34b1ee24629f;p=oweals%2Fgnunet.git -document new requirements on struct Session --- diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index d1e03d7c9..fb0271a8f 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h @@ -44,6 +44,10 @@ * useful since sometimes (i.e. for inbound TCP connections) a * connection may not have an address that can be used for meaningful * distinction between sessions to the same peer. + * + * Each 'struct Session' MUST start with the 'struct GNUNET_PeerIdentity' + * of the peer the session is for (which will be used for some error + * checking by the ATS code). */ struct Session;