device-mapper ./WHATS_NEW lib/libdevmapper.h l ...
Subsystems (2)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2007-01-29 17:23:54
Modified files:
. : WHATS_NEW
lib : libdevmapper.h libdm-report.c
Log message:
Use fixed-size fields in report interface.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.162&r2=1.163
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdevmapper.h.diff?cvsroot=dm&r1=1.67&r2=1.68
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-report.c.diff?cvsroot=dm&r1=1.10&r2=1.11
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 1.02.17 - =================================== + Use fixed-size fields in report interface. Version 1.02.16 - 25th January 2007 ===================================
lib/libdevmapper.h +3 -3
@@ -657,11 +657,11 @@struct dm_report ;struct dm_report_field_type {uint32_t type;/* object type id */ +uint32_t flags;/* DM_REPORT_FIELD_* */ +uint32_t offset;/* byte offset in the object */ +int32_t width;/* default width */ const char id[32 ];/* string used to specify the field */ -unsigned int offset;/* byte offset in the object */ const char heading[32 ];/* string printed in header */ -int width;/* default width */ -uint32_t flags;/* DM_REPORT_FIELD_* */ int (*report_fn)(struct dm_report *rh,struct dm_pool *mem,struct dm_report_field *field,const void *data,void *private);
lib/libdm-report.c +2 -2
@@ -60,7 +60,7 @@struct list list;uint32_t field_num;uint32_t sort_posn; -unsigned width; +int32_t width;const struct dm_report_object_type *type;uint32_t flags; };
@@ -750,7 +750,7 @@struct dm_report_field *field;const char *repstr;char buf[4096 ]; -unsigned width; +int32_t width;uint32_t align;if (list_empty (&rh->rows))