From 70f6cc3f60f41a5864c4d182e5d9a449c4c4435b Mon Sep 17 00:00:00 2001 From: Jonathan Dieter Date: Tue, 5 Jun 2018 21:23:14 +0300 Subject: [PATCH] Remove some functions that shouldn't be public and bump to 0.6.0 Signed-off-by: Jonathan Dieter --- include/zck.h | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/include/zck.h b/include/zck.h index 5d59124..22d78a9 100644 --- a/include/zck.h +++ b/include/zck.h @@ -1,10 +1,10 @@ #ifndef ZCK_H #define ZCK_H -#define ZCK_VERSION "0.5.2" +#define ZCK_VERSION "0.6.0" #define ZCK_VER_MAJOR 0 -#define ZCK_VER_MINOR 5 -#define ZCK_VER_REVISION 2 +#define ZCK_VER_MINOR 6 +#define ZCK_VER_REVISION 0 #define ZCK_VER_SUBREVISION 0 #define True 1 @@ -201,9 +201,6 @@ char *zck_get_header_digest(zckCtx *zck) /* Get data digest */ char *zck_get_data_digest(zckCtx *zck) __attribute__ ((warn_unused_result)); -/* Get temporary fd that will disappear when fd is closed */ -int zck_get_tmp_fd() - __attribute__ ((warn_unused_result)); /******************************************************************* @@ -214,16 +211,6 @@ const char *zck_comp_name_from_type(int comp_type) __attribute__ ((warn_unused_result)); /* Initialize compression. Compression type and parameters *must* be done * before this is called */ -int zck_comp_init(zckCtx *zck) - __attribute__ ((warn_unused_result)); -/* Release compression resources. After this is run, you may change compression - * type and parameters */ -int zck_comp_close(zckCtx *zck) - __attribute__ ((warn_unused_result)); -/* Reset compression configuration without losing buffered compressed data. - * After this is run, you may change compression type and parameters */ -int zck_comp_reset(zckCtx *zck) - __attribute__ ((warn_unused_result)); /******************************************************************* @@ -340,7 +327,4 @@ size_t zck_dl_get_bytes_downloaded(zckDL *dl) size_t zck_dl_get_bytes_uploaded(zckDL *dl) __attribute__ ((warn_unused_result)); -/* Download ranges specified in dl->info from url */ -/*int zck_dl_range(zckDL *dl, char *url) - __attribute__ ((warn_unused_result));*/ #endif -- 2.30.2