aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-28 09:02:31 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-28 09:02:31 +0000
commit078f7063aef1d4105e71160b8764ab95c2dcdfbe (patch)
tree86d498356ceaaa1ba738f64a158cce2cd0163a15 /src/include
parent9469cd334f29ca9437e13eb951b53b7690f10be9 (diff)
downloadgnunet-078f7063aef1d4105e71160b8764ab95c2dcdfbe.tar.gz
gnunet-078f7063aef1d4105e71160b8764ab95c2dcdfbe.zip
adding --enable-taler-wallet configure option to build a reduced version of libgnunetutil with only the parts needed by GNU Taler wallets
Diffstat (limited to 'src/include')
-rw-r--r--src/include/Makefile.am7
-rw-r--r--src/include/gnunet_util_taler_wallet_lib.h56
2 files changed, 63 insertions, 0 deletions
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index ff5252d3d..ad5773556 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -13,6 +13,11 @@ EXTRA_DIST = \
13 block_dns.h \ 13 block_dns.h \
14 block_regex.h 14 block_regex.h
15 15
16if TALER_ONLY
17gnunetinclude_HEADERS = \
18 gnunet_util_taler_wallet.h
19else
20
16gnunetinclude_HEADERS = \ 21gnunetinclude_HEADERS = \
17 platform.h plibc.h $(WINPROC) gettext.h \ 22 platform.h plibc.h $(WINPROC) gettext.h \
18 gnunet_applications.h \ 23 gnunet_applications.h \
@@ -105,3 +110,5 @@ gnunetinclude_HEADERS = \
105 gnunet_tun_lib.h \ 110 gnunet_tun_lib.h \
106 gnunet_util_lib.h \ 111 gnunet_util_lib.h \
107 gnunet_vpn_service.h 112 gnunet_vpn_service.h
113
114endif
diff --git a/src/include/gnunet_util_taler_wallet_lib.h b/src/include/gnunet_util_taler_wallet_lib.h
new file mode 100644
index 000000000..ff3b2613b
--- /dev/null
+++ b/src/include/gnunet_util_taler_wallet_lib.h
@@ -0,0 +1,56 @@
1/*
2 This file is part of GNUnet
3 Copyright (C) 2009, 2015 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 include/gnunet_util_taler_wallet_lib.h
23 * @brief convenience header including all headers of subsystems in
24 * gnunet_util_taler_wallet library. Note that (due to the
25 * structure of the original headers), not all symbols declared
26 * by the included headers are actually included in the
27 * gnunet_util_taler_wallet library! The library excludes anything
28 * relating to the GNUnet installation location, scheduler, networking
29 * or OS-specific logic that would not apply to Apps/Browser extensions.
30 * @author Christian Grothoff
31 */
32
33#ifndef GNUNET_UTIL_TALER_WALLET_LIB_H
34#define GNUNET_UTIL_TALER_WALLET_LIB_H
35
36#ifdef __cplusplus
37extern "C"
38{
39#if 0 /* keep Emacsens' auto-indent happy */
40}
41#endif
42#endif
43
44#include "gnunet_crypto_lib.h"
45#include "gnunet_container_lib.h"
46#include "gnunet_disk_lib.h"
47#include "gnunet_strings_lib.h"
48
49#if 0 /* keep Emacsens' auto-indent happy */
50{
51#endif
52#ifdef __cplusplus
53}
54#endif
55
56#endif