bzlib.h | bzlib.h | |||
---|---|---|---|---|
/*-------------------------------------------------------------*/ | /*-------------------------------------------------------------*/ | |||
/*--- Public header file for the library. ---*/ | /*--- Public header file for the library. ---*/ | |||
/*--- bzlib.h ---*/ | /*--- bzlib.h ---*/ | |||
/*-------------------------------------------------------------*/ | /*-------------------------------------------------------------*/ | |||
/*-- | /*-- | |||
This file is a part of bzip2 and/or libbzip2, a program and | This file is a part of bzip2 and/or libbzip2, a program and | |||
library for lossless, block-sorting data compression. | library for lossless, block-sorting data compression. | |||
Copyright (C) 1996-2000 Julian R Seward. All rights reserved. | Copyright (C) 1996-2002 Julian R Seward. All rights reserved. | |||
Redistribution and use in source and binary forms, with or without | Redistribution and use in source and binary forms, with or without | |||
modification, are permitted provided that the following conditions | modification, are permitted provided that the following conditions | |||
are met: | are met: | |||
1. Redistributions of source code must retain the above copyright | 1. Redistributions of source code must retain the above copyright | |||
notice, this list of conditions and the following disclaimer. | notice, this list of conditions and the following disclaimer. | |||
2. The origin of this software must not be misrepresented; you must | 2. The origin of this software must not be misrepresented; you must | |||
not claim that you wrote the original software. If you use this | not claim that you wrote the original software. If you use this | |||
skipping to change at line 111 | skipping to change at line 111 | |||
void *(*bzalloc)(void *,int,int); | void *(*bzalloc)(void *,int,int); | |||
void (*bzfree)(void *,void *); | void (*bzfree)(void *,void *); | |||
void *opaque; | void *opaque; | |||
} | } | |||
bz_stream; | bz_stream; | |||
#ifndef BZ_IMPORT | #ifndef BZ_IMPORT | |||
#define BZ_EXPORT | #define BZ_EXPORT | |||
#endif | #endif | |||
/* Need a definitition for FILE */ | ||||
#include <stdio.h> | ||||
#ifdef _WIN32 | #ifdef _WIN32 | |||
# include <stdio.h> | ||||
# include <windows.h> | # include <windows.h> | |||
# ifdef small | # ifdef small | |||
/* windows.h define small to char */ | /* windows.h define small to char */ | |||
# undef small | # undef small | |||
# endif | # endif | |||
# ifdef BZ_EXPORT | # ifdef BZ_EXPORT | |||
# define BZ_API(func) WINAPI func | # define BZ_API(func) WINAPI func | |||
# define BZ_EXTERN extern | # define BZ_EXTERN extern | |||
# else | # else | |||
/* import windows dll dynamically */ | /* import windows dll dynamically */ | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 4 lines changed or added | |||