File indexing completed on 2025-04-18 09:17:06
0001 #ifndef _HAD_ZIPCONF_H
0002 #define _HAD_ZIPCONF_H
0003
0004
0005
0006
0007
0008
0009
0010
0011 #define LIBZIP_VERSION "1.10.1"
0012 #define LIBZIP_VERSION_MAJOR 1
0013 #define LIBZIP_VERSION_MINOR 10
0014 #define LIBZIP_VERSION_MICRO 1
0015
0016
0017
0018 #define _Nullable
0019 #define _Nonnull
0020
0021 #if !defined(__STDC_FORMAT_MACROS)
0022 #define __STDC_FORMAT_MACROS 1
0023 #endif
0024 #include <inttypes.h>
0025
0026 typedef int8_t zip_int8_t;
0027 typedef uint8_t zip_uint8_t;
0028 typedef int16_t zip_int16_t;
0029 typedef uint16_t zip_uint16_t;
0030 typedef int32_t zip_int32_t;
0031 typedef uint32_t zip_uint32_t;
0032 typedef int64_t zip_int64_t;
0033 typedef uint64_t zip_uint64_t;
0034
0035 #define ZIP_INT8_MIN (-ZIP_INT8_MAX-1)
0036 #define ZIP_INT8_MAX 0x7f
0037 #define ZIP_UINT8_MAX 0xff
0038
0039 #define ZIP_INT16_MIN (-ZIP_INT16_MAX-1)
0040 #define ZIP_INT16_MAX 0x7fff
0041 #define ZIP_UINT16_MAX 0xffff
0042
0043 #define ZIP_INT32_MIN (-ZIP_INT32_MAX-1L)
0044 #define ZIP_INT32_MAX 0x7fffffffL
0045 #define ZIP_UINT32_MAX 0xffffffffLU
0046
0047 #define ZIP_INT64_MIN (-ZIP_INT64_MAX-1LL)
0048 #define ZIP_INT64_MAX 0x7fffffffffffffffLL
0049 #define ZIP_UINT64_MAX 0xffffffffffffffffULL
0050
0051 #endif