gnunet-ext

Template for writing GNUnet extensions
Log | Files | Refs | README | LICENSE

commit a5dbec30d3fa303b598622a9851d1ad40d295c42
parent b8b830a5a20cf03a7bb33a772f976bdff86af1dd
Author:  <wachs@net.in.tum.de>
Date:   Tue, 18 Mar 2014 08:45:57 +0000

adding missing client API interface


Diffstat:
Asrc/ext/ext.h | 44++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+), 0 deletions(-)

diff --git a/src/ext/ext.h b/src/ext/ext.h @@ -0,0 +1,44 @@ +/* + This file is part of GNUnet + (C) 2012-2013 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 ext/ext.h + * @brief example IPC messages between EXT API and GNS service + * @author Matthias Wachs + */ + +#include "gnunet_ext_service.h" + + +GNUNET_NETWORK_STRUCT_BEGIN + +/** + * Message from client to GNS service to lookup records. + */ +struct GNUNET_EXT_ExampleMessage +{ + /** + * Header including size and type in NBO + */ + struct GNUNET_MessageHeader header; + + /* Add more fields here ... */ +}; + +GNUNET_NETWORK_STRUCT_END