class axl::sys::lnx::UdevLib

#include <axl_sys_lnx_Udev.h>

class UdevLib: public DynamicLib
{
public:
    // construction

    UdevLib();

    // methods

    static
    struct udev*
    udev_ref(struct udev* context);

    static
    struct udev*
    udev_unref(struct udev* context);

    static
    struct udev*
    udev_new();

    static
    struct udev_device*
    udev_device_new_from_syspath(
        struct udev* context,
        const char* syspath
        );

    static
    struct udev_device*
    udev_device_new_from_devnum(
        struct udev* context,
        char type,
        dev_t devnum
        );

    static
    struct udev_device*
    udev_device_new_from_subsystem_sysname(
        struct udev* context,
        const char* subsystem,
        const char* sysname
        );

    static
    struct udev_device*
    udev_device_new_from_environment(struct udev* context);

    static
    struct udev_enumerate*
    udev_enumerate_new(struct udev* context);

    static
    struct udev_monitor*
    udev_monitor_new_from_netlink(
        struct udev* context,
        const char* name
        );

    static
    struct udev_device*
    udev_device_ref(struct udev_device* device);

    static
    struct udev_device*
    udev_device_unref(struct udev_device* device);

    static
    struct udev*
    udev_device_get_udev(struct udev_device* device);

    static
    const char*
    udev_device_get_syspath(struct udev_device* device);

    static
    const char*
    udev_device_get_sysname(struct udev_device* device);

    static
    const char*
    udev_device_get_sysnum(struct udev_device* device);

    static
    const char*
    udev_device_get_devpath(struct udev_device* device);

    static
    const char*
    udev_device_get_devnode(struct udev_device* device);

    static
    dev_t
    udev_device_get_devnum(struct udev_device* device);

    static
    const char*
    udev_device_get_devtype(struct udev_device* device);

    static
    const char*
    udev_device_get_subsystem(struct udev_device* device);

    static
    const char*
    udev_device_get_driver(struct udev_device* device);

    static
    struct udev_device*
    udev_device_get_parent(struct udev_device* device);

    static
    struct udev_device*
    udev_device_get_parent_with_subsystem_devtype(
        struct udev_device* device,
        const char* subsystem,
        const char* devtype
        );

    static
    bool
    udev_device_get_is_initialized(struct udev_device* device);

    static
    const char*
    udev_device_get_action(struct udev_device* device);

    static
    struct udev_list_entry*
    udev_device_get_devlinks_list_entry(struct udev_device* device);

    static
    struct udev_list_entry*
    udev_device_get_properties_list_entry(struct udev_device* device);

    static
    struct udev_list_entry*
    udev_device_get_tags_list_entry(struct udev_device* device);

    static
    struct udev_list_entry*
    udev_device_get_sysattr_list_entry(struct udev_device* device);

    static
    const char*
    udev_device_get_property_value(
        struct udev_device* device,
        const char* key
        );

    static
    bool
    udev_device_has_tag(
        struct udev_device* device,
        const char* tag
        );

    static
    struct udev_enumerate*
    udev_enumerate_ref(struct udev_enumerate* enumerate);

    static
    struct udev_enumerate*
    udev_enumerate_unref(struct udev_enumerate* enumerate);

    static
    struct udev*
    udev_enumerate_get_udev(struct udev_enumerate* enumerate);

    static
    bool
    udev_enumerate_add_match_subsystem_b(
        struct udev_enumerate* enumerate,
        const char* subsystem
        );

    static
    bool
    udev_enumerate_add_nomatch_subsystem_b(
        struct udev_enumerate* enumerate,
        const char* subsystem
        );

    static
    bool
    udev_enumerate_add_match_sysattr_b(
        struct udev_enumerate* enumerate,
        const char* sysattr,
        const char* value
        );

    static
    bool
    udev_enumerate_add_nomatch_sysattr_b(
        struct udev_enumerate* enumerate,
        const char* sysattr,
        const char* value
        );

    static
    bool
    udev_enumerate_add_match_property_b(
        struct udev_enumerate* enumerate,
        const char* property,
        const char* value
        );

    static
    bool
    udev_enumerate_add_match_sysname_b(
        struct udev_enumerate* enumerate,
        const char* sysname
        );

    static
    bool
    udev_enumerate_add_match_tag_b(
        struct udev_enumerate* enumerate,
        const char* tag
        );

    static
    bool
    udev_enumerate_add_match_parent_b(
        struct udev_enumerate* enumerate,
        struct udev_device* parent
        );

    static
    bool
    udev_enumerate_add_match_is_initialized_b(struct udev_enumerate* enumerate);

    static
    bool
    udev_enumerate_scan_devices_b(struct udev_enumerate* enumerate);

    static
    bool
    udev_enumerate_scan_subsystems_b(struct udev_enumerate* enumerate);

    static
    bool
    udev_enumerate_add_syspath_b(
        struct udev_enumerate* enumerate,
        const char* syspath
        );

    static
    struct udev_list_entry*
    udev_enumerate_get_list_entry(struct udev_enumerate* enumerate);

    static
    struct udev_list_entry*
    udev_list_entry_get_next(struct udev_list_entry* entry);

    static
    struct udev_list_entry*
    udev_list_entry_get_by_name(
        struct udev_list_entry* entry,
        const char* name
        );

    static
    const char*
    udev_list_entry_get_name(struct udev_list_entry* entry);

    static
    const char*
    udev_list_entry_get_value(struct udev_list_entry* entry);

    static
    struct udev_monitor*
    udev_monitor_ref(struct udev_monitor* monitor);

    static
    struct udev_monitor*
    udev_monitor_unref(struct udev_monitor* monitor);

    static
    struct udev*
    udev_monitor_get_udev(struct udev_monitor* monitor);

    static
    int
    udev_monitor_get_fd(struct udev_monitor* monitor);

    static
    bool
    udev_monitor_filter_update_b(struct udev_monitor* monitor);

    static
    bool
    udev_monitor_filter_remove_b(struct udev_monitor* monitor);

    static
    bool
    udev_monitor_filter_add_match_subsystem_devtype_b(
        struct udev_monitor* monitor,
        const char* subsystem,
        const char* devtype
        );

    static
    bool
    udev_monitor_filter_add_match_tag_b(
        struct udev_monitor* monitor,
        const char* tag
        );

    static
    bool
    udev_monitor_set_receive_buffer_size_b(
        struct udev_monitor* monitor,
        int size
        );

    static
    bool
    udev_monitor_enable_receiving_b(struct udev_monitor* monitor);

    static
    struct udev_device*
    udev_monitor_receive_device(struct udev_monitor* monitor);
};