mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
Export dummies for
- udev_device_has_current_tag - udev_device_get_current_tags_list_entry since the current eudev device database does not support the concept of current tags
This commit is contained in:
parent
7d2123ead5
commit
dacff83d87
@ -1819,6 +1819,12 @@ _public_ struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_dev
|
|||||||
return udev_list_get_entry(&udev_device->tags_list);
|
return udev_list_get_entry(&udev_device->tags_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_public_ struct udev_list_entry *udev_device_get_current_tags_list_entry(struct udev_device *udev_device)
|
||||||
|
{
|
||||||
|
// TODO: eudev database does not support current tags
|
||||||
|
return udev_device_get_tags_list_entry(udev_device);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* udev_device_has_tag:
|
* udev_device_has_tag:
|
||||||
* @udev_device: udev device
|
* @udev_device: udev device
|
||||||
@ -1842,6 +1848,11 @@ _public_ int udev_device_has_tag(struct udev_device *udev_device, const char *ta
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_public_ int udev_device_has_current_tag(struct udev_device *udev_device, const char *tag) {
|
||||||
|
// TODO: eudev database does not support current tags
|
||||||
|
return udev_device_has_tag(udev_device, tag);
|
||||||
|
}
|
||||||
|
|
||||||
#define ENVP_SIZE 128
|
#define ENVP_SIZE 128
|
||||||
#define MONITOR_BUF_SIZE 4096
|
#define MONITOR_BUF_SIZE 4096
|
||||||
static int update_envp_monitor_buf(struct udev_device *udev_device)
|
static int update_envp_monitor_buf(struct udev_device *udev_device)
|
||||||
|
@ -100,6 +100,7 @@ int udev_device_get_is_initialized(struct udev_device *udev_device);
|
|||||||
struct udev_list_entry *udev_device_get_devlinks_list_entry(struct udev_device *udev_device);
|
struct udev_list_entry *udev_device_get_devlinks_list_entry(struct udev_device *udev_device);
|
||||||
struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_device *udev_device);
|
struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_device *udev_device);
|
||||||
struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device *udev_device);
|
struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device *udev_device);
|
||||||
|
struct udev_list_entry *udev_device_get_current_tags_list_entry(struct udev_device *udev_device);
|
||||||
struct udev_list_entry *udev_device_get_sysattr_list_entry(struct udev_device *udev_device);
|
struct udev_list_entry *udev_device_get_sysattr_list_entry(struct udev_device *udev_device);
|
||||||
const char *udev_device_get_property_value(struct udev_device *udev_device, const char *key);
|
const char *udev_device_get_property_value(struct udev_device *udev_device, const char *key);
|
||||||
const char *udev_device_get_driver(struct udev_device *udev_device);
|
const char *udev_device_get_driver(struct udev_device *udev_device);
|
||||||
@ -110,6 +111,7 @@ unsigned long long int udev_device_get_usec_since_initialized(struct udev_device
|
|||||||
const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const char *sysattr);
|
const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const char *sysattr);
|
||||||
int udev_device_set_sysattr_value(struct udev_device *udev_device, const char *sysattr, char *value);
|
int udev_device_set_sysattr_value(struct udev_device *udev_device, const char *sysattr, char *value);
|
||||||
int udev_device_has_tag(struct udev_device *udev_device, const char *tag);
|
int udev_device_has_tag(struct udev_device *udev_device, const char *tag);
|
||||||
|
int udev_device_has_current_tag(struct udev_device *udev_device, const char *tag);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* udev_monitor
|
* udev_monitor
|
||||||
|
@ -118,3 +118,9 @@ global:
|
|||||||
udev_queue_flush;
|
udev_queue_flush;
|
||||||
udev_queue_get_fd;
|
udev_queue_get_fd;
|
||||||
} LIBUDEV_199;
|
} LIBUDEV_199;
|
||||||
|
|
||||||
|
LIBUDEV_247 {
|
||||||
|
global:
|
||||||
|
udev_device_has_current_tag;
|
||||||
|
udev_device_get_current_tags_list_entry;
|
||||||
|
} LIBUDEV_215;
|
||||||
|
Loading…
Reference in New Issue
Block a user