首页 > 其他 > 详细

zlib库剖析(1):实现概览

时间:2017-05-27 17:36:12      阅读:340      评论:0      收藏:0      [点我收藏+]

 

zlib库剖析(1):实现概览

http://blog.csdn.net/zhoudaxia/article/details/8034606

http://blog.chinaunix.net/uid-10225517-id-2968298.html

http://blog.csdn.net/zhoudaxia/article/details/8034609

http://blog.csdn.net/educast/article/details/38728465

http://blog.chinaunix.net/xmlrpc.php?id=5672211&r=blog/article&uid=24118190

 

zipper.h

// Zipper.h: interface for the CZipper class. // //////////////////////////////////////////////////////////////////////

#ifndef SMP_ZIPPER_H #define SMP_ZIPPER_H

#if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000

#ifndef MAX_PATH #define MAX_PATH 260 #endif

struct Z_FileInfo {  int nFileCount;  int nFolderCount;  unsigned long dwUncompressedSize; };

class CZipper  { public:  CZipper(const char * szFilePath = 0);  virtual ~CZipper();

 // simple interface  // works with prior opened zip  bool AddFileToZip(const char * szFilePath);    // extended interface  bool OpenZip(const char * szFilePath);  bool CloseZip(); // for multiple reuse  void GetFileInfo(Z_FileInfo& info);   protected:  void* m_uzFile;  Z_FileInfo m_info;

};

#endif // !defined(AFX_ZIPPER_H__4249275D_B50B_4AAE_8715_B706D1CA0F2F__INCLUDED_)

zlib库剖析(1):实现概览

原文:http://www.cnblogs.com/chulia20002001/p/6913844.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!