]> sourceware.org Git - lvm2.git/commit
Add macro definitions to report infrastructure for character array length.
authorDave Wysochanski <dwysocha@redhat.com>
Fri, 20 Aug 2010 12:44:30 +0000 (12:44 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Fri, 20 Aug 2010 12:44:30 +0000 (12:44 +0000)
commitd6fbd0db328003a20b895fcbe654ac49d446df79
tree6d014aff27294d855282cea0f7ee114bf1bf64ca
parent7bdc15c8bb49b0d3bd061a3de94cff9ba20f9369
Add macro definitions to report infrastructure for character array length.

Rather than hard code the size of the field, use a #define, so we can re-use.
The #define will be needed in a future patch when we extend the reporting
infrastructure to have 'get' and 'set' functions for each field, allowing
lvm2app functions which query any report field.  In order to provide a
generic lookup based on the field id, we will define a type containing this
field id, and thus, we will need to re-use the length of this string as
it's defined inside libdevmapper.h.
libdm/libdevmapper.h
This page took 0.028998 seconds and 5 git commands to generate.