diff options
Diffstat (limited to 'tools/libxc/xc_dom_decompress_unsafe_lzma.c')
-rw-r--r-- | tools/libxc/xc_dom_decompress_unsafe_lzma.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/libxc/xc_dom_decompress_unsafe_lzma.c b/tools/libxc/xc_dom_decompress_unsafe_lzma.c new file mode 100644 index 0000000000..4ee8cdbab1 --- /dev/null +++ b/tools/libxc/xc_dom_decompress_unsafe_lzma.c @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <stdlib.h> +#include <inttypes.h> + +#include "xg_private.h" +#include "xc_dom_decompress_unsafe.h" + +#include "../../xen/common/unlzma.c" + +int xc_try_lzma_decode( + struct xc_dom_image *dom, void **blob, size_t *size) +{ + return xc_dom_decompress_unsafe(unlzma, dom, blob, size); +} |