diff options
-rw-r--r-- | src/guestfs-internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index dc6f01a2..a279524b 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -248,6 +248,12 @@ struct guestfs_h /* Used by bindtests. */ FILE *test_fp; + /* Used to generate unique numbers, eg for temp files. To use this, + * '++g->unique'. Note these are only unique per-handle, not + * globally unique. + */ + int unique; + /*** Protocol. ***/ int fd[2]; /* Stdin/stdout of qemu. */ int sock; /* Daemon communications socket. */ |