From bc8f6e81a4d737625e05e5e268d0d682489873d5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Jan 2015 20:31:28 +0100 Subject: move data_to_string_alloc to GNUnet --- src/include/taler_util.h | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'src/include/taler_util.h') diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 5ee90a6cc..00f139286 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -1,6 +1,6 @@ /* This file is part of TALER - (C) 2014 Christian Grothoff (and other contributing authors) + (C) 2014, 2015 Christian Grothoff (and other contributing authors) TALER 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 @@ -13,15 +13,13 @@ You should have received a copy of the GNU General Public License along with TALER; see the file COPYING. If not, If not, see */ - /** * @file include/taler_util.h * @brief Interface for common utility functions * @author Sree Harsha Totakura */ - -#ifndef UTIL_H_ -#define UTIL_H_ +#ifndef TALER_UTIL_H_ +#define TALER_UTIL_H_ #include #include @@ -234,22 +232,6 @@ TALER_amount_normalize (struct TALER_Amount amount); char * TALER_amount_to_string (struct TALER_Amount amount); -/* ****************** FIXME: move to GNUnet? ************** */ - -/** - * Return the base32crockford encoding of the given buffer. - * - * The returned string will be freshly allocated, and must be free'd - * with #GNUNET_free(). - * - * @param buffer with data - * @param size size of the buffer - * @return freshly allocated, null-terminated string - */ -char * -TALER_data_to_string_alloc (const void *buf, - size_t size); - /* ****************** Coin crypto primitives ************* */ -- cgit v1.2.3