Line data Source code
1 : #include <stdio.h>
2 : #include "sd-bus.h"
3 : #include "sd-bus-protocol.h"
4 : #include "sd-bus-vtable.h"
5 : #include "sd-daemon.h"
6 : #include "sd-device.h"
7 : #include "sd-event.h"
8 : #include "sd-hwdb.h"
9 : #include "sd-id128.h"
10 : #include "sd-journal.h"
11 : #include "sd-login.h"
12 : #include "sd-messages.h"
13 :
14 : const void* symbols[] = {
15 : sd_journal_print,
16 : sd_journal_printv,
17 : sd_journal_send,
18 : sd_journal_sendv,
19 : sd_journal_stream_fd,
20 : sd_journal_open,
21 : sd_journal_close,
22 : sd_journal_previous,
23 : sd_journal_next,
24 : sd_journal_previous_skip,
25 : sd_journal_next_skip,
26 : sd_journal_get_realtime_usec,
27 : sd_journal_get_monotonic_usec,
28 : sd_journal_get_data,
29 : sd_journal_enumerate_data,
30 : sd_journal_restart_data,
31 : sd_journal_add_match,
32 : sd_journal_flush_matches,
33 : sd_journal_seek_head,
34 : sd_journal_seek_tail,
35 : sd_journal_seek_monotonic_usec,
36 : sd_journal_seek_realtime_usec,
37 : sd_journal_seek_cursor,
38 : sd_journal_get_cursor,
39 : sd_journal_get_fd,
40 : sd_journal_process,
41 : sd_journal_print_with_location,
42 : sd_journal_printv_with_location,
43 : sd_journal_send_with_location,
44 : sd_journal_sendv_with_location,
45 : sd_journal_get_cutoff_realtime_usec,
46 : sd_journal_get_cutoff_monotonic_usec,
47 : sd_journal_wait,
48 : sd_journal_open_directory,
49 : sd_journal_add_disjunction,
50 : sd_journal_perror,
51 : sd_journal_perror_with_location,
52 : sd_journal_get_usage,
53 : sd_journal_test_cursor,
54 : sd_journal_query_unique,
55 : sd_journal_enumerate_unique,
56 : sd_journal_restart_unique,
57 : sd_journal_get_catalog,
58 : sd_journal_get_catalog_for_message_id,
59 : sd_journal_set_data_threshold,
60 : sd_journal_get_data_threshold,
61 : sd_journal_reliable_fd,
62 : sd_journal_get_events,
63 : sd_journal_get_timeout,
64 : sd_journal_add_conjunction,
65 : sd_journal_open_files,
66 : sd_journal_open_container,
67 : sd_booted,
68 : sd_is_fifo,
69 : sd_is_mq,
70 : sd_is_socket,
71 : sd_is_socket_inet,
72 : sd_is_socket_unix,
73 : sd_is_special,
74 : sd_listen_fds,
75 : sd_notify,
76 : sd_notifyf,
77 : sd_watchdog_enabled,
78 : sd_id128_to_string,
79 : sd_id128_from_string,
80 : sd_id128_randomize,
81 : sd_id128_get_machine,
82 : sd_id128_get_boot,
83 : sd_get_seats,
84 : sd_get_sessions,
85 : sd_get_uids,
86 : sd_login_monitor_flush,
87 : sd_login_monitor_get_fd,
88 : sd_login_monitor_new,
89 : sd_login_monitor_unref,
90 : sd_pid_get_owner_uid,
91 : sd_pid_get_session,
92 : sd_seat_can_multi_session,
93 : sd_seat_get_active,
94 : sd_seat_get_sessions,
95 : sd_session_get_seat,
96 : sd_session_get_uid,
97 : sd_session_is_active,
98 : sd_uid_get_seats,
99 : sd_uid_get_sessions,
100 : sd_uid_get_state,
101 : sd_uid_is_on_seat,
102 : sd_pid_get_unit,
103 : sd_session_get_service,
104 : sd_session_get_type,
105 : sd_session_get_class,
106 : sd_session_get_display,
107 : sd_session_get_state,
108 : sd_seat_can_tty,
109 : sd_seat_can_graphical,
110 : sd_session_get_tty,
111 : sd_login_monitor_get_events,
112 : sd_login_monitor_get_timeout,
113 : sd_pid_get_user_unit,
114 : sd_pid_get_machine_name,
115 : sd_get_machine_names,
116 : sd_pid_get_slice,
117 : sd_session_get_vt,
118 : sd_session_is_remote,
119 : sd_session_get_remote_user,
120 : sd_session_get_remote_host,
121 : sd_machine_get_class,
122 : sd_peer_get_session,
123 : sd_peer_get_owner_uid,
124 : sd_peer_get_unit,
125 : sd_peer_get_user_unit,
126 : sd_peer_get_machine_name,
127 : sd_peer_get_slice,
128 : sd_uid_get_display,
129 : sd_pid_notify,
130 : sd_pid_notifyf,
131 : sd_machine_get_ifindices,
132 : sd_session_get_desktop,
133 : sd_pid_notify_with_fds,
134 : sd_pid_get_user_slice,
135 : sd_peer_get_user_slice,
136 : sd_bus_default,
137 : sd_bus_default_user,
138 : sd_bus_default_system,
139 : sd_bus_open,
140 : sd_bus_open_user,
141 : sd_bus_open_system,
142 : sd_bus_open_system_remote,
143 : sd_bus_open_system_machine,
144 : sd_bus_new,
145 : sd_bus_set_address,
146 : sd_bus_set_fd,
147 : sd_bus_set_exec,
148 : sd_bus_get_address,
149 : sd_bus_set_bus_client,
150 : sd_bus_is_bus_client,
151 : sd_bus_set_server,
152 : sd_bus_is_server,
153 : sd_bus_set_anonymous,
154 : sd_bus_is_anonymous,
155 : sd_bus_set_trusted,
156 : sd_bus_is_trusted,
157 : sd_bus_set_monitor,
158 : sd_bus_is_monitor,
159 : sd_bus_set_description,
160 : sd_bus_get_description,
161 : sd_bus_negotiate_creds,
162 : sd_bus_negotiate_timestamp,
163 : sd_bus_negotiate_fds,
164 : sd_bus_can_send,
165 : sd_bus_get_creds_mask,
166 : sd_bus_set_allow_interactive_authorization,
167 : sd_bus_get_allow_interactive_authorization,
168 : sd_bus_start,
169 : sd_bus_close,
170 : sd_bus_try_close,
171 : sd_bus_ref,
172 : sd_bus_unref,
173 : sd_bus_is_open,
174 : sd_bus_get_bus_id,
175 : sd_bus_get_scope,
176 : sd_bus_get_tid,
177 : sd_bus_get_owner_creds,
178 : sd_bus_send,
179 : sd_bus_send_to,
180 : sd_bus_call,
181 : sd_bus_call_async,
182 : sd_bus_get_fd,
183 : sd_bus_get_events,
184 : sd_bus_get_timeout,
185 : sd_bus_process,
186 : sd_bus_process_priority,
187 : sd_bus_wait,
188 : sd_bus_flush,
189 : sd_bus_get_current_slot,
190 : sd_bus_get_current_message,
191 : sd_bus_get_current_handler,
192 : sd_bus_get_current_userdata,
193 : sd_bus_attach_event,
194 : sd_bus_detach_event,
195 : sd_bus_get_event,
196 : sd_bus_add_filter,
197 : sd_bus_add_match,
198 : sd_bus_add_object,
199 : sd_bus_add_fallback,
200 : sd_bus_add_object_vtable,
201 : sd_bus_add_fallback_vtable,
202 : sd_bus_add_node_enumerator,
203 : sd_bus_add_object_manager,
204 : sd_bus_slot_ref,
205 : sd_bus_slot_unref,
206 : sd_bus_slot_get_bus,
207 : sd_bus_slot_get_userdata,
208 : sd_bus_slot_set_userdata,
209 : sd_bus_slot_get_description,
210 : sd_bus_slot_set_description,
211 : sd_bus_slot_get_current_message,
212 : sd_bus_slot_get_current_handler,
213 : sd_bus_slot_get_current_userdata,
214 : sd_bus_message_new_signal,
215 : sd_bus_message_new_method_call,
216 : sd_bus_message_new_method_return,
217 : sd_bus_message_new_method_error,
218 : sd_bus_message_new_method_errorf,
219 : sd_bus_message_new_method_errno,
220 : sd_bus_message_new_method_errnof,
221 : sd_bus_message_ref,
222 : sd_bus_message_unref,
223 : sd_bus_message_get_type,
224 : sd_bus_message_get_cookie,
225 : sd_bus_message_get_reply_cookie,
226 : sd_bus_message_get_priority,
227 : sd_bus_message_get_expect_reply,
228 : sd_bus_message_get_auto_start,
229 : sd_bus_message_get_allow_interactive_authorization,
230 : sd_bus_message_get_signature,
231 : sd_bus_message_get_path,
232 : sd_bus_message_get_interface,
233 : sd_bus_message_get_member,
234 : sd_bus_message_get_destination,
235 : sd_bus_message_get_sender,
236 : sd_bus_message_get_error,
237 : sd_bus_message_get_errno,
238 : sd_bus_message_get_monotonic_usec,
239 : sd_bus_message_get_realtime_usec,
240 : sd_bus_message_get_seqnum,
241 : sd_bus_message_get_bus,
242 : sd_bus_message_get_creds,
243 : sd_bus_message_is_signal,
244 : sd_bus_message_is_method_call,
245 : sd_bus_message_is_method_error,
246 : sd_bus_message_is_empty,
247 : sd_bus_message_has_signature,
248 : sd_bus_message_set_expect_reply,
249 : sd_bus_message_set_auto_start,
250 : sd_bus_message_set_allow_interactive_authorization,
251 : sd_bus_message_set_destination,
252 : sd_bus_message_set_priority,
253 : sd_bus_message_append,
254 : sd_bus_message_append_basic,
255 : sd_bus_message_append_array,
256 : sd_bus_message_append_array_space,
257 : sd_bus_message_append_array_iovec,
258 : sd_bus_message_append_array_memfd,
259 : sd_bus_message_append_string_space,
260 : sd_bus_message_append_string_iovec,
261 : sd_bus_message_append_string_memfd,
262 : sd_bus_message_append_strv,
263 : sd_bus_message_open_container,
264 : sd_bus_message_close_container,
265 : sd_bus_message_copy,
266 : sd_bus_message_read,
267 : sd_bus_message_read_basic,
268 : sd_bus_message_read_array,
269 : sd_bus_message_read_strv,
270 : sd_bus_message_skip,
271 : sd_bus_message_enter_container,
272 : sd_bus_message_exit_container,
273 : sd_bus_message_peek_type,
274 : sd_bus_message_verify_type,
275 : sd_bus_message_at_end,
276 : sd_bus_message_rewind,
277 : sd_bus_get_unique_name,
278 : sd_bus_request_name,
279 : sd_bus_release_name,
280 : sd_bus_list_names,
281 : sd_bus_get_name_creds,
282 : sd_bus_get_name_machine_id,
283 : sd_bus_call_method,
284 : sd_bus_call_method_async,
285 : sd_bus_get_property,
286 : sd_bus_get_property_trivial,
287 : sd_bus_get_property_string,
288 : sd_bus_get_property_strv,
289 : sd_bus_set_property,
290 : sd_bus_reply_method_return,
291 : sd_bus_reply_method_error,
292 : sd_bus_reply_method_errorf,
293 : sd_bus_reply_method_errno,
294 : sd_bus_reply_method_errnof,
295 : sd_bus_emit_signal,
296 : sd_bus_emit_properties_changed_strv,
297 : sd_bus_emit_properties_changed,
298 : sd_bus_emit_interfaces_added_strv,
299 : sd_bus_emit_interfaces_added,
300 : sd_bus_emit_interfaces_removed_strv,
301 : sd_bus_emit_interfaces_removed,
302 : sd_bus_query_sender_creds,
303 : sd_bus_query_sender_privilege,
304 : sd_bus_creds_new_from_pid,
305 : sd_bus_creds_ref,
306 : sd_bus_creds_unref,
307 : sd_bus_creds_get_mask,
308 : sd_bus_creds_get_augmented_mask,
309 : sd_bus_creds_get_pid,
310 : sd_bus_creds_get_ppid,
311 : sd_bus_creds_get_tid,
312 : sd_bus_creds_get_uid,
313 : sd_bus_creds_get_euid,
314 : sd_bus_creds_get_suid,
315 : sd_bus_creds_get_fsuid,
316 : sd_bus_creds_get_gid,
317 : sd_bus_creds_get_egid,
318 : sd_bus_creds_get_sgid,
319 : sd_bus_creds_get_fsgid,
320 : sd_bus_creds_get_supplementary_gids,
321 : sd_bus_creds_get_comm,
322 : sd_bus_creds_get_tid_comm,
323 : sd_bus_creds_get_exe,
324 : sd_bus_creds_get_cmdline,
325 : sd_bus_creds_get_cgroup,
326 : sd_bus_creds_get_unit,
327 : sd_bus_creds_get_slice,
328 : sd_bus_creds_get_user_unit,
329 : sd_bus_creds_get_user_slice,
330 : sd_bus_creds_get_session,
331 : sd_bus_creds_get_owner_uid,
332 : sd_bus_creds_has_effective_cap,
333 : sd_bus_creds_has_permitted_cap,
334 : sd_bus_creds_has_inheritable_cap,
335 : sd_bus_creds_has_bounding_cap,
336 : sd_bus_creds_get_selinux_context,
337 : sd_bus_creds_get_audit_session_id,
338 : sd_bus_creds_get_audit_login_uid,
339 : sd_bus_creds_get_tty,
340 : sd_bus_creds_get_unique_name,
341 : sd_bus_creds_get_well_known_names,
342 : sd_bus_creds_get_description,
343 : sd_bus_error_free,
344 : sd_bus_error_set,
345 : sd_bus_error_setf,
346 : sd_bus_error_set_const,
347 : sd_bus_error_set_errno,
348 : sd_bus_error_set_errnof,
349 : sd_bus_error_set_errnofv,
350 : sd_bus_error_get_errno,
351 : sd_bus_error_copy,
352 : sd_bus_error_is_set,
353 : sd_bus_error_has_name,
354 : sd_bus_error_add_map,
355 : sd_bus_path_encode,
356 : sd_bus_path_decode,
357 : sd_bus_track_new,
358 : sd_bus_track_ref,
359 : sd_bus_track_unref,
360 : sd_bus_track_get_bus,
361 : sd_bus_track_get_userdata,
362 : sd_bus_track_set_userdata,
363 : sd_bus_track_add_sender,
364 : sd_bus_track_remove_sender,
365 : sd_bus_track_add_name,
366 : sd_bus_track_remove_name,
367 : sd_bus_track_count,
368 : sd_bus_track_contains,
369 : sd_bus_track_first,
370 : sd_bus_track_next,
371 : sd_event_default,
372 : sd_event_new,
373 : sd_event_ref,
374 : sd_event_unref,
375 : sd_event_add_io,
376 : sd_event_add_time,
377 : sd_event_add_signal,
378 : sd_event_add_child,
379 : sd_event_add_defer,
380 : sd_event_add_post,
381 : sd_event_add_exit,
382 : sd_event_prepare,
383 : sd_event_wait,
384 : sd_event_dispatch,
385 : sd_event_run,
386 : sd_event_loop,
387 : sd_event_exit,
388 : sd_event_now,
389 : sd_event_get_fd,
390 : sd_event_get_state,
391 : sd_event_get_tid,
392 : sd_event_get_exit_code,
393 : sd_event_set_watchdog,
394 : sd_event_get_watchdog,
395 : sd_event_source_ref,
396 : sd_event_source_unref,
397 : sd_event_source_get_event,
398 : sd_event_source_get_userdata,
399 : sd_event_source_set_userdata,
400 : sd_event_source_set_description,
401 : sd_event_source_get_description,
402 : sd_event_source_set_prepare,
403 : sd_event_source_get_pending,
404 : sd_event_source_get_priority,
405 : sd_event_source_set_priority,
406 : sd_event_source_get_enabled,
407 : sd_event_source_set_enabled,
408 : sd_event_source_get_io_fd,
409 : sd_event_source_set_io_fd,
410 : sd_event_source_get_io_events,
411 : sd_event_source_set_io_events,
412 : sd_event_source_get_io_revents,
413 : sd_event_source_get_time,
414 : sd_event_source_set_time,
415 : sd_event_source_set_time_accuracy,
416 : sd_event_source_get_time_accuracy,
417 : sd_event_source_get_time_clock,
418 : sd_event_source_get_signal,
419 : sd_event_source_get_child_pid,
420 : sd_bus_emit_object_added,
421 : sd_bus_emit_object_removed,
422 : sd_bus_flush_close_unref,
423 : sd_pid_get_cgroup,
424 : sd_peer_get_cgroup,
425 : sd_bus_default_flush_close,
426 : sd_bus_path_decode_many,
427 : sd_bus_path_encode_many,
428 : sd_listen_fds_with_names,
429 : sd_journal_has_runtime_files,
430 : sd_journal_has_persistent_files,
431 : sd_journal_enumerate_fields,
432 : sd_journal_restart_fields,
433 : sd_journal_open_directory_fd,
434 : sd_journal_open_files_fd,
435 : sd_event_get_iteration,
436 : sd_bus_track_set_recursive,
437 : sd_bus_track_get_recursive,
438 : sd_bus_track_count_name,
439 : sd_bus_track_count_sender,
440 : sd_bus_set_exit_on_disconnect,
441 : sd_bus_get_exit_on_disconnect,
442 : sd_id128_get_invocation,
443 : sd_id128_get_machine_app_specific,
444 : sd_is_socket_sockaddr,
445 : sd_bus_message_appendv,
446 : sd_bus_message_new,
447 : sd_bus_message_seal,
448 : sd_bus_set_watch_bind,
449 : sd_bus_get_watch_bind,
450 : sd_bus_request_name_async,
451 : sd_bus_release_name_async,
452 : sd_bus_add_match_async,
453 : sd_bus_match_signal,
454 : sd_bus_match_signal_async,
455 : sd_bus_is_ready,
456 : sd_bus_set_connected_signal,
457 : sd_bus_get_connected_signal,
458 : sd_bus_set_sender,
459 : sd_bus_get_sender,
460 : sd_bus_message_set_sender,
461 : sd_event_source_get_io_fd_own,
462 : sd_event_source_set_io_fd_own,
463 : sd_bus_get_n_queued_read,
464 : sd_bus_get_n_queued_write,
465 : sd_bus_open_with_description,
466 : sd_bus_open_user_with_description,
467 : sd_bus_open_system_with_description,
468 : sd_bus_slot_get_floating,
469 : sd_bus_slot_set_floating,
470 : sd_bus_slot_get_destroy_callback,
471 : sd_bus_slot_set_destroy_callback,
472 : sd_bus_track_get_destroy_callback,
473 : sd_bus_track_set_destroy_callback,
474 : sd_event_add_inotify,
475 : sd_event_source_get_inotify_mask,
476 : sd_event_source_set_destroy_callback,
477 : sd_event_source_get_destroy_callback,
478 : sd_bus_message_readv,
479 : sd_bus_set_method_call_timeout,
480 : sd_bus_get_method_call_timeout,
481 : sd_bus_error_move,
482 : sd_bus_set_close_on_exit,
483 : sd_bus_get_close_on_exit,
484 : sd_device_ref,
485 : sd_device_unref,
486 : sd_device_new_from_syspath,
487 : sd_device_new_from_devnum,
488 : sd_device_new_from_subsystem_sysname,
489 : sd_device_new_from_device_id,
490 : sd_device_get_parent,
491 : sd_device_get_parent_with_subsystem_devtype,
492 : sd_device_get_syspath,
493 : sd_device_get_subsystem,
494 : sd_device_get_devtype,
495 : sd_device_get_devnum,
496 : sd_device_get_ifindex,
497 : sd_device_get_driver,
498 : sd_device_get_devpath,
499 : sd_device_get_devname,
500 : sd_device_get_sysname,
501 : sd_device_get_sysnum,
502 : sd_device_get_is_initialized,
503 : sd_device_get_usec_since_initialized,
504 : sd_device_get_tag_first,
505 : sd_device_get_tag_next,
506 : sd_device_get_devlink_first,
507 : sd_device_get_devlink_next,
508 : sd_device_get_property_first,
509 : sd_device_get_property_next,
510 : sd_device_get_sysattr_first,
511 : sd_device_get_sysattr_next,
512 : sd_device_has_tag,
513 : sd_device_get_property_value,
514 : sd_device_get_sysattr_value,
515 : sd_device_set_sysattr_value,
516 : sd_device_enumerator_new,
517 : sd_device_enumerator_ref,
518 : sd_device_enumerator_unref,
519 : sd_device_enumerator_get_device_first,
520 : sd_device_enumerator_get_device_next,
521 : sd_device_enumerator_get_subsystem_first,
522 : sd_device_enumerator_get_subsystem_next,
523 : sd_device_enumerator_add_match_subsystem,
524 : sd_device_enumerator_add_match_sysattr,
525 : sd_device_enumerator_add_match_property,
526 : sd_device_enumerator_add_match_sysname,
527 : sd_device_enumerator_add_match_tag,
528 : sd_device_enumerator_add_match_parent,
529 : sd_device_enumerator_allow_uninitialized,
530 : sd_hwdb_ref,
531 : sd_hwdb_unref,
532 : sd_hwdb_new,
533 : sd_hwdb_get,
534 : sd_hwdb_seek,
535 : sd_hwdb_enumerate,
536 : sd_id128_get_boot_app_specific,
537 : sd_device_monitor_new,
538 : sd_device_monitor_ref,
539 : sd_device_monitor_unref,
540 : sd_device_monitor_set_receive_buffer_size,
541 : sd_device_monitor_attach_event,
542 : sd_device_monitor_detach_event,
543 : sd_device_monitor_get_event,
544 : sd_device_monitor_get_event_source,
545 : sd_device_monitor_start,
546 : sd_device_monitor_stop,
547 : sd_device_monitor_filter_add_match_subsystem_devtype,
548 : sd_device_monitor_filter_add_match_tag,
549 : sd_device_monitor_filter_update,
550 : sd_device_monitor_filter_remove,
551 : sd_event_source_get_floating,
552 : sd_event_source_set_floating,
553 : sd_bus_close_unref,
554 : &sd_bus_object_vtable_format,
555 : sd_event_source_disable_unref,
556 : };
557 :
558 1 : int main(void) {
559 : unsigned i;
560 542 : for (i = 0; i < sizeof(symbols)/sizeof(void*); i++)
561 541 : printf("%p\n", symbols[i]);
562 1 : return 0;
563 : }
|