pucrunch.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. /* pucrunch.h: Pucrunch compression code
  2. Pucrunch 1997-2005 by Pasi 'Albert' Ojala, a1bert@iki.fi
  3. Copyright (C) 2000 Thomas Nussbaumer
  4. Copyright (C) 2007 Kevin Kofler
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software Foundation,
  15. Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
  16. #if defined(TARGET_EMBEDDED) || defined(TARGET_DLL)
  17. #error Pucrunch compression is only supported for the standalone target.
  18. #endif
  19. #include "exp_def.h"
  20. #define F_VERBOSE (1<<0)
  21. #define F_STATS (1<<1)
  22. int TTPack(int flags, int in_len, unsigned char *in_data, EXP_FILE *out_file);