aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gnunet-service-core.h')
-rw-r--r--src/core/gnunet-service-core.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/core/gnunet-service-core.h b/src/core/gnunet-service-core.h
index 7cb4dffa9..0f71f221a 100644
--- a/src/core/gnunet-service-core.h
+++ b/src/core/gnunet-service-core.h
@@ -43,7 +43,8 @@ struct GSC_Client;
43 * client that is still pending. (This struct is used by 43 * client that is still pending. (This struct is used by
44 * both the 'CLIENTS' and 'SESSIONS' subsystems.) 44 * both the 'CLIENTS' and 'SESSIONS' subsystems.)
45 */ 45 */
46struct GSC_ClientActiveRequest { 46struct GSC_ClientActiveRequest
47{
47 /** 48 /**
48 * Active requests are kept in a doubly-linked list of 49 * Active requests are kept in a doubly-linked list of
49 * the respective target peer. 50 * the respective target peer.
@@ -106,7 +107,7 @@ struct GSC_ClientActiveRequest {
106 * and SESSIONS after this call. 107 * and SESSIONS after this call.
107 */ 108 */
108void 109void
109GSC_CLIENTS_solicit_request(struct GSC_ClientActiveRequest *car); 110GSC_CLIENTS_solicit_request (struct GSC_ClientActiveRequest *car);
110 111
111 112
112/** 113/**
@@ -122,8 +123,8 @@ GSC_CLIENTS_solicit_request(struct GSC_ClientActiveRequest *car);
122 * and we should thus drop the connection 123 * and we should thus drop the connection
123 */ 124 */
124void 125void
125GSC_CLIENTS_reject_request(struct GSC_ClientActiveRequest *car, 126GSC_CLIENTS_reject_request (struct GSC_ClientActiveRequest *car,
126 int drop_client); 127 int drop_client);
127 128
128 129
129/** 130/**
@@ -137,7 +138,7 @@ GSC_CLIENTS_reject_request(struct GSC_ClientActiveRequest *car,
137 * @param tmap_new updated type map for the neighbour, NULL for disconnect 138 * @param tmap_new updated type map for the neighbour, NULL for disconnect
138 */ 139 */
139void 140void
140GSC_CLIENTS_notify_client_about_neighbour( 141GSC_CLIENTS_notify_client_about_neighbour (
141 struct GSC_Client *client, 142 struct GSC_Client *client,
142 const struct GNUNET_PeerIdentity *neighbour, 143 const struct GNUNET_PeerIdentity *neighbour,
143 const struct GSC_TypeMap *tmap_old, 144 const struct GSC_TypeMap *tmap_old,
@@ -156,10 +157,10 @@ GSC_CLIENTS_notify_client_about_neighbour(
156 * receive the message 157 * receive the message
157 */ 158 */
158void 159void
159GSC_CLIENTS_deliver_message(const struct GNUNET_PeerIdentity *sender, 160GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender,
160 const struct GNUNET_MessageHeader *msg, 161 const struct GNUNET_MessageHeader *msg,
161 uint16_t msize, 162 uint16_t msize,
162 uint32_t options); 163 uint32_t options);
163 164
164 165
165/** 166/**
@@ -172,7 +173,7 @@ GSC_CLIENTS_deliver_message(const struct GNUNET_PeerIdentity *sender,
172 * @param tmap_new updated type map for the neighbour, NULL for disconnect 173 * @param tmap_new updated type map for the neighbour, NULL for disconnect
173 */ 174 */
174void 175void
175GSC_CLIENTS_notify_clients_about_neighbour( 176GSC_CLIENTS_notify_clients_about_neighbour (
176 const struct GNUNET_PeerIdentity *neighbour, 177 const struct GNUNET_PeerIdentity *neighbour,
177 const struct GSC_TypeMap *tmap_old, 178 const struct GSC_TypeMap *tmap_old,
178 const struct GSC_TypeMap *tmap_new); 179 const struct GSC_TypeMap *tmap_new);