[cmp] add decompression support

* Adds .Z, .gz, .lzma, .xz and .bz2 decompression support for DD images
  using the Bled library (https://github.com/pbatard/bled).
* Closes #269
This commit is contained in:
Pete Batard 2014-12-29 20:34:41 +00:00
parent 3f0e71f3ba
commit 7599715ae6
56 changed files with 10020 additions and 89 deletions

View file

@ -41,6 +41,7 @@
#include "drive.h"
#include "registry.h"
#include "localization.h"
#include "bled/bled.h"
/* Redefinitions for WDK and MinGW */
// TODO: these would be better in a 'missing.h' file
@ -1637,6 +1638,7 @@ void SetBoot(int fs, int bt)
/*
* Main dialog callback
*/
extern int uncompress(const char* src, const char* dst, int type);
static INT_PTR CALLBACK MainCallback(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
DRAWITEMSTRUCT* pDI;