diff options
Diffstat (limited to 'src/core/gnunet-service-core_clients.h')
-rw-r--r-- | src/core/gnunet-service-core_clients.h | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/src/core/gnunet-service-core_clients.h b/src/core/gnunet-service-core_clients.h index 2385efc05..bdad20da8 100644 --- a/src/core/gnunet-service-core_clients.h +++ b/src/core/gnunet-service-core_clients.h | |||
@@ -41,8 +41,8 @@ | |||
41 | */ | 41 | */ |
42 | void | 42 | void |
43 | GSC_CLIENTS_send_to_client (struct GNUNET_SERVER_Client *client, | 43 | GSC_CLIENTS_send_to_client (struct GNUNET_SERVER_Client *client, |
44 | const struct GNUNET_MessageHeader *msg, | 44 | const struct GNUNET_MessageHeader *msg, |
45 | int can_drop); | 45 | int can_drop); |
46 | 46 | ||
47 | 47 | ||
48 | /** | 48 | /** |
@@ -59,11 +59,12 @@ GSC_CLIENTS_send_to_client (struct GNUNET_SERVER_Client *client, | |||
59 | */ | 59 | */ |
60 | void | 60 | void |
61 | GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, | 61 | GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, |
62 | const struct GNUNET_PeerIdentity *neighbour, | 62 | const struct GNUNET_PeerIdentity |
63 | const struct GNUNET_ATS_Information *atsi, | 63 | *neighbour, |
64 | unsigned int atsi_count, | 64 | const struct GNUNET_ATS_Information |
65 | const struct GSC_TypeMap *tmap_old, | 65 | *atsi, unsigned int atsi_count, |
66 | const struct GSC_TypeMap *tmap_new); | 66 | const struct GSC_TypeMap *tmap_old, |
67 | const struct GSC_TypeMap *tmap_new); | ||
67 | 68 | ||
68 | 69 | ||
69 | /** | 70 | /** |
@@ -78,19 +79,20 @@ GSC_CLIENTS_notify_client_about_neighbour (struct GSC_Client *client, | |||
78 | * @param tmap_new updated type map for the neighbour, NULL for disconnect | 79 | * @param tmap_new updated type map for the neighbour, NULL for disconnect |
79 | */ | 80 | */ |
80 | void | 81 | void |
81 | GSC_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *neighbour, | 82 | GSC_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity |
82 | const struct GNUNET_ATS_Information *atsi, | 83 | *neighbour, |
83 | unsigned int atsi_count, | 84 | const struct GNUNET_ATS_Information |
84 | const struct GSC_TypeMap *tmap_old, | 85 | *atsi, unsigned int atsi_count, |
85 | const struct GSC_TypeMap *tmap_new); | 86 | const struct GSC_TypeMap *tmap_old, |
87 | const struct GSC_TypeMap *tmap_new); | ||
86 | 88 | ||
87 | 89 | ||
88 | /** | 90 | /** |
89 | * Deliver P2P message to interested clients. Caller must have checked | 91 | * Deliver P2P message to interested clients. Caller must have checked |
90 | * that the sending peer actually lists the given message type as one | 92 | * that the sending peer actually lists the given message type as one |
91 | * of its types. | 93 | * of its types. |
92 | * | 94 | * |
93 | * @param sender peer who sent us the message | 95 | * @param sender peer who sent us the message |
94 | * @param atsi performance information about neighbour | 96 | * @param atsi performance information about neighbour |
95 | * @param atsi_count number of entries in 'ats' array | 97 | * @param atsi_count number of entries in 'ats' array |
96 | * @param msg the message | 98 | * @param msg the message |
@@ -100,11 +102,10 @@ GSC_CLIENTS_notify_clients_about_neighbour (const struct GNUNET_PeerIdentity *ne | |||
100 | */ | 102 | */ |
101 | void | 103 | void |
102 | GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender, | 104 | GSC_CLIENTS_deliver_message (const struct GNUNET_PeerIdentity *sender, |
103 | const struct GNUNET_ATS_Information *atsi, | 105 | const struct GNUNET_ATS_Information *atsi, |
104 | unsigned int atsi_count, | 106 | unsigned int atsi_count, |
105 | const struct GNUNET_MessageHeader *msg, | 107 | const struct GNUNET_MessageHeader *msg, |
106 | uint16_t msize, | 108 | uint16_t msize, int options); |
107 | int options); | ||
108 | 109 | ||
109 | 110 | ||
110 | /** | 111 | /** |