diff options
author | Dave Wysochanski <dwysocha@redhat.com> | 2010-08-20 12:44:47 +0000 |
---|---|---|
committer | Dave Wysochanski <dwysocha@redhat.com> | 2010-08-20 12:44:47 +0000 |
commit | fc65b9038eadd04b4b4bfc640aff66094b0699d0 (patch) | |
tree | 3883f5131c8827919a33ac4ef792bf056ebb9e17 /include | |
parent | d6fbd0db328003a20b895fcbe654ac49d446df79 (diff) | |
download | lvm2-fc65b9038eadd04b4b4bfc640aff66094b0699d0.tar.gz |
Add properties.[ch] to lib/report, defined based on columns.h.
Extend the existing reporting infrastructure definitions and structures
to include a 'get' and 'set' function for each field. We will provide
a 'get' and 'set' function for each of these fields, which will be utilized
by exported lvm2app functions.
Define a default _not_implemented 'get' and 'set' function that just sets
an errno and returns 0. Future patches will actually implement the
specific 'get' and 'set' functions for each property. For read-only
properties, only the 'get' function will be implemented.
Define vg_get_property() function to query a property. We will call
this from a lvm2app function.
Diffstat (limited to 'include')
-rw-r--r-- | include/.symlinks.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/.symlinks.in b/include/.symlinks.in index 5a7e55622..2b15844b0 100644 --- a/include/.symlinks.in +++ b/include/.symlinks.in @@ -50,6 +50,7 @@ @top_builddir@/lib/misc/lvm-version.h @top_srcdir@/lib/misc/lvm-wrappers.h @top_srcdir@/lib/misc/sharedlib.h +@top_srcdir@/lib/report/properties.h @top_srcdir@/lib/report/report.h @top_srcdir@/lib/uuid/uuid.h @top_srcdir@/libdm/libdevmapper.h |