Order the Code
This commit is contained in:
parent
c49ee5e819
commit
b180bd648f
@ -32,7 +32,7 @@
|
|||||||
# include <GeneratedData.h>
|
# include <GeneratedData.h>
|
||||||
#elif defined(DATA_IN_APK)
|
#elif defined(DATA_IN_APK)
|
||||||
# include <stdio.h>
|
# include <stdio.h>
|
||||||
# include <zip.h>
|
# include <zip/zip.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -16,25 +16,16 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_CFLAGS :=
|
|
||||||
|
|
||||||
LOCAL_MODULE := libpng
|
LOCAL_MODULE := libpng
|
||||||
LOCAL_SRC_FILES :=\
|
|
||||||
png.c \
|
LOCAL_CFLAGS := -DPNG_NO_LIMITS_H
|
||||||
pngerror.c \
|
|
||||||
pngget.c \
|
LOCAL_C_INCLUDES := -I$(LOCAL_PATH)
|
||||||
pngmem.c \
|
|
||||||
pngpread.c \
|
# load the common sources file of the platform
|
||||||
pngread.c \
|
include $(LOCAL_PATH)/file.mk
|
||||||
pngrio.c \
|
|
||||||
pngrtran.c \
|
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||||
pngrutil.c \
|
|
||||||
pngset.c \
|
|
||||||
pngtrans.c \
|
|
||||||
pngwio.c \
|
|
||||||
pngwrite.c \
|
|
||||||
pngwtran.c \
|
|
||||||
pngwutil.c
|
|
||||||
|
|
||||||
LOCAL_LDLIBS := -lz
|
LOCAL_LDLIBS := -lz
|
||||||
|
|
||||||
|
@ -16,25 +16,16 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_CFLAGS :=
|
LOCAL_CFLAGS := -DPNG_NO_LIMITS_H
|
||||||
|
|
||||||
LOCAL_MODULE := libpng
|
LOCAL_MODULE := libpng
|
||||||
LOCAL_SRC_FILES :=\
|
|
||||||
png.c \
|
LOCAL_C_INCLUDES := -I$(LOCAL_PATH)
|
||||||
pngerror.c \
|
|
||||||
pngget.c \
|
# load the common sources file of the platform
|
||||||
pngmem.c \
|
include $(LOCAL_PATH)/file.mk
|
||||||
pngpread.c \
|
|
||||||
pngread.c \
|
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||||
pngrio.c \
|
|
||||||
pngrtran.c \
|
|
||||||
pngrutil.c \
|
|
||||||
pngset.c \
|
|
||||||
pngtrans.c \
|
|
||||||
pngwio.c \
|
|
||||||
pngwrite.c \
|
|
||||||
pngwtran.c \
|
|
||||||
pngwutil.c
|
|
||||||
|
|
||||||
LOCAL_LDLIBS := -lz
|
LOCAL_LDLIBS := -lz
|
||||||
|
|
||||||
|
20
Sources/libpng/file.mk
Normal file
20
Sources/libpng/file.mk
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
FILE_LIST = png/png.c \
|
||||||
|
png/error.c \
|
||||||
|
png/get.c \
|
||||||
|
png/mem.c \
|
||||||
|
png/pread.c \
|
||||||
|
png/read.c \
|
||||||
|
png/rio.c \
|
||||||
|
png/rtran.c \
|
||||||
|
png/rutil.c \
|
||||||
|
png/set.c \
|
||||||
|
png/trans.c \
|
||||||
|
png/wio.c \
|
||||||
|
png/write.c \
|
||||||
|
png/wtran.c \
|
||||||
|
png/wutil.c
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
#ifndef PNGCONF_H
|
#ifndef PNGCONF_H
|
||||||
#define PNGCONF_H
|
#define PNGCONF_H
|
||||||
|
/*
|
||||||
#ifndef PNG_NO_LIMITS_H
|
#ifndef PNG_NO_LIMITS_H
|
||||||
# include <limits.h>
|
# include <png/limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
/* Added at libpng-1.2.9 */
|
/* Added at libpng-1.2.9 */
|
||||||
|
|
||||||
/* config.h is created by and PNG_CONFIGURE_LIBPNG is set by the "configure"
|
/* config.h is created by and PNG_CONFIGURE_LIBPNG is set by the "configure"
|
||||||
@ -33,7 +33,7 @@
|
|||||||
*/
|
*/
|
||||||
#ifdef PNG_CONFIGURE_LIBPNG
|
#ifdef PNG_CONFIGURE_LIBPNG
|
||||||
# ifdef HAVE_CONFIG_H
|
# ifdef HAVE_CONFIG_H
|
||||||
# include "config.h"
|
# include "png/config.h"
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
# ifndef PNG_USER_PRIVATEBUILD
|
# ifndef PNG_USER_PRIVATEBUILD
|
||||||
# define PNG_USER_PRIVATEBUILD
|
# define PNG_USER_PRIVATEBUILD
|
||||||
# endif
|
# endif
|
||||||
# include "pngusr.h"
|
# include "png/usr.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
static void /* PRIVATE */
|
static void /* PRIVATE */
|
||||||
png_default_error PNGARG((png_structp png_ptr,
|
png_default_error PNGARG((png_structp png_ptr,
|
@ -13,9 +13,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
png_uint_32 PNGAPI
|
png_uint_32 PNGAPI
|
||||||
png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)
|
png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag)
|
@ -18,9 +18,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Borland DOS special memory handler */
|
/* Borland DOS special memory handler */
|
||||||
#if defined(__TURBOC__) && !defined(_Windows) && !defined(__FLAT__)
|
#if defined(__TURBOC__) && !defined(_Windows) && !defined(__FLAT__)
|
@ -13,8 +13,8 @@
|
|||||||
|
|
||||||
#define PNG_NO_EXTERN
|
#define PNG_NO_EXTERN
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Generate a compiler error if there is an old png.h in the search path. */
|
/* Generate a compiler error if there is an old png.h in the search path. */
|
||||||
typedef version_1_4_1 Your_png_h_is_not_version_1_4_1;
|
typedef version_1_4_1 Your_png_h_is_not_version_1_4_1;
|
@ -392,7 +392,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Include all user configurable info, including optional assembler routines */
|
/* Include all user configurable info, including optional assembler routines */
|
||||||
#include "pngconf.h"
|
#include "png/conf.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Added at libpng-1.2.8
|
* Added at libpng-1.2.8
|
@ -12,9 +12,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
|
#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Push model modes */
|
/* Push model modes */
|
||||||
#define PNG_READ_SIG_MODE 0
|
#define PNG_READ_SIG_MODE 0
|
@ -15,9 +15,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_READ_SUPPORTED
|
#ifdef PNG_READ_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
|
|
||||||
/* Create a PNG structure for reading, and allocate any memory needed. */
|
/* Create a PNG structure for reading, and allocate any memory needed. */
|
@ -19,9 +19,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_READ_SUPPORTED
|
#ifdef PNG_READ_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Read the data from whatever input you are using. The default routine
|
/* Read the data from whatever input you are using. The default routine
|
||||||
* reads from a file pointer. Note that this routine sometimes gets called
|
* reads from a file pointer. Note that this routine sometimes gets called
|
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_READ_SUPPORTED
|
#ifdef PNG_READ_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Set the action on getting a CRC error for an ancillary or critical chunk. */
|
/* Set the action on getting a CRC error for an ancillary or critical chunk. */
|
||||||
void PNGAPI
|
void PNGAPI
|
@ -15,9 +15,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_READ_SUPPORTED
|
#ifdef PNG_READ_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
# define png_strtod(p,a,b) strtod(a,b)
|
# define png_strtod(p,a,b) strtod(a,b)
|
||||||
png_uint_32 PNGAPI
|
png_uint_32 PNGAPI
|
@ -17,9 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
#ifdef PNG_bKGD_SUPPORTED
|
#ifdef PNG_bKGD_SUPPORTED
|
||||||
void PNGAPI
|
void PNGAPI
|
@ -12,9 +12,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
#if defined(PNG_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
|
#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
|
||||||
/* Turn on BGR-to-RGB mapping */
|
/* Turn on BGR-to-RGB mapping */
|
@ -19,9 +19,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_WRITE_SUPPORTED
|
#ifdef PNG_WRITE_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Write the data to whatever output you are using. The default routine
|
/* Write the data to whatever output you are using. The default routine
|
||||||
* writes to a file pointer. Note that this routine sometimes gets called
|
* writes to a file pointer. Note that this routine sometimes gets called
|
@ -13,9 +13,9 @@
|
|||||||
|
|
||||||
/* Get internal access to png.h */
|
/* Get internal access to png.h */
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_WRITE_SUPPORTED
|
#ifdef PNG_WRITE_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Writes all the PNG information. This is the suggested way to use the
|
/* Writes all the PNG information. This is the suggested way to use the
|
||||||
* library. If you have a new chunk to add, make a function to write it,
|
* library. If you have a new chunk to add, make a function to write it,
|
@ -12,9 +12,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_WRITE_SUPPORTED
|
#ifdef PNG_WRITE_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Transform the data according to the user's wishes. The order of
|
/* Transform the data according to the user's wishes. The order of
|
||||||
* transformations is significant.
|
* transformations is significant.
|
@ -12,9 +12,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define PNG_NO_PEDANTIC_WARNINGS
|
#define PNG_NO_PEDANTIC_WARNINGS
|
||||||
#include "png.h"
|
#include "png/png.h"
|
||||||
#ifdef PNG_WRITE_SUPPORTED
|
#ifdef PNG_WRITE_SUPPORTED
|
||||||
#include "pngpriv.h"
|
#include "png/priv.h"
|
||||||
|
|
||||||
/* Place a 32-bit number into a buffer in PNG byte order. We work
|
/* Place a 32-bit number into a buffer in PNG byte order. We work
|
||||||
* with unsigned numbers for convenience, although one supported
|
* with unsigned numbers for convenience, although one supported
|
@ -17,60 +17,13 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libzip
|
LOCAL_MODULE := libzip
|
||||||
LOCAL_SRC_FILES :=\
|
|
||||||
zip_add.c \
|
LOCAL_C_INCLUDES := -I$(LOCAL_PATH)
|
||||||
zip_add_dir.c \
|
|
||||||
zip_close.c \
|
# load the common sources file of the platform
|
||||||
zip_delete.c \
|
include $(LOCAL_PATH)/file.mk
|
||||||
zip_dirent.c \
|
|
||||||
zip_entry_free.c \
|
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||||
zip_entry_new.c \
|
|
||||||
zip_err_str.c \
|
|
||||||
zip_error.c \
|
|
||||||
zip_error_clear.c \
|
|
||||||
zip_error_get.c \
|
|
||||||
zip_error_get_sys_type.c \
|
|
||||||
zip_error_strerror.c \
|
|
||||||
zip_error_to_str.c \
|
|
||||||
zip_fclose.c \
|
|
||||||
zip_file_error_clear.c \
|
|
||||||
zip_file_error_get.c \
|
|
||||||
zip_file_get_offset.c \
|
|
||||||
zip_file_strerror.c \
|
|
||||||
zip_filerange_crc.c \
|
|
||||||
zip_fopen.c \
|
|
||||||
zip_fopen_index.c \
|
|
||||||
zip_fread.c \
|
|
||||||
zip_free.c \
|
|
||||||
zip_get_archive_comment.c \
|
|
||||||
zip_get_archive_flag.c \
|
|
||||||
zip_get_file_comment.c \
|
|
||||||
zip_get_num_files.c \
|
|
||||||
zip_get_name.c \
|
|
||||||
zip_memdup.c \
|
|
||||||
zip_name_locate.c \
|
|
||||||
zip_new.c \
|
|
||||||
zip_open.c \
|
|
||||||
zip_rename.c \
|
|
||||||
zip_replace.c \
|
|
||||||
zip_set_archive_comment.c \
|
|
||||||
zip_set_archive_flag.c \
|
|
||||||
zip_set_file_comment.c \
|
|
||||||
zip_source_buffer.c \
|
|
||||||
zip_source_file.c \
|
|
||||||
zip_source_filep.c \
|
|
||||||
zip_source_free.c \
|
|
||||||
zip_source_function.c \
|
|
||||||
zip_source_zip.c \
|
|
||||||
zip_set_name.c \
|
|
||||||
zip_stat.c \
|
|
||||||
zip_stat_index.c \
|
|
||||||
zip_stat_init.c \
|
|
||||||
zip_strerror.c \
|
|
||||||
zip_unchange.c \
|
|
||||||
zip_unchange_all.c \
|
|
||||||
zip_unchange_archive.c \
|
|
||||||
zip_unchange_data.c
|
|
||||||
|
|
||||||
LOCAL_LDLIBS := -lz
|
LOCAL_LDLIBS := -lz
|
||||||
|
|
||||||
|
@ -17,60 +17,13 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := libzip
|
LOCAL_MODULE := libzip
|
||||||
LOCAL_SRC_FILES :=\
|
|
||||||
zip_add.c \
|
LOCAL_C_INCLUDES := -I$(LOCAL_PATH)
|
||||||
zip_add_dir.c \
|
|
||||||
zip_close.c \
|
# load the common sources file of the platform
|
||||||
zip_delete.c \
|
include $(LOCAL_PATH)/file.mk
|
||||||
zip_dirent.c \
|
|
||||||
zip_entry_free.c \
|
LOCAL_SRC_FILES := $(FILE_LIST)
|
||||||
zip_entry_new.c \
|
|
||||||
zip_err_str.c \
|
|
||||||
zip_error.c \
|
|
||||||
zip_error_clear.c \
|
|
||||||
zip_error_get.c \
|
|
||||||
zip_error_get_sys_type.c \
|
|
||||||
zip_error_strerror.c \
|
|
||||||
zip_error_to_str.c \
|
|
||||||
zip_fclose.c \
|
|
||||||
zip_file_error_clear.c \
|
|
||||||
zip_file_error_get.c \
|
|
||||||
zip_file_get_offset.c \
|
|
||||||
zip_file_strerror.c \
|
|
||||||
zip_filerange_crc.c \
|
|
||||||
zip_fopen.c \
|
|
||||||
zip_fopen_index.c \
|
|
||||||
zip_fread.c \
|
|
||||||
zip_free.c \
|
|
||||||
zip_get_archive_comment.c \
|
|
||||||
zip_get_archive_flag.c \
|
|
||||||
zip_get_file_comment.c \
|
|
||||||
zip_get_num_files.c \
|
|
||||||
zip_get_name.c \
|
|
||||||
zip_memdup.c \
|
|
||||||
zip_name_locate.c \
|
|
||||||
zip_new.c \
|
|
||||||
zip_open.c \
|
|
||||||
zip_rename.c \
|
|
||||||
zip_replace.c \
|
|
||||||
zip_set_archive_comment.c \
|
|
||||||
zip_set_archive_flag.c \
|
|
||||||
zip_set_file_comment.c \
|
|
||||||
zip_source_buffer.c \
|
|
||||||
zip_source_file.c \
|
|
||||||
zip_source_filep.c \
|
|
||||||
zip_source_free.c \
|
|
||||||
zip_source_function.c \
|
|
||||||
zip_source_zip.c \
|
|
||||||
zip_set_name.c \
|
|
||||||
zip_stat.c \
|
|
||||||
zip_stat_index.c \
|
|
||||||
zip_stat_init.c \
|
|
||||||
zip_strerror.c \
|
|
||||||
zip_unchange.c \
|
|
||||||
zip_unchange_all.c \
|
|
||||||
zip_unchange_archive.c \
|
|
||||||
zip_unchange_data.c
|
|
||||||
|
|
||||||
LOCAL_LDLIBS := -lz
|
LOCAL_LDLIBS := -lz
|
||||||
|
|
||||||
|
55
Sources/libzip/file.mk
Normal file
55
Sources/libzip/file.mk
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
|
||||||
|
|
||||||
|
FILE_LIST = zip/add.c \
|
||||||
|
zip/add_dir.c \
|
||||||
|
zip/close.c \
|
||||||
|
zip/delete.c \
|
||||||
|
zip/dirent.c \
|
||||||
|
zip/entry_free.c \
|
||||||
|
zip/entry_new.c \
|
||||||
|
zip/err_str.c \
|
||||||
|
zip/error.c \
|
||||||
|
zip/error_clear.c \
|
||||||
|
zip/error_get.c \
|
||||||
|
zip/error_get_sys_type.c \
|
||||||
|
zip/error_strerror.c \
|
||||||
|
zip/error_to_str.c \
|
||||||
|
zip/fclose.c \
|
||||||
|
zip/file_error_clear.c \
|
||||||
|
zip/file_error_get.c \
|
||||||
|
zip/file_get_offset.c \
|
||||||
|
zip/file_strerror.c \
|
||||||
|
zip/filerange_crc.c \
|
||||||
|
zip/fopen.c \
|
||||||
|
zip/fopen_index.c \
|
||||||
|
zip/fread.c \
|
||||||
|
zip/free.c \
|
||||||
|
zip/get_archive_comment.c \
|
||||||
|
zip/get_archive_flag.c \
|
||||||
|
zip/get_file_comment.c \
|
||||||
|
zip/get_num_files.c \
|
||||||
|
zip/get_name.c \
|
||||||
|
zip/memdup.c \
|
||||||
|
zip/name_locate.c \
|
||||||
|
zip/new.c \
|
||||||
|
zip/open.c \
|
||||||
|
zip/rename.c \
|
||||||
|
zip/replace.c \
|
||||||
|
zip/set_archive_comment.c \
|
||||||
|
zip/set_archive_flag.c \
|
||||||
|
zip/set_file_comment.c \
|
||||||
|
zip/source_buffer.c \
|
||||||
|
zip/source_file.c \
|
||||||
|
zip/source_filep.c \
|
||||||
|
zip/source_free.c \
|
||||||
|
zip/source_function.c \
|
||||||
|
zip/source_zip.c \
|
||||||
|
zip/set_name.c \
|
||||||
|
zip/stat.c \
|
||||||
|
zip/stat_index.c \
|
||||||
|
zip/stat_init.c \
|
||||||
|
zip/strerror.c \
|
||||||
|
zip/unchange.c \
|
||||||
|
zip/unchange_all.c \
|
||||||
|
zip/unchange_archive.c \
|
||||||
|
zip/unchange_data.c
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
static int add_data(struct zip *, struct zip_source *, struct zip_dirent *,
|
static int add_data(struct zip *, struct zip_source *, struct zip_dirent *,
|
||||||
FILE *);
|
FILE *);
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
static time_t _zip_d2u_time(int, int);
|
static time_t _zip_d2u_time(int, int);
|
||||||
static char *_zip_readfpstr(FILE *, unsigned int, int, struct zip_error *);
|
static char *_zip_readfpstr(FILE *, unsigned int, int, struct zip_error *);
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
from ./zip.h; make changes there.
|
from ./zip.h; make changes there.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -38,7 +38,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
static struct zip_file *_zip_file_new(struct zip *za);
|
static struct zip_file *_zip_file_new(struct zip *za);
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,8 +40,8 @@
|
|||||||
#define ZIP_EXTERN __declspec(dllimport)
|
#define ZIP_EXTERN __declspec(dllimport)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "zip.h"
|
#include "zip/zip.h"
|
||||||
#include "config.h"
|
#include "zip/config.h"
|
||||||
|
|
||||||
#ifndef HAVE_MKSTEMP
|
#ifndef HAVE_MKSTEMP
|
||||||
int _zip_mkstemp(char *);
|
int _zip_mkstemp(char *);
|
@ -34,7 +34,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
static void set_error(int *, struct zip_error *, int);
|
static void set_error(int *, struct zip_error *, int);
|
||||||
static struct zip *_zip_allocate_new(const char *, int *);
|
static struct zip *_zip_allocate_new(const char *, int *);
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
struct read_data {
|
struct read_data {
|
||||||
const char *buf, *data, *end;
|
const char *buf, *data, *end;
|
@ -36,7 +36,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -39,7 +39,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
struct read_file {
|
struct read_file {
|
||||||
char *fname; /* name of file to copy from */
|
char *fname; /* name of file to copy from */
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
struct read_zip {
|
struct read_zip {
|
||||||
struct zip_file *zf;
|
struct zip_file *zf;
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "zipint.h"
|
#include "zip/int.h"
|
||||||
|
|
||||||
void
|
void
|
||||||
_zip_unchange_data(struct zip_entry *ze)
|
_zip_unchange_data(struct zip_entry *ze)
|
Loading…
x
Reference in New Issue
Block a user