summaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_sessions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-service-core_sessions.h')
-rw-r--r--src/core/gnunet-service-core_sessions.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/core/gnunet-service-core_sessions.h b/src/core/gnunet-service-core_sessions.h
index e92ce0962..ba0f0a0db 100644
--- a/src/core/gnunet-service-core_sessions.h
+++ b/src/core/gnunet-service-core_sessions.h
@@ -16,7 +16,7 @@
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file core/gnunet-service-core_neighbours.h 22 * @file core/gnunet-service-core_neighbours.h
@@ -37,8 +37,8 @@
37 * @param kx key exchange that completed 37 * @param kx key exchange that completed
38 */ 38 */
39void 39void
40GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer, 40GSC_SESSIONS_create(const struct GNUNET_PeerIdentity *peer,
41 struct GSC_KeyExchangeInfo *kx); 41 struct GSC_KeyExchangeInfo *kx);
42 42
43 43
44/** 44/**
@@ -49,7 +49,7 @@ GSC_SESSIONS_create (const struct GNUNET_PeerIdentity *peer,
49 * @param peer peer that is now connected 49 * @param peer peer that is now connected
50 */ 50 */
51void 51void
52GSC_SESSIONS_reinit (const struct GNUNET_PeerIdentity *peer); 52GSC_SESSIONS_reinit(const struct GNUNET_PeerIdentity *peer);
53 53
54 54
55/** 55/**
@@ -60,8 +60,8 @@ GSC_SESSIONS_reinit (const struct GNUNET_PeerIdentity *peer);
60 * @param msg confirmation message we received 60 * @param msg confirmation message we received
61 */ 61 */
62void 62void
63GSC_SESSIONS_confirm_typemap (const struct GNUNET_PeerIdentity *peer, 63GSC_SESSIONS_confirm_typemap(const struct GNUNET_PeerIdentity *peer,
64 const struct GNUNET_MessageHeader *msg); 64 const struct GNUNET_MessageHeader *msg);
65 65
66 66
67/** 67/**
@@ -71,7 +71,7 @@ GSC_SESSIONS_confirm_typemap (const struct GNUNET_PeerIdentity *peer,
71 * @param pid identity of peer to kill session with 71 * @param pid identity of peer to kill session with
72 */ 72 */
73void 73void
74GSC_SESSIONS_end (const struct GNUNET_PeerIdentity *pid); 74GSC_SESSIONS_end(const struct GNUNET_PeerIdentity *pid);
75 75
76 76
77/** 77/**
@@ -82,7 +82,7 @@ GSC_SESSIONS_end (const struct GNUNET_PeerIdentity *pid);
82 * @param pid identity of peer ready to receive data 82 * @param pid identity of peer ready to receive data
83 */ 83 */
84void 84void
85GSC_SESSIONS_solicit (const struct GNUNET_PeerIdentity *pid); 85GSC_SESSIONS_solicit(const struct GNUNET_PeerIdentity *pid);
86 86
87 87
88/** 88/**
@@ -95,7 +95,7 @@ GSC_SESSIONS_solicit (const struct GNUNET_PeerIdentity *pid);
95 * have been invoked on it 95 * have been invoked on it
96 */ 96 */
97void 97void
98GSC_SESSIONS_queue_request (struct GSC_ClientActiveRequest *car); 98GSC_SESSIONS_queue_request(struct GSC_ClientActiveRequest *car);
99 99
100 100
101/** 101/**
@@ -105,7 +105,7 @@ GSC_SESSIONS_queue_request (struct GSC_ClientActiveRequest *car);
105 * the caller (CLIENTS sysbsystem) 105 * the caller (CLIENTS sysbsystem)
106 */ 106 */
107void 107void
108GSC_SESSIONS_dequeue_request (struct GSC_ClientActiveRequest *car); 108GSC_SESSIONS_dequeue_request(struct GSC_ClientActiveRequest *car);
109 109
110 110
111/** 111/**
@@ -117,9 +117,9 @@ GSC_SESSIONS_dequeue_request (struct GSC_ClientActiveRequest *car);
117 * @param priority how important is this message 117 * @param priority how important is this message
118 */ 118 */
119void 119void
120GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car, 120GSC_SESSIONS_transmit(struct GSC_ClientActiveRequest *car,
121 const struct GNUNET_MessageHeader *msg, 121 const struct GNUNET_MessageHeader *msg,
122 enum GNUNET_MQ_PriorityPreferences priority); 122 enum GNUNET_MQ_PriorityPreferences priority);
123 123
124 124
125/** 125/**
@@ -129,7 +129,7 @@ GSC_SESSIONS_transmit (struct GSC_ClientActiveRequest *car,
129 * @param msg message to transmit 129 * @param msg message to transmit
130 */ 130 */
131void 131void
132GSC_SESSIONS_broadcast_typemap (const struct GNUNET_MessageHeader *msg); 132GSC_SESSIONS_broadcast_typemap(const struct GNUNET_MessageHeader *msg);
133 133
134 134
135/** 135/**
@@ -138,7 +138,7 @@ GSC_SESSIONS_broadcast_typemap (const struct GNUNET_MessageHeader *msg);
138 * @param client the new client 138 * @param client the new client
139 */ 139 */
140void 140void
141GSC_SESSIONS_notify_client_about_sessions (struct GSC_Client *client); 141GSC_SESSIONS_notify_client_about_sessions(struct GSC_Client *client);
142 142
143 143
144/** 144/**
@@ -149,8 +149,8 @@ GSC_SESSIONS_notify_client_about_sessions (struct GSC_Client *client);
149 * @param msg typemap update message 149 * @param msg typemap update message
150 */ 150 */
151void 151void
152GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer, 152GSC_SESSIONS_set_typemap(const struct GNUNET_PeerIdentity *peer,
153 const struct GNUNET_MessageHeader *msg); 153 const struct GNUNET_MessageHeader *msg);
154 154
155 155
156/** 156/**
@@ -162,22 +162,22 @@ GSC_SESSIONS_set_typemap (const struct GNUNET_PeerIdentity *peer,
162 * @param type type of the message 162 * @param type type of the message
163 */ 163 */
164void 164void
165GSC_SESSIONS_add_to_typemap (const struct GNUNET_PeerIdentity *peer, 165GSC_SESSIONS_add_to_typemap(const struct GNUNET_PeerIdentity *peer,
166 uint16_t type); 166 uint16_t type);
167 167
168 168
169/** 169/**
170 * Initialize sessions subsystem. 170 * Initialize sessions subsystem.
171 */ 171 */
172void 172void
173GSC_SESSIONS_init (void); 173GSC_SESSIONS_init(void);
174 174
175 175
176/** 176/**
177 * Shutdown sessions subsystem. 177 * Shutdown sessions subsystem.
178 */ 178 */
179void 179void
180GSC_SESSIONS_done (void); 180GSC_SESSIONS_done(void);
181 181
182 182
183#endif 183#endif