[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH 02/11] Add 'writeable' field to columns.h



On Wed, Aug 18, 2010 at 09:51:53AM -0400, Dave Wysochanski wrote:
> + * 10. Writeable field.  If the field is writeable, a 'set' function must be
> + * defined.

Let's do this like we did in args.h with a flags field, to reduce the churn
if we decide to add more properties.

10. Flags.
    FIELD_MODIFIABLE.  A '_set' function exists to change the field's value.
                       The function name is derived in a similar way to item 7 above.
    
Alasdair


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]