]> sourceware.org Git - lvm2.git/commit
Add properties.[ch] to lib/report, defined based on columns.h.
authorDave Wysochanski <dwysocha@redhat.com>
Fri, 20 Aug 2010 12:44:47 +0000 (12:44 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Fri, 20 Aug 2010 12:44:47 +0000 (12:44 +0000)
commitfc65b9038eadd04b4b4bfc640aff66094b0699d0
tree3883f5131c8827919a33ac4ef792bf056ebb9e17
parentd6fbd0db328003a20b895fcbe654ac49d446df79
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.
include/.symlinks.in
lib/Makefile.in
This page took 0.088652 seconds and 5 git commands to generate.