-document new requirements on struct Session
authorChristian Grothoff <christian@grothoff.org>
Sat, 23 Jun 2012 22:32:58 +0000 (22:32 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 23 Jun 2012 22:32:58 +0000 (22:32 +0000)
src/include/gnunet_transport_plugin.h

index d1e03d7c9ce6229bdc4cc7cd27b9793b1084207c..fb0271a8ff055553a3aae7342254f7e2d50d4b21 100644 (file)
  * 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;