Blame libmultipath/sysfs.h

Packit Service 0af388
/*
Packit Service 0af388
 * sysfs.h
Packit Service 0af388
 */
Packit Service 0af388
Packit Service 0af388
#ifndef _LIBMULTIPATH_SYSFS_H
Packit Service 0af388
#define _LIBMULTIPATH_SYSFS_H
Packit Service 0af388
#include <stdbool.h>
Packit Service 0af388
Packit Service 0af388
ssize_t sysfs_attr_set_value(struct udev_device *dev, const char *attr_name,
Packit Service 0af388
			     const char * value, size_t value_len);
Packit Service 0af388
ssize_t sysfs_attr_get_value(struct udev_device *dev, const char *attr_name,
Packit Service 0af388
			     char * value, size_t value_len);
Packit Service 0af388
ssize_t sysfs_bin_attr_get_value(struct udev_device *dev, const char *attr_name,
Packit Service 0af388
				 unsigned char * value, size_t value_len);
Packit Service 0af388
int sysfs_get_size (struct path *pp, unsigned long long * size);
Packit Service 0af388
int sysfs_check_holders(char * check_devt, char * new_devt);
Packit Service 0af388
bool sysfs_is_multipathed(const struct path *pp);
Packit Service 0af388
#endif