diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-13 21:59:41 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-13 21:59:41 +0000 |
commit | 06d594e14f81143df0197ce468bd82967471bcb4 (patch) | |
tree | 9143722ac52023ad7db9237d2475f9bd7ba02d73 /src/transport/gnunet-service-transport_clients.h | |
parent | c01972f2300865e9750092d566da5b08a05c7b4f (diff) | |
download | gnunet-06d594e14f81143df0197ce468bd82967471bcb4.tar.gz gnunet-06d594e14f81143df0197ce468bd82967471bcb4.zip |
setup handlers
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.h')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.h | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/src/transport/gnunet-service-transport_clients.h b/src/transport/gnunet-service-transport_clients.h index a8ae14a53..a9ee55279 100644 --- a/src/transport/gnunet-service-transport_clients.h +++ b/src/transport/gnunet-service-transport_clients.h | |||
@@ -47,101 +47,6 @@ GST_clients_stop (void); | |||
47 | 47 | ||
48 | 48 | ||
49 | /** | 49 | /** |
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 | ||
52 | * messages. | ||
53 | * | ||
54 | * @param cls unused | ||
55 | * @param client the client | ||
56 | * @param message the start message that was sent | ||
57 | */ | ||
58 | void | ||
59 | GST_clients_handle_start (void *cls, | ||
60 | struct GNUNET_SERVER_Client *client, | ||
61 | const struct GNUNET_MessageHeader *message); | ||
62 | |||
63 | |||
64 | /** | ||
65 | * Client sent us a HELLO. Process the request. | ||
66 | * | ||
67 | * @param cls unused | ||
68 | * @param client the client | ||
69 | * @param message the HELLO message | ||
70 | */ | ||
71 | void | ||
72 | GST_clients_handle_hello (void *cls, | ||
73 | struct GNUNET_SERVER_Client *client, | ||
74 | const struct GNUNET_MessageHeader *message); | ||
75 | |||
76 | |||
77 | /** | ||
78 | * Client asked for transmission to a peer. Process the request. | ||
79 | * | ||
80 | * @param cls unused | ||
81 | * @param client the client | ||
82 | * @param message the send message that was sent | ||
83 | */ | ||
84 | void | ||
85 | GST_clients_handle_send (void *cls, | ||
86 | struct GNUNET_SERVER_Client *client, | ||
87 | const struct GNUNET_MessageHeader *message); | ||
88 | |||
89 | |||
90 | /** | ||
91 | * Client asked for a quota change for a particular peer. Process the request. | ||
92 | * | ||
93 | * @param cls unused | ||
94 | * @param client the client | ||
95 | * @param message the quota changing message | ||
96 | */ | ||
97 | void | ||
98 | GST_clients_handle_set_quota (void *cls, | ||
99 | struct GNUNET_SERVER_Client *client, | ||
100 | const struct GNUNET_MessageHeader *message); | ||
101 | |||
102 | |||
103 | /** | ||
104 | * Client asked to resolve an address. Process the request. | ||
105 | * | ||
106 | * @param cls unused | ||
107 | * @param client the client | ||
108 | * @param message the resolution request | ||
109 | */ | ||
110 | void | ||
111 | GST_clients_handle_address_lookup (void *cls, | ||
112 | struct GNUNET_SERVER_Client *client, | ||
113 | const struct GNUNET_MessageHeader *message); | ||
114 | |||
115 | |||
116 | /** | ||
117 | * Client asked to obtain information about a peer's addresses. | ||
118 | * Process the request. | ||
119 | * | ||
120 | * @param cls unused | ||
121 | * @param client the client | ||
122 | * @param message the peer address information request | ||
123 | */ | ||
124 | void | ||
125 | GST_clients_handle_peer_address_lookup (void *cls, | ||
126 | struct GNUNET_SERVER_Client *client, | ||
127 | const struct GNUNET_MessageHeader *message); | ||
128 | |||
129 | |||
130 | /** | ||
131 | * Client asked to obtain information about all addresses. | ||
132 | * Process the request. | ||
133 | * | ||
134 | * @param cls unused | ||
135 | * @param client the client | ||
136 | * @param message the peer address information request | ||
137 | */ | ||
138 | void | ||
139 | GST_clients_handle_address_iterate (void *cls, | ||
140 | struct GNUNET_SERVER_Client *client, | ||
141 | const struct GNUNET_MessageHeader *message); | ||
142 | |||
143 | |||
144 | /** | ||
145 | * Broadcast the given message to all of our clients. | 50 | * Broadcast the given message to all of our clients. |
146 | * | 51 | * |
147 | * @param msg message to broadcast | 52 | * @param msg message to broadcast |