/usr/include/zlibtclDecls.h is in libtk-img-dev 1:1.4.2+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | /*
* zlibtclDecls.h --
*
* Declarations of functions in the platform independent public ZLIBTCL API.
*
*/
#ifndef _ZLIBTCLDECLS
#define _ZLIBTCLDECLS
/*
* WARNING: The contents of this file is automatically generated by the
* genStubs.tcl script. Any modifications to the function declarations
* below should be made in the zlibtcl.decls script.
*/
#include <tcl.h>
#ifdef ZEXTERN
# undef TCL_STORAGE_CLASS
# define TCL_STORAGE_CLASS DLLEXPORT
#else
# define ZEXTERN extern
# undef USE_ZLIBTCL_STUBS
# define USE_ZLIBTCL_STUBS 1
#endif
EXTERN int Zlibtcl_Init(Tcl_Interp *interp);
EXTERN int Zlibtcl_SafeInit(Tcl_Interp *interp);
#include "/usr/include/zlib.h"
#undef gzgetc /* Became a macro in zlib 1.2.7 */
/* !BEGIN!: Do not edit below this line. */
/*
* Exported function declarations:
*/
/* 0 */
ZEXTERN const char * zlibVersion(void);
/* 1 */
ZEXTERN const char * zError(int err);
/* 2 */
ZEXTERN uLong crc32(uLong crc, const Bytef *buf, uInt len);
/* 3 */
ZEXTERN uLong adler32(uLong adler, const Bytef *buf, uInt len);
/* Slot 4 is reserved */
/* Slot 5 is reserved */
/* Slot 6 is reserved */
/* Slot 7 is reserved */
/* Slot 8 is reserved */
/* Slot 9 is reserved */
/* 10 */
ZEXTERN int deflateInit_(z_streamp stream, int level,
const char *version, int stream_size);
/* 11 */
ZEXTERN int deflateInit2_(z_streamp stream, int level,
int method, int windowBits, int memLevel,
int strategy, const char *version,
int stream_size);
/* 12 */
ZEXTERN int deflate(z_streamp stream, int flush);
/* 13 */
ZEXTERN int deflateEnd(z_streamp stream);
/* 14 */
ZEXTERN int deflateSetDictionary(z_streamp stream,
const Bytef *dict, uInt dictLength);
/* 15 */
ZEXTERN int deflateCopy(z_streamp dst, z_streamp src);
/* 16 */
ZEXTERN int deflateReset(z_streamp stream);
/* 17 */
ZEXTERN int deflateParams(z_streamp stream, int level,
int strategy);
/* 18 */
ZEXTERN int compress(Bytef *dest, uLongf *destLen,
const Bytef *source, uLong sourceLen);
/* 19 */
ZEXTERN int compress2(Bytef *dest, uLongf *destLen,
const Bytef *source, uLong sourceLen,
int level);
/* 20 */
ZEXTERN int inflateInit_(z_streamp stream, const char *version,
int stream_size);
/* 21 */
ZEXTERN int inflateInit2_(z_streamp stream, int windowBits,
const char *version, int stream_size);
/* 22 */
ZEXTERN int inflate(z_streamp stream, int flush);
/* 23 */
ZEXTERN int inflateEnd(z_streamp stream);
/* 24 */
ZEXTERN int inflateSetDictionary(z_streamp stream,
const Bytef *dict, uInt dictLength);
/* 25 */
ZEXTERN int inflateSync(z_streamp stream);
/* 26 */
ZEXTERN int inflateReset(z_streamp stream);
/* 27 */
ZEXTERN int uncompress(Bytef *dest, uLongf *destLen,
const Bytef *source, uLong sourceLen);
/* Slot 28 is reserved */
/* Slot 29 is reserved */
/* 30 */
ZEXTERN gzFile gzopen(const char *path, const char *mode);
/* 31 */
ZEXTERN gzFile gzdopen(int fd, const char *mode);
/* 32 */
ZEXTERN int gzsetparams(gzFile file, int level, int strategy);
/* 33 */
ZEXTERN int gzread(gzFile file, voidp buf, unsigned len);
/* 34 */
ZEXTERN int gzwrite(gzFile file, voidpc buf, unsigned len);
/* 35 */
ZEXTERN int gzprintf(gzFile file, const char *format, ...);
/* 36 */
ZEXTERN int gzputs(gzFile file, const char *s);
/* 37 */
ZEXTERN char * gzgets(gzFile file, char *buf, int len);
/* 38 */
ZEXTERN int gzputc(gzFile file, int c);
/* 39 */
ZEXTERN int gzgetc(gzFile file);
/* 40 */
ZEXTERN int gzflush(gzFile file, int flush);
/* 41 */
ZEXTERN z_off_t gzseek(gzFile file, z_off_t offset, int whence);
/* 42 */
ZEXTERN int gzrewind(gzFile file);
/* 43 */
ZEXTERN z_off_t gztell(gzFile file);
/* 44 */
ZEXTERN int gzeof(gzFile file);
/* 45 */
ZEXTERN int gzclose(gzFile file);
/* 46 */
ZEXTERN const char * gzerror(gzFile file, int *errnum);
typedef struct ZlibtclStubs {
int magic;
const struct ZlibtclStubHooks *hooks;
const char * (*zlibVersionPtr) (void); /* 0 */
const char * (*zErrorPtr) (int err); /* 1 */
uLong (*crc32Ptr) (uLong crc, const Bytef *buf, uInt len); /* 2 */
uLong (*adler32Ptr) (uLong adler, const Bytef *buf, uInt len); /* 3 */
void (*reserved4)(void);
void (*reserved5)(void);
void (*reserved6)(void);
void (*reserved7)(void);
void (*reserved8)(void);
void (*reserved9)(void);
int (*deflateInit_Ptr) (z_streamp stream, int level, const char *version, int stream_size); /* 10 */
int (*deflateInit2_Ptr) (z_streamp stream, int level, int method, int windowBits, int memLevel, int strategy, const char *version, int stream_size); /* 11 */
int (*deflatePtr) (z_streamp stream, int flush); /* 12 */
int (*deflateEndPtr) (z_streamp stream); /* 13 */
int (*deflateSetDictionaryPtr) (z_streamp stream, const Bytef *dict, uInt dictLength); /* 14 */
int (*deflateCopyPtr) (z_streamp dst, z_streamp src); /* 15 */
int (*deflateResetPtr) (z_streamp stream); /* 16 */
int (*deflateParamsPtr) (z_streamp stream, int level, int strategy); /* 17 */
int (*compressPtr) (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); /* 18 */
int (*compress2Ptr) (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level); /* 19 */
int (*inflateInit_Ptr) (z_streamp stream, const char *version, int stream_size); /* 20 */
int (*inflateInit2_Ptr) (z_streamp stream, int windowBits, const char *version, int stream_size); /* 21 */
int (*inflatePtr) (z_streamp stream, int flush); /* 22 */
int (*inflateEndPtr) (z_streamp stream); /* 23 */
int (*inflateSetDictionaryPtr) (z_streamp stream, const Bytef *dict, uInt dictLength); /* 24 */
int (*inflateSyncPtr) (z_streamp stream); /* 25 */
int (*inflateResetPtr) (z_streamp stream); /* 26 */
int (*uncompressPtr) (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen); /* 27 */
void (*reserved28)(void);
void (*reserved29)(void);
gzFile (*gzopenPtr) (const char *path, const char *mode); /* 30 */
gzFile (*gzdopenPtr) (int fd, const char *mode); /* 31 */
int (*gzsetparamsPtr) (gzFile file, int level, int strategy); /* 32 */
int (*gzreadPtr) (gzFile file, voidp buf, unsigned len); /* 33 */
int (*gzwritePtr) (gzFile file, voidpc buf, unsigned len); /* 34 */
int (*gzprintfPtr) (gzFile file, const char *format, ...); /* 35 */
int (*gzputsPtr) (gzFile file, const char *s); /* 36 */
char * (*gzgetsPtr) (gzFile file, char *buf, int len); /* 37 */
int (*gzputcPtr) (gzFile file, int c); /* 38 */
int (*gzgetcPtr) (gzFile file); /* 39 */
int (*gzflushPtr) (gzFile file, int flush); /* 40 */
z_off_t (*gzseekPtr) (gzFile file, z_off_t offset, int whence); /* 41 */
int (*gzrewindPtr) (gzFile file); /* 42 */
z_off_t (*gztellPtr) (gzFile file); /* 43 */
int (*gzeofPtr) (gzFile file); /* 44 */
int (*gzclosePtr) (gzFile file); /* 45 */
const char * (*gzerrorPtr) (gzFile file, int *errnum); /* 46 */
} ZlibtclStubs;
#ifdef __cplusplus
extern "C" {
#endif
ZEXTERN const ZlibtclStubs *zlibtclStubsPtr;
#ifdef __cplusplus
}
#endif
#if defined(USE_ZLIBTCL_STUBS)
/*
* Inline function declarations:
*/
#define zlibVersion \
(zlibtclStubsPtr->zlibVersionPtr) /* 0 */
#define zError \
(zlibtclStubsPtr->zErrorPtr) /* 1 */
#define crc32 \
(zlibtclStubsPtr->crc32Ptr) /* 2 */
#define adler32 \
(zlibtclStubsPtr->adler32Ptr) /* 3 */
/* Slot 4 is reserved */
/* Slot 5 is reserved */
/* Slot 6 is reserved */
/* Slot 7 is reserved */
/* Slot 8 is reserved */
/* Slot 9 is reserved */
#define deflateInit_ \
(zlibtclStubsPtr->deflateInit_Ptr) /* 10 */
#define deflateInit2_ \
(zlibtclStubsPtr->deflateInit2_Ptr) /* 11 */
#define deflate \
(zlibtclStubsPtr->deflatePtr) /* 12 */
#define deflateEnd \
(zlibtclStubsPtr->deflateEndPtr) /* 13 */
#define deflateSetDictionary \
(zlibtclStubsPtr->deflateSetDictionaryPtr) /* 14 */
#define deflateCopy \
(zlibtclStubsPtr->deflateCopyPtr) /* 15 */
#define deflateReset \
(zlibtclStubsPtr->deflateResetPtr) /* 16 */
#define deflateParams \
(zlibtclStubsPtr->deflateParamsPtr) /* 17 */
#define compress \
(zlibtclStubsPtr->compressPtr) /* 18 */
#define compress2 \
(zlibtclStubsPtr->compress2Ptr) /* 19 */
#define inflateInit_ \
(zlibtclStubsPtr->inflateInit_Ptr) /* 20 */
#define inflateInit2_ \
(zlibtclStubsPtr->inflateInit2_Ptr) /* 21 */
#define inflate \
(zlibtclStubsPtr->inflatePtr) /* 22 */
#define inflateEnd \
(zlibtclStubsPtr->inflateEndPtr) /* 23 */
#define inflateSetDictionary \
(zlibtclStubsPtr->inflateSetDictionaryPtr) /* 24 */
#define inflateSync \
(zlibtclStubsPtr->inflateSyncPtr) /* 25 */
#define inflateReset \
(zlibtclStubsPtr->inflateResetPtr) /* 26 */
#define uncompress \
(zlibtclStubsPtr->uncompressPtr) /* 27 */
/* Slot 28 is reserved */
/* Slot 29 is reserved */
#define gzopen \
(zlibtclStubsPtr->gzopenPtr) /* 30 */
#define gzdopen \
(zlibtclStubsPtr->gzdopenPtr) /* 31 */
#define gzsetparams \
(zlibtclStubsPtr->gzsetparamsPtr) /* 32 */
#define gzread \
(zlibtclStubsPtr->gzreadPtr) /* 33 */
#define gzwrite \
(zlibtclStubsPtr->gzwritePtr) /* 34 */
#define gzprintf \
(zlibtclStubsPtr->gzprintfPtr) /* 35 */
#define gzputs \
(zlibtclStubsPtr->gzputsPtr) /* 36 */
#define gzgets \
(zlibtclStubsPtr->gzgetsPtr) /* 37 */
#define gzputc \
(zlibtclStubsPtr->gzputcPtr) /* 38 */
#define gzgetc \
(zlibtclStubsPtr->gzgetcPtr) /* 39 */
#define gzflush \
(zlibtclStubsPtr->gzflushPtr) /* 40 */
#define gzseek \
(zlibtclStubsPtr->gzseekPtr) /* 41 */
#define gzrewind \
(zlibtclStubsPtr->gzrewindPtr) /* 42 */
#define gztell \
(zlibtclStubsPtr->gztellPtr) /* 43 */
#define gzeof \
(zlibtclStubsPtr->gzeofPtr) /* 44 */
#define gzclose \
(zlibtclStubsPtr->gzclosePtr) /* 45 */
#define gzerror \
(zlibtclStubsPtr->gzerrorPtr) /* 46 */
#endif /* defined(USE_ZLIBTCL_STUBS) */
/* !END!: Do not edit above this line. */
#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT
#endif /* _ZLIBTCLDECLS */
|