/usr/include/dmraid/dmreg.h is in libdmraid-dev 1.0.0.rc16-4.2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | /*
* Copyright (C) 2009 Intel Corporation. All rights reserved.
* Copyright (C) 2009 Heinz Mauelshagen, Red Hat GmbH.
* All rights reserved.
*
* See file LICENSE at the top of this source tree for license information.
* April 2009 - File creation
*/
#ifndef _DMREG_H_
#define _DMREG_H_
enum display_opt { UNREGISTERED, ALL, REGISTERED_WITH_UUID, REGISTERED_NO_UUID };
extern int dm_register_device(char *dev_name, char *dso_name);
extern int dm_unregister_device(char *dev_name, char *dso_name);
extern int dm_all_monitored(enum display_opt);
extern int dm_monitored_events(int *pending, char *dev_name, char *dso);
#endif
|