summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/libudev-so_wrap.c
diff options
context:
space:
mode:
authorHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-20 00:13:33 +0100
committerHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-20 01:24:30 +0100
commit5233d78f491420b26d7c06a44bc781a01da11d9f (patch)
tree05d19928a5a44ee26456726f49cfdbdaae9590ee /platform/linuxbsd/libudev-so_wrap.c
parentdc1ae065578baee102d461353c757ebf2cc5cf8c (diff)
An update to the dylibloader for older inttypes
This #define's older inttypes to their newer versions and #includes <stdint.h> in the generated files. This will help with older glibc/compiler versions using headers generated on newer systems. This closes #46223
Diffstat (limited to 'platform/linuxbsd/libudev-so_wrap.c')
-rw-r--r--platform/linuxbsd/libudev-so_wrap.c730
1 files changed, 457 insertions, 273 deletions
diff --git a/platform/linuxbsd/libudev-so_wrap.c b/platform/linuxbsd/libudev-so_wrap.c
index 07f368d7c5..a9fa4a494a 100644
--- a/platform/linuxbsd/libudev-so_wrap.c
+++ b/platform/linuxbsd/libudev-so_wrap.c
@@ -1,8 +1,10 @@
// This file is generated. Do not edit!
// see https://github.com/hpvb/dynload-wrapper for details
-// generated by /home/hp/Projects/godot/pulse/generate-wrapper.py 0.2 on 2021-02-18 00:18:56
+// generated by /home/hp/Projects/godot/pulse/generate-wrapper.py 0.3 on 2021-02-20 00:08:59
// flags: /home/hp/Projects/godot/pulse/generate-wrapper.py --include /usr/include/libudev.h --sys-include <libudev.h> --soname libudev.so.1 --init-name libudev --omit-prefix gnu_ --output-header libudev-so_wrap.h --output-implementation libudev-so_wrap.c
//
+#include <stdint.h>
+
#define udev_ref udev_ref_dylibloader_orig_libudev
#define udev_unref udev_unref_dylibloader_orig_libudev
#define udev_new udev_new_dylibloader_orig_libudev
@@ -276,554 +278,736 @@ struct udev_hwdb* (*udev_hwdb_ref_dylibloader_wrapper_libudev)(struct udev_hwdb*
struct udev_hwdb* (*udev_hwdb_unref_dylibloader_wrapper_libudev)(struct udev_hwdb*);
struct udev_list_entry* (*udev_hwdb_get_properties_list_entry_dylibloader_wrapper_libudev)(struct udev_hwdb*,const char*, unsigned);
int (*udev_util_encode_string_dylibloader_wrapper_libudev)(const char*, char*, size_t);
-int initialize_libudev() {
+int initialize_libudev(int verbose) {
void *handle;
char *error;
handle = dlopen("libudev.so.1", RTLD_LAZY);
if (!handle) {
- fprintf(stderr, "%s\n", dlerror());
+ if (verbose) {
+ fprintf(stderr, "%s\n", dlerror());
+ }
return(1);
}
dlerror();
// udev_ref
*(void **) (&udev_ref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_unref
*(void **) (&udev_unref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_new
*(void **) (&udev_new_dylibloader_wrapper_libudev) = dlsym(handle, "udev_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_set_log_fn
*(void **) (&udev_set_log_fn_dylibloader_wrapper_libudev) = dlsym(handle, "udev_set_log_fn");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_get_log_priority
*(void **) (&udev_get_log_priority_dylibloader_wrapper_libudev) = dlsym(handle, "udev_get_log_priority");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_set_log_priority
*(void **) (&udev_set_log_priority_dylibloader_wrapper_libudev) = dlsym(handle, "udev_set_log_priority");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_get_userdata
*(void **) (&udev_get_userdata_dylibloader_wrapper_libudev) = dlsym(handle, "udev_get_userdata");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_set_userdata
*(void **) (&udev_set_userdata_dylibloader_wrapper_libudev) = dlsym(handle, "udev_set_userdata");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_list_entry_get_next
*(void **) (&udev_list_entry_get_next_dylibloader_wrapper_libudev) = dlsym(handle, "udev_list_entry_get_next");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_list_entry_get_by_name
*(void **) (&udev_list_entry_get_by_name_dylibloader_wrapper_libudev) = dlsym(handle, "udev_list_entry_get_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_list_entry_get_name
*(void **) (&udev_list_entry_get_name_dylibloader_wrapper_libudev) = dlsym(handle, "udev_list_entry_get_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_list_entry_get_value
*(void **) (&udev_list_entry_get_value_dylibloader_wrapper_libudev) = dlsym(handle, "udev_list_entry_get_value");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_ref
*(void **) (&udev_device_ref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_unref
*(void **) (&udev_device_unref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_udev
*(void **) (&udev_device_get_udev_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_udev");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_new_from_syspath
*(void **) (&udev_device_new_from_syspath_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_new_from_syspath");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_new_from_devnum
*(void **) (&udev_device_new_from_devnum_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_new_from_devnum");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_new_from_subsystem_sysname
*(void **) (&udev_device_new_from_subsystem_sysname_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_new_from_subsystem_sysname");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_new_from_device_id
*(void **) (&udev_device_new_from_device_id_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_new_from_device_id");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_new_from_environment
*(void **) (&udev_device_new_from_environment_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_new_from_environment");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_parent
*(void **) (&udev_device_get_parent_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_parent");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_parent_with_subsystem_devtype
*(void **) (&udev_device_get_parent_with_subsystem_devtype_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_parent_with_subsystem_devtype");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_devpath
*(void **) (&udev_device_get_devpath_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_devpath");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_subsystem
*(void **) (&udev_device_get_subsystem_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_subsystem");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_devtype
*(void **) (&udev_device_get_devtype_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_devtype");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_syspath
*(void **) (&udev_device_get_syspath_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_syspath");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_sysname
*(void **) (&udev_device_get_sysname_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_sysname");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_sysnum
*(void **) (&udev_device_get_sysnum_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_sysnum");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_devnode
*(void **) (&udev_device_get_devnode_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_devnode");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_is_initialized
*(void **) (&udev_device_get_is_initialized_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_is_initialized");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_devlinks_list_entry
*(void **) (&udev_device_get_devlinks_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_devlinks_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_properties_list_entry
*(void **) (&udev_device_get_properties_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_properties_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_tags_list_entry
*(void **) (&udev_device_get_tags_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_tags_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_sysattr_list_entry
*(void **) (&udev_device_get_sysattr_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_sysattr_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_property_value
*(void **) (&udev_device_get_property_value_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_property_value");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_driver
*(void **) (&udev_device_get_driver_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_driver");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_devnum
*(void **) (&udev_device_get_devnum_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_devnum");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_action
*(void **) (&udev_device_get_action_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_action");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_seqnum
*(void **) (&udev_device_get_seqnum_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_seqnum");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_usec_since_initialized
*(void **) (&udev_device_get_usec_since_initialized_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_usec_since_initialized");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_get_sysattr_value
*(void **) (&udev_device_get_sysattr_value_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_get_sysattr_value");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_set_sysattr_value
*(void **) (&udev_device_set_sysattr_value_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_set_sysattr_value");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_device_has_tag
*(void **) (&udev_device_has_tag_dylibloader_wrapper_libudev) = dlsym(handle, "udev_device_has_tag");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_ref
*(void **) (&udev_monitor_ref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_unref
*(void **) (&udev_monitor_unref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_get_udev
*(void **) (&udev_monitor_get_udev_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_get_udev");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_new_from_netlink
*(void **) (&udev_monitor_new_from_netlink_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_new_from_netlink");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_enable_receiving
*(void **) (&udev_monitor_enable_receiving_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_enable_receiving");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_set_receive_buffer_size
*(void **) (&udev_monitor_set_receive_buffer_size_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_set_receive_buffer_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_get_fd
*(void **) (&udev_monitor_get_fd_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_get_fd");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_receive_device
*(void **) (&udev_monitor_receive_device_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_receive_device");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_filter_add_match_subsystem_devtype
*(void **) (&udev_monitor_filter_add_match_subsystem_devtype_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_filter_add_match_subsystem_devtype");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_filter_add_match_tag
*(void **) (&udev_monitor_filter_add_match_tag_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_filter_add_match_tag");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_filter_update
*(void **) (&udev_monitor_filter_update_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_filter_update");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_monitor_filter_remove
*(void **) (&udev_monitor_filter_remove_dylibloader_wrapper_libudev) = dlsym(handle, "udev_monitor_filter_remove");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_ref
*(void **) (&udev_enumerate_ref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_unref
*(void **) (&udev_enumerate_unref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_get_udev
*(void **) (&udev_enumerate_get_udev_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_get_udev");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_new
*(void **) (&udev_enumerate_new_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_subsystem
*(void **) (&udev_enumerate_add_match_subsystem_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_subsystem");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_nomatch_subsystem
*(void **) (&udev_enumerate_add_nomatch_subsystem_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_nomatch_subsystem");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_sysattr
*(void **) (&udev_enumerate_add_match_sysattr_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_sysattr");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_nomatch_sysattr
*(void **) (&udev_enumerate_add_nomatch_sysattr_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_nomatch_sysattr");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_property
*(void **) (&udev_enumerate_add_match_property_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_property");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_sysname
*(void **) (&udev_enumerate_add_match_sysname_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_sysname");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_tag
*(void **) (&udev_enumerate_add_match_tag_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_tag");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_parent
*(void **) (&udev_enumerate_add_match_parent_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_parent");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_match_is_initialized
*(void **) (&udev_enumerate_add_match_is_initialized_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_match_is_initialized");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_add_syspath
*(void **) (&udev_enumerate_add_syspath_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_add_syspath");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_scan_devices
*(void **) (&udev_enumerate_scan_devices_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_scan_devices");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_scan_subsystems
*(void **) (&udev_enumerate_scan_subsystems_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_scan_subsystems");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_enumerate_get_list_entry
*(void **) (&udev_enumerate_get_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_enumerate_get_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_ref
*(void **) (&udev_queue_ref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_unref
*(void **) (&udev_queue_unref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_udev
*(void **) (&udev_queue_get_udev_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_udev");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_new
*(void **) (&udev_queue_new_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_kernel_seqnum
*(void **) (&udev_queue_get_kernel_seqnum_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_kernel_seqnum");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_udev_seqnum
*(void **) (&udev_queue_get_udev_seqnum_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_udev_seqnum");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_udev_is_active
*(void **) (&udev_queue_get_udev_is_active_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_udev_is_active");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_queue_is_empty
*(void **) (&udev_queue_get_queue_is_empty_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_queue_is_empty");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_seqnum_is_finished
*(void **) (&udev_queue_get_seqnum_is_finished_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_seqnum_is_finished");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_seqnum_sequence_is_finished
*(void **) (&udev_queue_get_seqnum_sequence_is_finished_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_seqnum_sequence_is_finished");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_fd
*(void **) (&udev_queue_get_fd_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_fd");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_flush
*(void **) (&udev_queue_flush_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_flush");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_queue_get_queued_list_entry
*(void **) (&udev_queue_get_queued_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_queue_get_queued_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_hwdb_new
*(void **) (&udev_hwdb_new_dylibloader_wrapper_libudev) = dlsym(handle, "udev_hwdb_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_hwdb_ref
*(void **) (&udev_hwdb_ref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_hwdb_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_hwdb_unref
*(void **) (&udev_hwdb_unref_dylibloader_wrapper_libudev) = dlsym(handle, "udev_hwdb_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_hwdb_get_properties_list_entry
*(void **) (&udev_hwdb_get_properties_list_entry_dylibloader_wrapper_libudev) = dlsym(handle, "udev_hwdb_get_properties_list_entry");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// udev_util_encode_string
*(void **) (&udev_util_encode_string_dylibloader_wrapper_libudev) = dlsym(handle, "udev_util_encode_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
return 0;
}