ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/liblzf/lzfP.h
(Generate patch)

Comparing liblzf/lzfP.h (file contents):
Revision 1.5 by pcg, Tue Dec 23 04:52:00 2003 UTC vs.
Revision 1.8 by pcg, Tue Apr 20 18:11:57 2004 UTC

22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 22 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
23 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 23 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH- 24 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH-
25 * ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 25 * ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
26 * OF THE POSSIBILITY OF SUCH DAMAGE. 26 * OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU General Public License version 2 (the "GPL"), in which case the
30 * provisions of the GPL are applicable instead of the above. If you wish to
31 * allow the use of your version of this file only under the terms of the
32 * GPL and not to allow others to use your version of this file under the
33 * BSD license, indicate your decision by deleting the provisions above and
34 * replace them with the notice and other provisions required by the GPL. If
35 * you do not delete the provisions above, a recipient may use your version
36 * of this file under either the BSD or the GPL.
27 */ 37 */
28 38
29#ifndef LZFP_h 39#ifndef LZFP_h
30#define LZFP_h 40#define LZFP_h
31 41
80# define INIT_HTAB 0 90# define INIT_HTAB 0
81#endif 91#endif
82 92
83/* 93/*
84 * avoid assigning values to errno variable? for some embedding purposes 94 * avoid assigning values to errno variable? for some embedding purposes
85 * (linux kernel for example), this is not 95 * (linux kernel for example), this is neccessary. NOTE: this breaks
96 * the documentation in lzf.h.
86 */ 97 */
87#ifndef AVOID_ERRNO 98#ifndef AVOID_ERRNO
88# define AVOID_ERRNO 0 99# define AVOID_ERRNO 0
89#endif 100#endif
90 101
91/* 102/*
92 * Wether to pass the LZF_STATE variable as argument, or allocate it 103 * Wether to pass the LZF_STATE variable as argument, or allocate it
93 * on the stack. For small-stack environments, define this to zero. 104 * on the stack. For small-stack environments, define this to 1.
105 * NOTE: this breaks the prototype in lzf.h.
94 */ 106 */
95#ifndef LZF_STATE_ARG 107#ifndef LZF_STATE_ARG
96# define LZF_STATE_ARG 1 108# define LZF_STATE_ARG 0
97#endif 109#endif
98 110
99/*****************************************************************************/ 111/*****************************************************************************/
100/* nothing should be changed below */ 112/* nothing should be changed below */
101 113

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines