From df15f46900b467e295b23cad59da7c5e41c47e51 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 19 Jan 2007 20:42:09 +0000 Subject: [PATCH] var dev_name->device_name (lvm2 has dev_name()) --- daemons/dmeventd/libdevmapper-event.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/daemons/dmeventd/libdevmapper-event.h b/daemons/dmeventd/libdevmapper-event.h index efd23b46c..0a6b7e029 100644 --- a/daemons/dmeventd/libdevmapper-event.h +++ b/daemons/dmeventd/libdevmapper-event.h @@ -55,17 +55,17 @@ void dm_event_handler_destroy(struct dm_event_handler *dmevh); /* * Path of shared library to handle events. * - * All of dso, dev_name and uuid strings are duplicated, you do not + * All of dso, device_name and uuid strings are duplicated, you do not * need to keep the pointers valid after the call succeeds. Thes may * return -ENOMEM though. */ int dm_event_handler_set_dso(struct dm_event_handler *dmevh, const char *path); /* - * Identify the device to monitor by exactly one of dev_name, uuid or + * Identify the device to monitor by exactly one of device_name, uuid or * device number. String arguments are duplicated, see above. */ -int dm_event_handler_set_dev_name(struct dm_event_handler *dmevh, const char *dev_name); +int dm_event_handler_set_dev_name(struct dm_event_handler *dmevh, const char *device_name); int dm_event_handler_set_uuid(struct dm_event_handler *dmevh, const char *uuid); @@ -97,8 +97,8 @@ int dm_event_unregister_handler(const struct dm_event_handler *dmevh); /* Prototypes for DSO interface, see dmeventd.c, struct dso_data for detailed descriptions. */ void process_event(struct dm_task *dmt, enum dm_event_mask evmask); -int register_device(const char *dev_name, const char *uuid, int major, int minor); -int unregister_device(const char *dev_name, const char *uuid, int major, +int register_device(const char *device_name, const char *uuid, int major, int minor); +int unregister_device(const char *device_name, const char *uuid, int major, int minor); #endif