diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/core/gnunet-service-core_sessions.h | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/core/gnunet-service-core_sessions.h')
-rw-r--r-- | src/core/gnunet-service-core_sessions.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/src/core/gnunet-service-core_sessions.h b/src/core/gnunet-service-core_sessions.h index b70bd59fd..e09cf500e 100644 --- a/src/core/gnunet-service-core_sessions.h +++ b/src/core/gnunet-service-core_sessions.h | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file core/gnunet-service-core_neighbours.h | 22 | * @file core/gnunet-service-core_neighbours.h |
23 | * @brief code for managing of 'encrypted' sessions (key exchange done) | 23 | * @brief code for managing of 'encrypted' sessions (key exchange done) |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #ifndef GNUNET_SERVICE_CORE_SESSIONS_H | 26 | #ifndef GNUNET_SERVICE_CORE_SESSIONS_H |
@@ -38,12 +38,12 @@ | |||
38 | */ | 38 | */ |
39 | void | 39 | void |
40 | GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer, | 40 | GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer, |
41 | struct GSC_KeyExchangeInfo *kx); | 41 | struct GSC_KeyExchangeInfo *kx); |
42 | 42 | ||
43 | 43 | ||
44 | /** | 44 | /** |
45 | * End the session with the given peer (we are no longer | 45 | * End the session with the given peer (we are no longer |
46 | * connected). | 46 | * connected). |
47 | * | 47 | * |
48 | * @param pid identity of peer to kill session with | 48 | * @param pid identity of peer to kill session with |
49 | */ | 49 | */ |
@@ -95,8 +95,7 @@ GSC_SESSIONS_dequeue_request (struct GSC_ClientActiveRequest *car); | |||
95 | */ | 95 | */ |
96 | void | 96 | void |
97 | GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car, | 97 | GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car, |
98 | const struct GNUNET_MessageHeader *msg, | 98 | const struct GNUNET_MessageHeader *msg, int cork); |
99 | int cork); | ||
100 | 99 | ||
101 | 100 | ||
102 | /** | 101 | /** |
@@ -125,7 +124,7 @@ GSC_SESSIONS_notify_client_about_sessions (struct GSC_Client *client); | |||
125 | */ | 124 | */ |
126 | void | 125 | void |
127 | GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer, | 126 | GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer, |
128 | const struct GNUNET_MessageHeader *msg); | 127 | const struct GNUNET_MessageHeader *msg); |
129 | 128 | ||
130 | 129 | ||
131 | /** | 130 | /** |
@@ -138,7 +137,7 @@ GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer, | |||
138 | */ | 137 | */ |
139 | void | 138 | void |
140 | GSC_SESSIONS_add_to_typemap (const struct GNUNET_PeerIdentity *peer, | 139 | GSC_SESSIONS_add_to_typemap (const struct GNUNET_PeerIdentity *peer, |
141 | uint16_t type); | 140 | uint16_t type); |
142 | 141 | ||
143 | 142 | ||
144 | /** | 143 | /** |
@@ -151,8 +150,10 @@ GSC_SESSIONS_add_to_typemap (const struct GNUNET_PeerIdentity *peer, | |||
151 | * @param message iteration request message | 150 | * @param message iteration request message |
152 | */ | 151 | */ |
153 | void | 152 | void |
154 | GSC_SESSIONS_handle_client_iterate_peers (void *cls, struct GNUNET_SERVER_Client *client, | 153 | GSC_SESSIONS_handle_client_iterate_peers (void *cls, |
155 | const struct GNUNET_MessageHeader *message); | 154 | struct GNUNET_SERVER_Client *client, |
155 | const struct GNUNET_MessageHeader | ||
156 | *message); | ||
156 | 157 | ||
157 | 158 | ||
158 | /** | 159 | /** |
@@ -166,8 +167,10 @@ GSC_SESSIONS_handle_client_iterate_peers (void *cls, struct GNUNET_SERVER_Client | |||
166 | * @param message iteration request message | 167 | * @param message iteration request message |
167 | */ | 168 | */ |
168 | void | 169 | void |
169 | GSC_SESSIONS_handle_client_have_peer (void *cls, struct GNUNET_SERVER_Client *client, | 170 | GSC_SESSIONS_handle_client_have_peer (void *cls, |
170 | const struct GNUNET_MessageHeader *message); | 171 | struct GNUNET_SERVER_Client *client, |
172 | const struct GNUNET_MessageHeader | ||
173 | *message); | ||
171 | 174 | ||
172 | 175 | ||
173 | 176 | ||