diff options
Diffstat (limited to 'src/core/gnunet-service-core_sessions.h')
-rw-r--r-- | src/core/gnunet-service-core_sessions.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/core/gnunet-service-core_sessions.h b/src/core/gnunet-service-core_sessions.h index ba0f0a0db..fda2cc32c 100644 --- a/src/core/gnunet-service-core_sessions.h +++ b/src/core/gnunet-service-core_sessions.h | |||
@@ -37,8 +37,8 @@ | |||
37 | * @param kx key exchange that completed | 37 | * @param kx key exchange that completed |
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 | /** |
@@ -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 | */ |
51 | void | 51 | void |
52 | GSC_SESSIONS_reinit(const struct GNUNET_PeerIdentity *peer); | 52 | GSC_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 | */ |
62 | void | 62 | void |
63 | GSC_SESSIONS_confirm_typemap(const struct GNUNET_PeerIdentity *peer, | 63 | GSC_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 | */ |
73 | void | 73 | void |
74 | GSC_SESSIONS_end(const struct GNUNET_PeerIdentity *pid); | 74 | GSC_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 | */ |
84 | void | 84 | void |
85 | GSC_SESSIONS_solicit(const struct GNUNET_PeerIdentity *pid); | 85 | GSC_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 | */ |
97 | void | 97 | void |
98 | GSC_SESSIONS_queue_request(struct GSC_ClientActiveRequest *car); | 98 | GSC_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 | */ |
107 | void | 107 | void |
108 | GSC_SESSIONS_dequeue_request(struct GSC_ClientActiveRequest *car); | 108 | GSC_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 | */ |
119 | void | 119 | void |
120 | GSC_SESSIONS_transmit(struct GSC_ClientActiveRequest *car, | 120 | GSC_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 | */ |
131 | void | 131 | void |
132 | GSC_SESSIONS_broadcast_typemap(const struct GNUNET_MessageHeader *msg); | 132 | GSC_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 | */ |
140 | void | 140 | void |
141 | GSC_SESSIONS_notify_client_about_sessions(struct GSC_Client *client); | 141 | GSC_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 | */ |
151 | void | 151 | void |
152 | GSC_SESSIONS_set_typemap(const struct GNUNET_PeerIdentity *peer, | 152 | GSC_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 | */ |
164 | void | 164 | void |
165 | GSC_SESSIONS_add_to_typemap(const struct GNUNET_PeerIdentity *peer, | 165 | GSC_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 | */ |
172 | void | 172 | void |
173 | GSC_SESSIONS_init(void); | 173 | GSC_SESSIONS_init (void); |
174 | 174 | ||
175 | 175 | ||
176 | /** | 176 | /** |
177 | * Shutdown sessions subsystem. | 177 | * Shutdown sessions subsystem. |
178 | */ | 178 | */ |
179 | void | 179 | void |
180 | GSC_SESSIONS_done(void); | 180 | GSC_SESSIONS_done (void); |
181 | 181 | ||
182 | 182 | ||
183 | #endif | 183 | #endif |