mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/libxc now contains libxenguest only. Move it to tools/libs/guest. When generating the pkg-config file for libxenguest a filter is now required for replacing "xenctrl" by "xencontrol" in the "Requires.private:" entry. Add this filter to tools/libs/libs.mk. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> (stubdom parts)
21 lines
975 B
C
21 lines
975 B
C
#include "xenctrl_dom.h"
|
|
|
|
typedef int decompress_fn(unsigned char *inbuf, unsigned int len,
|
|
int (*fill)(void*, unsigned int),
|
|
int (*flush)(void*, unsigned int),
|
|
unsigned char *outbuf, unsigned int *posp,
|
|
void (*error)(const char *x));
|
|
|
|
int xc_dom_decompress_unsafe(
|
|
decompress_fn fn, struct xc_dom_image *dom, void **blob, size_t *size)
|
|
__attribute__((visibility("internal")));
|
|
|
|
int xc_try_bzip2_decode(struct xc_dom_image *dom, void **blob, size_t *size)
|
|
__attribute__((visibility("internal")));
|
|
int xc_try_lzma_decode(struct xc_dom_image *dom, void **blob, size_t *size)
|
|
__attribute__((visibility("internal")));
|
|
int xc_try_lzo1x_decode(struct xc_dom_image *dom, void **blob, size_t *size)
|
|
__attribute__((visibility("internal")));
|
|
int xc_try_xz_decode(struct xc_dom_image *dom, void **blob, size_t *size)
|
|
__attribute__((visibility("internal")));
|