diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-04 14:17:40 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-04 14:17:40 +0000 |
commit | 3ba21d7f05658f4c9a090a41ffbe04c6729d0916 (patch) | |
tree | 2e23aa6d04a917987f393048b7d007e488d7f1a8 /src/transport/gnunet-service-transport_clients.c | |
parent | 58cc7545c068d1deb7f7085822646313d5271b0f (diff) | |
download | gnunet-3ba21d7f05658f4c9a090a41ffbe04c6729d0916.tar.gz gnunet-3ba21d7f05658f4c9a090a41ffbe04c6729d0916.zip |
implementing new HELLO api
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.c')
-rw-r--r-- | src/transport/gnunet-service-transport_clients.c | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c new file mode 100644 index 000000000..9fe367c16 --- /dev/null +++ b/src/transport/gnunet-service-transport_clients.c | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2010,2011 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file transport/gnunet-service-transport_clients.c | ||
23 | * @brief plugin management API | ||
24 | * @author Christian Grothoff | ||
25 | */ | ||
26 | #include "platform.h" | ||
27 | #include "gnunet-service-transport_clients.h" | ||
28 | |||
29 | |||
30 | /** | ||
31 | * Start handling requests from clients. | ||
32 | * | ||
33 | * @param server server used to accept clients from. | ||
34 | */ | ||
35 | void | ||
36 | GST_clients_start (struct GNUNET_SERVER_Handle *server) | ||
37 | { | ||
38 | } | ||
39 | |||
40 | |||
41 | /** | ||
42 | * Stop processing clients. | ||
43 | */ | ||
44 | void | ||
45 | GST_clients_stop () | ||
46 | { | ||
47 | } | ||
48 | |||
49 | |||
50 | /** | ||
51 | * Broadcast the given message to all of our clients. | ||
52 | * | ||
53 | * @param msg message to broadcast | ||
54 | */ | ||
55 | void | ||
56 | GST_clients_broadcast (const struct GNUNET_MessageHeader *msg) | ||
57 | { | ||
58 | |||
59 | } | ||
60 | |||
61 | |||
62 | /* end of file gnunet-service-transport_clients.c */ | ||