implementing #3905

This commit is contained in:
Christian Grothoff 2015-07-20 10:34:32 +02:00
parent 0e69c33d1f
commit beceb3bc16
5 changed files with 16 additions and 8 deletions

View File

@ -6,8 +6,8 @@ talerinclude_HEADERS = \
platform.h \ platform.h \
taler_amount_lib.h \ taler_amount_lib.h \
taler_crypto_lib.h \ taler_crypto_lib.h \
taler_util_wallet.h taler_util_wallet.h \
taler_signatures.h
else else
talerinclude_HEADERS = \ talerinclude_HEADERS = \

View File

@ -29,6 +29,8 @@ extern "C"
#endif #endif
#endif #endif
#include <gnunet/platform.h>
/** /**
* @brief Number of characters (plus 1 for 0-termination) we use to * @brief Number of characters (plus 1 for 0-termination) we use to

View File

@ -24,11 +24,11 @@
#if HAVE_GNUNET_GNUNET_UTIL_LIB_H #if HAVE_GNUNET_GNUNET_UTIL_LIB_H
#include <gnunet/gnunet_util_lib.h> #include <gnunet/gnunet_util_lib.h>
#endif #include "taler_util.h"
#if HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H #elif HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
#include <gnunet/gnunet_util_taler_wallet_lib.h> #include <gnunet/gnunet_util_taler_wallet_lib.h>
#endif
#include "taler_util_wallet.h" #include "taler_util_wallet.h"
#endif
#include <gcrypt.h> #include <gcrypt.h>

View File

@ -28,7 +28,14 @@
#ifndef TALER_SIGNATURES_H #ifndef TALER_SIGNATURES_H
#define TALER_SIGNATURES_H #define TALER_SIGNATURES_H
#include "taler_util.h" #if HAVE_GNUNET_GNUNET_UTIL_LIB_H
#include <gnunet/gnunet_util_lib.h>
#elif HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
#include <gnunet/gnunet_util_taler_wallet_lib.h>
#endif
#include "taler_amount_lib.h"
#include "taler_crypto_lib.h"
/** /**
* Cut-and-choose size for refreshing. Client looses the gamble (of * Cut-and-choose size for refreshing. Client looses the gamble (of

View File

@ -24,8 +24,7 @@
#include "platform.h" #include "platform.h"
#if HAVE_GNUNET_GNUNET_UTIL_LIB_H #if HAVE_GNUNET_GNUNET_UTIL_LIB_H
#include "taler_util.h" #include "taler_util.h"
#endif #elif HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
#if HAVE_GNUNET_GNUNET_UTIL_TALER_WALLET_LIB_H
#include "taler_util_wallet.h" #include "taler_util_wallet.h"
#endif #endif
#include <gcrypt.h> #include <gcrypt.h>