diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-04-26 12:56:01 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-05-01 14:46:02 +0100 |
commit | bed27769cad0cabada6e8dc2715f633188456a82 (patch) | |
tree | 4767285644478994316eba3a2b9feca1cd3b9512 | |
parent | eee2d202ead1a5ee151f39378b670086c1ef17c7 (diff) | |
download | libguestfs-bed27769cad0cabada6e8dc2715f633188456a82.tar.gz libguestfs-bed27769cad0cabada6e8dc2715f633188456a82.tar.xz libguestfs-bed27769cad0cabada6e8dc2715f633188456a82.zip |
fish: Add opaque field to the drives list for programs to use.
Not used at present.
(cherry picked from commit 39d79e677b684dfd49c852ee7ce4c4bf3d5cf56f)
-rw-r--r-- | fish/options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fish/options.h b/fish/options.h index 2b049f2f..f0f5a07a 100644 --- a/fish/options.h +++ b/fish/options.h @@ -105,6 +105,11 @@ struct drv { void (*data_free)(void*); /* function to free 'data' */ } N; }; + + /* Opaque pointer. Not used by the options-parsing code, and so + * available for the program to use for any purpose. + */ + void *opaque; }; struct mp { |