Debian Codegraph @

platform/linuxbsd/wayland/dynwrappers/wayland-client-core-so_wrap.c

raw symbols SCIP
1 // This file is generated. Do not edit!
2 // see https://github.com/hpvb/dynload-wrapper for details
3 // generated by ../dynload-wrapper/generate-wrapper.py 0.3 on 2023-01-25 17:36:12
4 // flags: ../dynload-wrapper/generate-wrapper.py --include ./thirdparty/linuxbsd_headers/wayland/wayland-client-core.h --sys-include "./thirdparty/linuxbsd_headers/wayland/wayland-client-core.h" --soname libwayland-client.so.0 --init-name wayland_client --output-header platform/linuxbsd/wayland/dynwrappers/wayland-client-core-so_wrap.h --output-implementation platform/linuxbsd/wayland/dynwrappers/wayland-client-core-so_wrap.c
5 //
6 // NOTE: This has been hand-patched to workaround some issues.
7 #include <stdint.h>
8
9 #define wl_list_init wl_list_init_dylibloader_orig_wayland_client
10 #define wl_list_insert wl_list_insert_dylibloader_orig_wayland_client
11 #define wl_list_remove wl_list_remove_dylibloader_orig_wayland_client
12 #define wl_list_length wl_list_length_dylibloader_orig_wayland_client
13 #define wl_list_empty wl_list_empty_dylibloader_orig_wayland_client
14 #define wl_list_insert_list wl_list_insert_list_dylibloader_orig_wayland_client
15 #define wl_array_init wl_array_init_dylibloader_orig_wayland_client
16 #define wl_array_release wl_array_release_dylibloader_orig_wayland_client
17 #define wl_array_add wl_array_add_dylibloader_orig_wayland_client
18 #define wl_array_copy wl_array_copy_dylibloader_orig_wayland_client
19 #define wl_event_queue_destroy wl_event_queue_destroy_dylibloader_orig_wayland_client
20 #define wl_proxy_marshal_flags wl_proxy_marshal_flags_dylibloader_orig_wayland_client
21 #define wl_proxy_marshal_array_flags wl_proxy_marshal_array_flags_dylibloader_orig_wayland_client
22 #define wl_proxy_marshal wl_proxy_marshal_dylibloader_orig_wayland_client
23 #define wl_proxy_marshal_array wl_proxy_marshal_array_dylibloader_orig_wayland_client
24 #define wl_proxy_create wl_proxy_create_dylibloader_orig_wayland_client
25 #define wl_proxy_create_wrapper wl_proxy_create_wrapper_dylibloader_orig_wayland_client
26 #define wl_proxy_wrapper_destroy wl_proxy_wrapper_destroy_dylibloader_orig_wayland_client
27 #define wl_proxy_marshal_constructor wl_proxy_marshal_constructor_dylibloader_orig_wayland_client
28 #define wl_proxy_marshal_constructor_versioned wl_proxy_marshal_constructor_versioned_dylibloader_orig_wayland_client
29 #define wl_proxy_marshal_array_constructor wl_proxy_marshal_array_constructor_dylibloader_orig_wayland_client
30 #define wl_proxy_marshal_array_constructor_versioned wl_proxy_marshal_array_constructor_versioned_dylibloader_orig_wayland_client
31 #define wl_proxy_destroy wl_proxy_destroy_dylibloader_orig_wayland_client
32 #define wl_proxy_add_listener wl_proxy_add_listener_dylibloader_orig_wayland_client
33 #define wl_proxy_get_listener wl_proxy_get_listener_dylibloader_orig_wayland_client
34 #define wl_proxy_add_dispatcher wl_proxy_add_dispatcher_dylibloader_orig_wayland_client
35 #define wl_proxy_set_user_data wl_proxy_set_user_data_dylibloader_orig_wayland_client
36 #define wl_proxy_get_user_data wl_proxy_get_user_data_dylibloader_orig_wayland_client
37 #define wl_proxy_get_version wl_proxy_get_version_dylibloader_orig_wayland_client
38 #define wl_proxy_get_id wl_proxy_get_id_dylibloader_orig_wayland_client
39 #define wl_proxy_set_tag wl_proxy_set_tag_dylibloader_orig_wayland_client
40 #define wl_proxy_get_tag wl_proxy_get_tag_dylibloader_orig_wayland_client
41 #define wl_proxy_get_class wl_proxy_get_class_dylibloader_orig_wayland_client
42 #define wl_proxy_set_queue wl_proxy_set_queue_dylibloader_orig_wayland_client
43 #define wl_display_connect wl_display_connect_dylibloader_orig_wayland_client
44 #define wl_display_connect_to_fd wl_display_connect_to_fd_dylibloader_orig_wayland_client
45 #define wl_display_disconnect wl_display_disconnect_dylibloader_orig_wayland_client
46 #define wl_display_get_fd wl_display_get_fd_dylibloader_orig_wayland_client
47 #define wl_display_dispatch wl_display_dispatch_dylibloader_orig_wayland_client
48 #define wl_display_dispatch_queue wl_display_dispatch_queue_dylibloader_orig_wayland_client
49 #define wl_display_dispatch_queue_pending wl_display_dispatch_queue_pending_dylibloader_orig_wayland_client
50 #define wl_display_dispatch_pending wl_display_dispatch_pending_dylibloader_orig_wayland_client
51 #define wl_display_get_error wl_display_get_error_dylibloader_orig_wayland_client
52 #define wl_display_get_protocol_error wl_display_get_protocol_error_dylibloader_orig_wayland_client
53 #define wl_display_flush wl_display_flush_dylibloader_orig_wayland_client
54 #define wl_display_roundtrip_queue wl_display_roundtrip_queue_dylibloader_orig_wayland_client
55 #define wl_display_roundtrip wl_display_roundtrip_dylibloader_orig_wayland_client
56 #define wl_display_create_queue wl_display_create_queue_dylibloader_orig_wayland_client
57 #define wl_display_prepare_read_queue wl_display_prepare_read_queue_dylibloader_orig_wayland_client
58 #define wl_display_prepare_read wl_display_prepare_read_dylibloader_orig_wayland_client
59 #define wl_display_cancel_read wl_display_cancel_read_dylibloader_orig_wayland_client
60 #define wl_display_read_events wl_display_read_events_dylibloader_orig_wayland_client
61 #define wl_log_set_handler_client wl_log_set_handler_client_dylibloader_orig_wayland_client
62 #include "./thirdparty/linuxbsd_headers/wayland/wayland-client-core.h"
63 #undef wl_list_init
64 #undef wl_list_insert
65 #undef wl_list_remove
66 #undef wl_list_length
67 #undef wl_list_empty
68 #undef wl_list_insert_list
69 #undef wl_array_init
70 #undef wl_array_release
71 #undef wl_array_add
72 #undef wl_array_copy
73 #undef wl_event_queue_destroy
74 #undef wl_proxy_marshal_flags
75 #undef wl_proxy_marshal_array_flags
76 #undef wl_proxy_marshal
77 #undef wl_proxy_marshal_array
78 #undef wl_proxy_create
79 #undef wl_proxy_create_wrapper
80 #undef wl_proxy_wrapper_destroy
81 #undef wl_proxy_marshal_constructor
82 #undef wl_proxy_marshal_constructor_versioned
83 #undef wl_proxy_marshal_array_constructor
84 #undef wl_proxy_marshal_array_constructor_versioned
85 #undef wl_proxy_destroy
86 #undef wl_proxy_add_listener
87 #undef wl_proxy_get_listener
88 #undef wl_proxy_add_dispatcher
89 #undef wl_proxy_set_user_data
90 #undef wl_proxy_get_user_data
91 #undef wl_proxy_get_version
92 #undef wl_proxy_get_id
93 #undef wl_proxy_set_tag
94 #undef wl_proxy_get_tag
95 #undef wl_proxy_get_class
96 #undef wl_proxy_set_queue
97 #undef wl_display_connect
98 #undef wl_display_connect_to_fd
99 #undef wl_display_disconnect
100 #undef wl_display_get_fd
101 #undef wl_display_dispatch
102 #undef wl_display_dispatch_queue
103 #undef wl_display_dispatch_queue_pending
104 #undef wl_display_dispatch_pending
105 #undef wl_display_get_error
106 #undef wl_display_get_protocol_error
107 #undef wl_display_flush
108 #undef wl_display_roundtrip_queue
109 #undef wl_display_roundtrip
110 #undef wl_display_create_queue
111 #undef wl_display_prepare_read_queue
112 #undef wl_display_prepare_read
113 #undef wl_display_cancel_read
114 #undef wl_display_read_events
115 #undef wl_log_set_handler_client
116 #include <dlfcn.h>
117 #include <stdio.h>
118 void (*wl_list_init_dylibloader_wrapper_wayland_client)(struct wl_list*);
119 void (*wl_list_insert_dylibloader_wrapper_wayland_client)(struct wl_list*,struct wl_list*);
120 void (*wl_list_remove_dylibloader_wrapper_wayland_client)(struct wl_list*);
121 int (*wl_list_length_dylibloader_wrapper_wayland_client)(struct wl_list*);
122 int (*wl_list_empty_dylibloader_wrapper_wayland_client)(struct wl_list*);
123 void (*wl_list_insert_list_dylibloader_wrapper_wayland_client)(struct wl_list*,struct wl_list*);
124 void (*wl_array_init_dylibloader_wrapper_wayland_client)(struct wl_array*);
125 void (*wl_array_release_dylibloader_wrapper_wayland_client)(struct wl_array*);
126 void* (*wl_array_add_dylibloader_wrapper_wayland_client)(struct wl_array*, size_t);
127 int (*wl_array_copy_dylibloader_wrapper_wayland_client)(struct wl_array*,struct wl_array*);
128 void (*wl_event_queue_destroy_dylibloader_wrapper_wayland_client)(struct wl_event_queue*);
129 struct wl_proxy* (*wl_proxy_marshal_flags_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,const struct wl_interface*, uint32_t, uint32_t,...);
130 struct wl_proxy* (*wl_proxy_marshal_array_flags_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,const struct wl_interface*, uint32_t, uint32_t,union wl_argument);
131 void (*wl_proxy_marshal_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,...);
132 void (*wl_proxy_marshal_array_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,union wl_argument);
133 struct wl_proxy* (*wl_proxy_create_dylibloader_wrapper_wayland_client)(struct wl_proxy*,const struct wl_interface*);
134 void* (*wl_proxy_create_wrapper_dylibloader_wrapper_wayland_client)( void*);
135 void (*wl_proxy_wrapper_destroy_dylibloader_wrapper_wayland_client)( void*);
136 struct wl_proxy* (*wl_proxy_marshal_constructor_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,const struct wl_interface*,...);
137 struct wl_proxy* (*wl_proxy_marshal_constructor_versioned_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,const struct wl_interface*, uint32_t,...);
138 struct wl_proxy* (*wl_proxy_marshal_array_constructor_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,union wl_argument,const struct wl_interface*);
139 struct wl_proxy* (*wl_proxy_marshal_array_constructor_versioned_dylibloader_wrapper_wayland_client)(struct wl_proxy*, uint32_t,union wl_argument,const struct wl_interface*, uint32_t);
140 void (*wl_proxy_destroy_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
141 int (*wl_proxy_add_listener_dylibloader_wrapper_wayland_client)(struct wl_proxy*, void(**)(void), void*);
142 const void* (*wl_proxy_get_listener_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
143 int (*wl_proxy_add_dispatcher_dylibloader_wrapper_wayland_client)(struct wl_proxy*, wl_dispatcher_func_t,const void*, void*);
144 void (*wl_proxy_set_user_data_dylibloader_wrapper_wayland_client)(struct wl_proxy*, void*);
145 void* (*wl_proxy_get_user_data_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
146 uint32_t (*wl_proxy_get_version_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
147 uint32_t (*wl_proxy_get_id_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
148 void (*wl_proxy_set_tag_dylibloader_wrapper_wayland_client)(struct wl_proxy*,const char**);
149 const char** (*wl_proxy_get_tag_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
150 const char* (*wl_proxy_get_class_dylibloader_wrapper_wayland_client)(struct wl_proxy*);
151 void (*wl_proxy_set_queue_dylibloader_wrapper_wayland_client)(struct wl_proxy*,struct wl_event_queue*);
152 struct wl_display* (*wl_display_connect_dylibloader_wrapper_wayland_client)(const char*);
153 struct wl_display* (*wl_display_connect_to_fd_dylibloader_wrapper_wayland_client)( int);
154 void (*wl_display_disconnect_dylibloader_wrapper_wayland_client)(struct wl_display*);
155 int (*wl_display_get_fd_dylibloader_wrapper_wayland_client)(struct wl_display*);
156 int (*wl_display_dispatch_dylibloader_wrapper_wayland_client)(struct wl_display*);
157 int (*wl_display_dispatch_queue_dylibloader_wrapper_wayland_client)(struct wl_display*,struct wl_event_queue*);
158 int (*wl_display_dispatch_queue_pending_dylibloader_wrapper_wayland_client)(struct wl_display*,struct wl_event_queue*);
159 int (*wl_display_dispatch_pending_dylibloader_wrapper_wayland_client)(struct wl_display*);
160 int (*wl_display_get_error_dylibloader_wrapper_wayland_client)(struct wl_display*);
161 uint32_t (*wl_display_get_protocol_error_dylibloader_wrapper_wayland_client)(struct wl_display*,const struct wl_interface**, uint32_t*);
162 int (*wl_display_flush_dylibloader_wrapper_wayland_client)(struct wl_display*);
163 int (*wl_display_roundtrip_queue_dylibloader_wrapper_wayland_client)(struct wl_display*,struct wl_event_queue*);
164 int (*wl_display_roundtrip_dylibloader_wrapper_wayland_client)(struct wl_display*);
165 struct wl_event_queue* (*wl_display_create_queue_dylibloader_wrapper_wayland_client)(struct wl_display*);
166 int (*wl_display_prepare_read_queue_dylibloader_wrapper_wayland_client)(struct wl_display*,struct wl_event_queue*);
167 int (*wl_display_prepare_read_dylibloader_wrapper_wayland_client)(struct wl_display*);
168 void (*wl_display_cancel_read_dylibloader_wrapper_wayland_client)(struct wl_display*);
169 int (*wl_display_read_events_dylibloader_wrapper_wayland_client)(struct wl_display*);
170 void (*wl_log_set_handler_client_dylibloader_wrapper_wayland_client)( wl_log_func_t);
171 int initialize_wayland_client(int verbose) {
172 void *handle;
173 char *error;
174 handle = dlopen("libwayland-client.so.0", RTLD_LAZY);
175 if (!handle) {
176 if (verbose) {
177 fprintf(stderr, "%s\n", dlerror());
178 }
179 return(1);
180 }
181 dlerror();
182 // wl_list_init
183 *(void **) (&wl_list_init_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_list_init");
184 if (verbose) {
185 error = dlerror();
186 if (error != NULL) {
187 fprintf(stderr, "%s\n", error);
188 }
189 }
190 // wl_list_insert
191 *(void **) (&wl_list_insert_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_list_insert");
192 if (verbose) {
193 error = dlerror();
194 if (error != NULL) {
195 fprintf(stderr, "%s\n", error);
196 }
197 }
198 // wl_list_remove
199 *(void **) (&wl_list_remove_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_list_remove");
200 if (verbose) {
201 error = dlerror();
202 if (error != NULL) {
203 fprintf(stderr, "%s\n", error);
204 }
205 }
206 // wl_list_length
207 *(void **) (&wl_list_length_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_list_length");
208 if (verbose) {
209 error = dlerror();
210 if (error != NULL) {
211 fprintf(stderr, "%s\n", error);
212 }
213 }
214 // wl_list_empty
215 *(void **) (&wl_list_empty_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_list_empty");
216 if (verbose) {
217 error = dlerror();
218 if (error != NULL) {
219 fprintf(stderr, "%s\n", error);
220 }
221 }
222 // wl_list_insert_list
223 *(void **) (&wl_list_insert_list_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_list_insert_list");
224 if (verbose) {
225 error = dlerror();
226 if (error != NULL) {
227 fprintf(stderr, "%s\n", error);
228 }
229 }
230 // wl_array_init
231 *(void **) (&wl_array_init_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_array_init");
232 if (verbose) {
233 error = dlerror();
234 if (error != NULL) {
235 fprintf(stderr, "%s\n", error);
236 }
237 }
238 // wl_array_release
239 *(void **) (&wl_array_release_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_array_release");
240 if (verbose) {
241 error = dlerror();
242 if (error != NULL) {
243 fprintf(stderr, "%s\n", error);
244 }
245 }
246 // wl_array_add
247 *(void **) (&wl_array_add_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_array_add");
248 if (verbose) {
249 error = dlerror();
250 if (error != NULL) {
251 fprintf(stderr, "%s\n", error);
252 }
253 }
254 // wl_array_copy
255 *(void **) (&wl_array_copy_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_array_copy");
256 if (verbose) {
257 error = dlerror();
258 if (error != NULL) {
259 fprintf(stderr, "%s\n", error);
260 }
261 }
262 // wl_event_queue_destroy
263 *(void **) (&wl_event_queue_destroy_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_event_queue_destroy");
264 if (verbose) {
265 error = dlerror();
266 if (error != NULL) {
267 fprintf(stderr, "%s\n", error);
268 }
269 }
270 // wl_proxy_marshal_flags
271 *(void **) (&wl_proxy_marshal_flags_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_flags");
272 if (verbose) {
273 error = dlerror();
274 if (error != NULL) {
275 fprintf(stderr, "%s\n", error);
276 }
277 }
278 // wl_proxy_marshal_array_flags
279 *(void **) (&wl_proxy_marshal_array_flags_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_array_flags");
280 if (verbose) {
281 error = dlerror();
282 if (error != NULL) {
283 fprintf(stderr, "%s\n", error);
284 }
285 }
286 // wl_proxy_marshal
287 *(void **) (&wl_proxy_marshal_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal");
288 if (verbose) {
289 error = dlerror();
290 if (error != NULL) {
291 fprintf(stderr, "%s\n", error);
292 }
293 }
294 // wl_proxy_marshal_array
295 *(void **) (&wl_proxy_marshal_array_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_array");
296 if (verbose) {
297 error = dlerror();
298 if (error != NULL) {
299 fprintf(stderr, "%s\n", error);
300 }
301 }
302 // wl_proxy_create
303 *(void **) (&wl_proxy_create_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_create");
304 if (verbose) {
305 error = dlerror();
306 if (error != NULL) {
307 fprintf(stderr, "%s\n", error);
308 }
309 }
310 // wl_proxy_create_wrapper
311 *(void **) (&wl_proxy_create_wrapper_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_create_wrapper");
312 if (verbose) {
313 error = dlerror();
314 if (error != NULL) {
315 fprintf(stderr, "%s\n", error);
316 }
317 }
318 // wl_proxy_wrapper_destroy
319 *(void **) (&wl_proxy_wrapper_destroy_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_wrapper_destroy");
320 if (verbose) {
321 error = dlerror();
322 if (error != NULL) {
323 fprintf(stderr, "%s\n", error);
324 }
325 }
326 // wl_proxy_marshal_constructor
327 *(void **) (&wl_proxy_marshal_constructor_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_constructor");
328 if (verbose) {
329 error = dlerror();
330 if (error != NULL) {
331 fprintf(stderr, "%s\n", error);
332 }
333 }
334 // wl_proxy_marshal_constructor_versioned
335 *(void **) (&wl_proxy_marshal_constructor_versioned_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_constructor_versioned");
336 if (verbose) {
337 error = dlerror();
338 if (error != NULL) {
339 fprintf(stderr, "%s\n", error);
340 }
341 }
342 // wl_proxy_marshal_array_constructor
343 *(void **) (&wl_proxy_marshal_array_constructor_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_array_constructor");
344 if (verbose) {
345 error = dlerror();
346 if (error != NULL) {
347 fprintf(stderr, "%s\n", error);
348 }
349 }
350 // wl_proxy_marshal_array_constructor_versioned
351 *(void **) (&wl_proxy_marshal_array_constructor_versioned_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_marshal_array_constructor_versioned");
352 if (verbose) {
353 error = dlerror();
354 if (error != NULL) {
355 fprintf(stderr, "%s\n", error);
356 }
357 }
358 // wl_proxy_destroy
359 *(void **) (&wl_proxy_destroy_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_destroy");
360 if (verbose) {
361 error = dlerror();
362 if (error != NULL) {
363 fprintf(stderr, "%s\n", error);
364 }
365 }
366 // wl_proxy_add_listener
367 *(void **) (&wl_proxy_add_listener_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_add_listener");
368 if (verbose) {
369 error = dlerror();
370 if (error != NULL) {
371 fprintf(stderr, "%s\n", error);
372 }
373 }
374 // wl_proxy_get_listener
375 *(void **) (&wl_proxy_get_listener_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_get_listener");
376 if (verbose) {
377 error = dlerror();
378 if (error != NULL) {
379 fprintf(stderr, "%s\n", error);
380 }
381 }
382 // wl_proxy_add_dispatcher
383 *(void **) (&wl_proxy_add_dispatcher_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_add_dispatcher");
384 if (verbose) {
385 error = dlerror();
386 if (error != NULL) {
387 fprintf(stderr, "%s\n", error);
388 }
389 }
390 // wl_proxy_set_user_data
391 *(void **) (&wl_proxy_set_user_data_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_set_user_data");
392 if (verbose) {
393 error = dlerror();
394 if (error != NULL) {
395 fprintf(stderr, "%s\n", error);
396 }
397 }
398 // wl_proxy_get_user_data
399 *(void **) (&wl_proxy_get_user_data_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_get_user_data");
400 if (verbose) {
401 error = dlerror();
402 if (error != NULL) {
403 fprintf(stderr, "%s\n", error);
404 }
405 }
406 // wl_proxy_get_version
407 *(void **) (&wl_proxy_get_version_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_get_version");
408 if (verbose) {
409 error = dlerror();
410 if (error != NULL) {
411 fprintf(stderr, "%s\n", error);
412 }
413 }
414 // wl_proxy_get_id
415 *(void **) (&wl_proxy_get_id_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_get_id");
416 if (verbose) {
417 error = dlerror();
418 if (error != NULL) {
419 fprintf(stderr, "%s\n", error);
420 }
421 }
422 // wl_proxy_set_tag
423 *(void **) (&wl_proxy_set_tag_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_set_tag");
424 if (verbose) {
425 error = dlerror();
426 if (error != NULL) {
427 fprintf(stderr, "%s\n", error);
428 }
429 }
430 // wl_proxy_get_tag
431 *(void **) (&wl_proxy_get_tag_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_get_tag");
432 if (verbose) {
433 error = dlerror();
434 if (error != NULL) {
435 fprintf(stderr, "%s\n", error);
436 }
437 }
438 // wl_proxy_get_class
439 *(void **) (&wl_proxy_get_class_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_get_class");
440 if (verbose) {
441 error = dlerror();
442 if (error != NULL) {
443 fprintf(stderr, "%s\n", error);
444 }
445 }
446 // wl_proxy_set_queue
447 *(void **) (&wl_proxy_set_queue_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_proxy_set_queue");
448 if (verbose) {
449 error = dlerror();
450 if (error != NULL) {
451 fprintf(stderr, "%s\n", error);
452 }
453 }
454 // wl_display_connect
455 *(void **) (&wl_display_connect_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_connect");
456 if (verbose) {
457 error = dlerror();
458 if (error != NULL) {
459 fprintf(stderr, "%s\n", error);
460 }
461 }
462 // wl_display_connect_to_fd
463 *(void **) (&wl_display_connect_to_fd_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_connect_to_fd");
464 if (verbose) {
465 error = dlerror();
466 if (error != NULL) {
467 fprintf(stderr, "%s\n", error);
468 }
469 }
470 // wl_display_disconnect
471 *(void **) (&wl_display_disconnect_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_disconnect");
472 if (verbose) {
473 error = dlerror();
474 if (error != NULL) {
475 fprintf(stderr, "%s\n", error);
476 }
477 }
478 // wl_display_get_fd
479 *(void **) (&wl_display_get_fd_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_get_fd");
480 if (verbose) {
481 error = dlerror();
482 if (error != NULL) {
483 fprintf(stderr, "%s\n", error);
484 }
485 }
486 // wl_display_dispatch
487 *(void **) (&wl_display_dispatch_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_dispatch");
488 if (verbose) {
489 error = dlerror();
490 if (error != NULL) {
491 fprintf(stderr, "%s\n", error);
492 }
493 }
494 // wl_display_dispatch_queue
495 *(void **) (&wl_display_dispatch_queue_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_dispatch_queue");
496 if (verbose) {
497 error = dlerror();
498 if (error != NULL) {
499 fprintf(stderr, "%s\n", error);
500 }
501 }
502 // wl_display_dispatch_queue_pending
503 *(void **) (&wl_display_dispatch_queue_pending_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_dispatch_queue_pending");
504 if (verbose) {
505 error = dlerror();
506 if (error != NULL) {
507 fprintf(stderr, "%s\n", error);
508 }
509 }
510 // wl_display_dispatch_pending
511 *(void **) (&wl_display_dispatch_pending_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_dispatch_pending");
512 if (verbose) {
513 error = dlerror();
514 if (error != NULL) {
515 fprintf(stderr, "%s\n", error);
516 }
517 }
518 // wl_display_get_error
519 *(void **) (&wl_display_get_error_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_get_error");
520 if (verbose) {
521 error = dlerror();
522 if (error != NULL) {
523 fprintf(stderr, "%s\n", error);
524 }
525 }
526 // wl_display_get_protocol_error
527 *(void **) (&wl_display_get_protocol_error_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_get_protocol_error");
528 if (verbose) {
529 error = dlerror();
530 if (error != NULL) {
531 fprintf(stderr, "%s\n", error);
532 }
533 }
534 // wl_display_flush
535 *(void **) (&wl_display_flush_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_flush");
536 if (verbose) {
537 error = dlerror();
538 if (error != NULL) {
539 fprintf(stderr, "%s\n", error);
540 }
541 }
542 // wl_display_roundtrip_queue
543 *(void **) (&wl_display_roundtrip_queue_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_roundtrip_queue");
544 if (verbose) {
545 error = dlerror();
546 if (error != NULL) {
547 fprintf(stderr, "%s\n", error);
548 }
549 }
550 // wl_display_roundtrip
551 *(void **) (&wl_display_roundtrip_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_roundtrip");
552 if (verbose) {
553 error = dlerror();
554 if (error != NULL) {
555 fprintf(stderr, "%s\n", error);
556 }
557 }
558 // wl_display_create_queue
559 *(void **) (&wl_display_create_queue_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_create_queue");
560 if (verbose) {
561 error = dlerror();
562 if (error != NULL) {
563 fprintf(stderr, "%s\n", error);
564 }
565 }
566 // wl_display_prepare_read_queue
567 *(void **) (&wl_display_prepare_read_queue_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_prepare_read_queue");
568 if (verbose) {
569 error = dlerror();
570 if (error != NULL) {
571 fprintf(stderr, "%s\n", error);
572 }
573 }
574 // wl_display_prepare_read
575 *(void **) (&wl_display_prepare_read_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_prepare_read");
576 if (verbose) {
577 error = dlerror();
578 if (error != NULL) {
579 fprintf(stderr, "%s\n", error);
580 }
581 }
582 // wl_display_cancel_read
583 *(void **) (&wl_display_cancel_read_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_cancel_read");
584 if (verbose) {
585 error = dlerror();
586 if (error != NULL) {
587 fprintf(stderr, "%s\n", error);
588 }
589 }
590 // wl_display_read_events
591 *(void **) (&wl_display_read_events_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_display_read_events");
592 if (verbose) {
593 error = dlerror();
594 if (error != NULL) {
595 fprintf(stderr, "%s\n", error);
596 }
597 }
598 // wl_log_set_handler_client
599 *(void **) (&wl_log_set_handler_client_dylibloader_wrapper_wayland_client) = dlsym(handle, "wl_log_set_handler_client");
600 if (verbose) {
601 error = dlerror();
602 if (error != NULL) {
603 fprintf(stderr, "%s\n", error);
604 }
605 }
606 return 0;
607 }