X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs-internal.h;h=99a04045705b7144baadcb2fec111720d21fb6a8;hb=d82438431c1551610eb7d9945fa76d6387534582;hp=0650eb29f67297543bc7dacc2e76fd5436a7d891;hpb=5f26270c343bf543a7bf20cf3e6f182f6282f8ea;p=libguestfs.git diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 0650eb2..99a0404 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -89,6 +89,9 @@ */ #define MAX_PKG_DB_SIZE (300 * 1000 * 1000) +/* Maximum size of Windows explorer.exe. 2.6MB on Windows 7. */ +#define MAX_WINDOWS_EXPLORER_SIZE (4 * 1000 * 1000) + /* Network configuration of the appliance. Note these addresses are * only meaningful within the context of the running appliance. QEMU * translates network connections to these magic addresses into @@ -167,6 +170,8 @@ struct guestfs_h int selinux; /* selinux enabled? */ + int pgroup; /* Create process group for children? */ + char *last_error; int last_errnum; /* errno, or 0 if there was no errno */ @@ -195,6 +200,11 @@ struct guestfs_h FILE *trace_fp; char *trace_buf; size_t trace_len; + + /* User cancelled transfer. Not signal-atomic, but it doesn't + * matter for this case because we only care if it is != 0. + */ + int user_cancel; }; /* Per-filesystem data stored for inspect_os. */