From 2b3767b6c7f244f55b9738da102f848eb19f984d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 4 Aug 2011 12:21:21 +0000 Subject: draft headers --- src/transport/gnunet-service-transport_hello.h | 71 ++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 src/transport/gnunet-service-transport_hello.h (limited to 'src/transport/gnunet-service-transport_hello.h') diff --git a/src/transport/gnunet-service-transport_hello.h b/src/transport/gnunet-service-transport_hello.h new file mode 100644 index 000000000..75fef07ae --- /dev/null +++ b/src/transport/gnunet-service-transport_hello.h @@ -0,0 +1,71 @@ +/* + This file is part of GNUnet. + (C) 2010,2011 Christian Grothoff (and other contributing authors) + + GNUnet is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3, or (at your + option) any later version. + + GNUnet is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNUnet; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +/** + * @file transport/gnunet-service-transport_hello.h + * @brief hello API + * @author Christian Grothoff + */ +#ifndef GNUNET_SERVICE_TRANSPORT_HELLO_H +#define GNUNET_SERVICE_TRANSPORT_HELLO_H + +#include "gnunet_statistics_service.h" +#include "gnunet_transport_service.h" +#include "gnunet_util_lib.h" + + +/** + * + */ +void +GST_hello_start (void); + +/** + * + */ +void +GST_hello_stop (void); + +/** + * + */ +const struct GNUNET_MessageHeader * +GST_hello_get (void); + +/** + * + */ +void +GST_hello_modify_addresses (int addremove, + const char *plugin_name, + const void *plugin_address, + size_t plugin_address_len); + +/** + * + */ +int +GST_hello_test_address (const char *plugin_name, + const void *plugin_address, + size_t plugin_address_len); + + +#endif +/* end of file gnunet-service-transport_hello.h */ -- cgit v1.2.3