diff options
author | Richard Jones <rjones@redhat.com> | 2010-08-31 18:48:32 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-09-01 14:20:21 +0100 |
commit | 4ea0abfce413767868a8f53b3d20e5d2f62dff08 (patch) | |
tree | 7e81530ed13287b064634d9065eaf5484950f0de /src/guestfs-internal.h | |
parent | 54837f6d7ba83178625e2f0c3c063457d9f3f79c (diff) | |
download | libguestfs-4ea0abfce413767868a8f53b3d20e5d2f62dff08.tar.gz libguestfs-4ea0abfce413767868a8f53b3d20e5d2f62dff08.tar.xz libguestfs-4ea0abfce413767868a8f53b3d20e5d2f62dff08.zip |
Implement private data area.
The private data area is a hash table which is associated with
libguestfs handles, that C callers may use to store arbitrary
data for the lifetime of the handle.
Later the OCaml bindings will use this in order to implement
callbacks.
Diffstat (limited to 'src/guestfs-internal.h')
-rw-r--r-- | src/guestfs-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 32a6c2a6..ed82fded 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -132,6 +132,9 @@ struct guestfs_h */ struct inspect_fs *fses; size_t nr_fses; + + /* Private data area. */ + struct hash_table *pda; }; /* Per-filesystem data stored for inspect_os. */ |