1275793eaSopenharmony_ci/* puff.h 2275793eaSopenharmony_ci Copyright (C) 2002-2013 Mark Adler, all rights reserved 3275793eaSopenharmony_ci version 2.3, 21 Jan 2013 4275793eaSopenharmony_ci 5275793eaSopenharmony_ci This software is provided 'as-is', without any express or implied 6275793eaSopenharmony_ci warranty. In no event will the author be held liable for any damages 7275793eaSopenharmony_ci arising from the use of this software. 8275793eaSopenharmony_ci 9275793eaSopenharmony_ci Permission is granted to anyone to use this software for any purpose, 10275793eaSopenharmony_ci including commercial applications, and to alter it and redistribute it 11275793eaSopenharmony_ci freely, subject to the following restrictions: 12275793eaSopenharmony_ci 13275793eaSopenharmony_ci 1. The origin of this software must not be misrepresented; you must not 14275793eaSopenharmony_ci claim that you wrote the original software. If you use this software 15275793eaSopenharmony_ci in a product, an acknowledgment in the product documentation would be 16275793eaSopenharmony_ci appreciated but is not required. 17275793eaSopenharmony_ci 2. Altered source versions must be plainly marked as such, and must not be 18275793eaSopenharmony_ci misrepresented as being the original software. 19275793eaSopenharmony_ci 3. This notice may not be removed or altered from any source distribution. 20275793eaSopenharmony_ci 21275793eaSopenharmony_ci Mark Adler madler@alumni.caltech.edu 22275793eaSopenharmony_ci */ 23275793eaSopenharmony_ci 24275793eaSopenharmony_ci 25275793eaSopenharmony_ci/* 26275793eaSopenharmony_ci * See puff.c for purpose and usage. 27275793eaSopenharmony_ci */ 28275793eaSopenharmony_ci#ifndef NIL 29275793eaSopenharmony_ci# define NIL ((unsigned char *)0) /* for no output option */ 30275793eaSopenharmony_ci#endif 31275793eaSopenharmony_ci 32275793eaSopenharmony_ciint puff(unsigned char *dest, /* pointer to destination pointer */ 33275793eaSopenharmony_ci unsigned long *destlen, /* amount of output space */ 34275793eaSopenharmony_ci const unsigned char *source, /* pointer to source data pointer */ 35275793eaSopenharmony_ci unsigned long *sourcelen); /* amount of input available */ 36