aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_clients.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-05 08:18:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-05 08:18:52 +0000
commit6b0266fa3464b54f37ec1e1f2ac0725b318b0027 (patch)
tree5c9243cb0b8d59872c70ee28fdf7284b4b7b4f8f /src/transport/gnunet-service-transport_clients.h
parent857cb6a5341bc27cf1997fc48c2df173c4380fd2 (diff)
downloadgnunet-6b0266fa3464b54f37ec1e1f2ac0725b318b0027.tar.gz
gnunet-6b0266fa3464b54f37ec1e1f2ac0725b318b0027.zip
more client code
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.h')
-rw-r--r--src/transport/gnunet-service-transport_clients.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/transport/gnunet-service-transport_clients.h b/src/transport/gnunet-service-transport_clients.h
index 3bd9c008c..c18c051fb 100644
--- a/src/transport/gnunet-service-transport_clients.h
+++ b/src/transport/gnunet-service-transport_clients.h
@@ -47,18 +47,18 @@ GST_clients_stop (void);
47 47
48 48
49/** 49/**
50 * Initialize a normal client. We got an init message from this 50 * Initialize a normal client. We got a start message from this
51 * client, add him to the list of clients for broadcasting of inbound 51 * client, add him to the list of clients for broadcasting of inbound
52 * messages. 52 * messages.
53 * 53 *
54 * @param cls unused 54 * @param cls unused
55 * @param client the client 55 * @param client the client
56 * @param message the init message that was sent 56 * @param message the start message that was sent
57 */ 57 */
58void 58void
59GST_clients_handle_init (void *cls, 59GST_clients_handle_start (void *cls,
60 struct GNUNET_SERVER_Client *client, 60 struct GNUNET_SERVER_Client *client,
61 const struct GNUNET_MessageHeader *message); 61 const struct GNUNET_MessageHeader *message);
62 62
63 63
64/** 64/**
@@ -132,11 +132,11 @@ GST_clients_handle_address_iterate (void *cls,
132 * Broadcast the given message to all of our clients. 132 * Broadcast the given message to all of our clients.
133 * 133 *
134 * @param msg message to broadcast 134 * @param msg message to broadcast
135 * @param candrop GNUNET_YES if the message can be dropped 135 * @param may_drop GNUNET_YES if the message can be dropped
136 */ 136 */
137void 137void
138GST_clients_broadcast (const struct GNUNET_MessageHeader *msg, 138GST_clients_broadcast (const struct GNUNET_MessageHeader *msg,
139 int candrop); 139 int may_drop);
140 140
141 141
142/** 142/**
@@ -144,12 +144,12 @@ GST_clients_broadcast (const struct GNUNET_MessageHeader *msg,
144 * 144 *
145 * @param client target of the message 145 * @param client target of the message
146 * @param msg message to transmit 146 * @param msg message to transmit
147 * @param candrop GNUNET_YES if the message can be dropped 147 * @param may_drop GNUNET_YES if the message can be dropped
148 */ 148 */
149void 149void
150GST_clients_unicast (struct GNUNET_SERVER_Client *client, 150GST_clients_unicast (struct GNUNET_SERVER_Client *client,
151 const struct GNUNET_MessageHeader *msg, 151 const struct GNUNET_MessageHeader *msg,
152 int candrop); 152 int may_drop);
153 153
154 154
155 155