diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-23 22:32:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-23 22:32:58 +0000 |
commit | de8fb70966c0eb3b0a8c7207a19a34b1ee24629f (patch) | |
tree | e81d2e46b61cef6d197bfb5e19cfbd418162addf /src/include/gnunet_transport_plugin.h | |
parent | e4b5a6b681d196cb233bf15a91060e3585933aa1 (diff) | |
download | gnunet-de8fb70966c0eb3b0a8c7207a19a34b1ee24629f.tar.gz gnunet-de8fb70966c0eb3b0a8c7207a19a34b1ee24629f.zip |
-document new requirements on struct Session
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
44 | * useful since sometimes (i.e. for inbound TCP connections) a | 44 | * useful since sometimes (i.e. for inbound TCP connections) a |
45 | * connection may not have an address that can be used for meaningful | 45 | * connection may not have an address that can be used for meaningful |
46 | * distinction between sessions to the same peer. | 46 | * distinction between sessions to the same peer. |
47 | * | ||
48 | * Each 'struct Session' MUST start with the 'struct GNUNET_PeerIdentity' | ||
49 | * of the peer the session is for (which will be used for some error | ||
50 | * checking by the ATS code). | ||
47 | */ | 51 | */ |
48 | struct Session; | 52 | struct Session; |
49 | 53 | ||