diff options
author | <wachs@net.in.tum.de> | 2014-03-18 08:45:57 +0000 |
---|---|---|
committer | <wachs@net.in.tum.de> | 2014-03-18 08:45:57 +0000 |
commit | a5dbec30d3fa303b598622a9851d1ad40d295c42 (patch) | |
tree | 1e819a12a3b520f16c0532878e3d40a0ac114151 | |
parent | b8b830a5a20cf03a7bb33a772f976bdff86af1dd (diff) | |
download | gnunet-ext-a5dbec30d3fa303b598622a9851d1ad40d295c42.tar.gz gnunet-ext-a5dbec30d3fa303b598622a9851d1ad40d295c42.zip |
adding missing client API interface
-rw-r--r-- | src/ext/ext.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/ext/ext.h b/src/ext/ext.h new file mode 100644 index 0000000..41e2228 --- /dev/null +++ b/src/ext/ext.h | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet | ||
3 | (C) 2012-2013 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 | * @file ext/ext.h | ||
22 | * @brief example IPC messages between EXT API and GNS service | ||
23 | * @author Matthias Wachs | ||
24 | */ | ||
25 | |||
26 | #include "gnunet_ext_service.h" | ||
27 | |||
28 | |||
29 | GNUNET_NETWORK_STRUCT_BEGIN | ||
30 | |||
31 | /** | ||
32 | * Message from client to GNS service to lookup records. | ||
33 | */ | ||
34 | struct GNUNET_EXT_ExampleMessage | ||
35 | { | ||
36 | /** | ||
37 | * Header including size and type in NBO | ||
38 | */ | ||
39 | struct GNUNET_MessageHeader header; | ||
40 | |||
41 | /* Add more fields here ... */ | ||
42 | }; | ||
43 | |||
44 | GNUNET_NETWORK_STRUCT_END | ||