aplib.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*
  2.  * aPLib compression library  -  the smaller the better :)
  3.  *
  4.  * Visual C/C++ header file
  5.  *
  6.  * Copyright (c) 1998-2000 by Joergen Ibsen / Jibz
  7.  * All Rights Reserved
  8.  */
  9. #ifndef __APLIB_H_INCLUDED
  10. #define __APLIB_H_INCLUDED
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. unsigned int aP_pack(unsigned char *source,
  15.                              unsigned char *destination,
  16.                              unsigned int length,
  17.                              unsigned char *workmem,
  18.                              int (*callback) (unsigned int, unsigned int));
  19. unsigned int aP_workmem_size(unsigned int inputsize);
  20. unsigned int aP_depack_asm(unsigned char *source, unsigned char *destination);
  21. unsigned int aP_depack_asm_fast(unsigned char *source, unsigned char *destination);
  22. #ifdef __cplusplus
  23. } /* extern "C" */
  24. #endif
  25. #endif /* __APLIB_H_INCLUDED */