chiark / gitweb /
tree-wide: make ++/-- usage consistent WRT spacing
[elogind.git] / src / libelogind / libelogind.sym
1 /***
2   This file is part of systemd.
3
4   systemd is free software; you can redistribute it and/or modify it
5   under the terms of the GNU Lesser General Public License as published by
6   the Free Software Foundation; either version 2.1 of the License, or
7   (at your option) any later version.
8 ***/
9
10 LIBSYSTEMD_209 {
11 global:
12         /* sd-journal */
13         /* sd_journal_print; */
14         /* sd_journal_printv; */
15         /* sd_journal_send; */
16         /* sd_journal_sendv; */
17         /* sd_journal_stream_fd; */
18         /* sd_journal_open; */
19         /* sd_journal_close; */
20         /* sd_journal_previous; */
21         /* sd_journal_next; */
22         /* sd_journal_previous_skip; */
23         /* sd_journal_next_skip; */
24         /* sd_journal_get_realtime_usec; */
25         /* sd_journal_get_monotonic_usec; */
26         /* sd_journal_get_data; */
27         /* sd_journal_enumerate_data; */
28         /* sd_journal_restart_data; */
29         /* sd_journal_add_match; */
30         /* sd_journal_flush_matches; */
31         /* sd_journal_seek_head; */
32         /* sd_journal_seek_tail; */
33         /* sd_journal_seek_monotonic_usec; */
34         /* sd_journal_seek_realtime_usec; */
35         /* sd_journal_seek_cursor; */
36         /* sd_journal_get_cursor; */
37         /* sd_journal_get_fd; */
38         /* sd_journal_process; */
39         /* sd_journal_print_with_location; */
40         /* sd_journal_printv_with_location; */
41         /* sd_journal_send_with_location; */
42         /* sd_journal_sendv_with_location; */
43         /* sd_journal_get_cutoff_realtime_usec; */
44         /* sd_journal_get_cutoff_monotonic_usec; */
45         /* sd_journal_wait; */
46         /* sd_journal_open_directory; */
47         /* sd_journal_add_disjunction; */
48         /* sd_journal_perror; */
49         /* sd_journal_perror_with_location; */
50         /* sd_journal_get_usage; */
51         /* sd_journal_test_cursor; */
52         /* sd_journal_query_unique; */
53         /* sd_journal_enumerate_unique; */
54         /* sd_journal_restart_unique; */
55         /* sd_journal_get_catalog; */
56         /* sd_journal_get_catalog_for_message_id; */
57         /* sd_journal_set_data_threshold; */
58         /* sd_journal_get_data_threshold; */
59         /* sd_journal_reliable_fd; */
60         /* sd_journal_get_events; */
61         /* sd_journal_get_timeout; */
62         /* sd_journal_add_conjunction; */
63         /* sd_journal_open_files; */
64         /* sd_journal_open_container; */
65
66         /* sd-daemon */
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
79         /* sd-id128 */
80         sd_id128_to_string;
81         sd_id128_from_string;
82         sd_id128_randomize;
83         sd_id128_get_machine;
84         sd_id128_get_boot;
85
86         /* sd-login */
87         sd_get_seats;
88         sd_get_sessions;
89         sd_get_uids;
90         sd_login_monitor_flush;
91         sd_login_monitor_get_fd;
92         sd_login_monitor_new;
93         sd_login_monitor_unref;
94         sd_pid_get_owner_uid;
95         sd_pid_get_session;
96         sd_seat_can_multi_session;
97         sd_seat_get_active;
98         sd_seat_get_sessions;
99         sd_session_get_seat;
100         sd_session_get_uid;
101         sd_session_is_active;
102         sd_uid_get_seats;
103         sd_uid_get_sessions;
104         sd_uid_get_state;
105         sd_uid_is_on_seat;
106         sd_pid_get_unit;
107         sd_session_get_service;
108         sd_session_get_type;
109         sd_session_get_class;
110         sd_session_get_display;
111         sd_session_get_state;
112         sd_seat_can_tty;
113         sd_seat_can_graphical;
114         sd_session_get_tty;
115         sd_login_monitor_get_events;
116         sd_login_monitor_get_timeout;
117         sd_pid_get_user_unit;
118         sd_pid_get_machine_name;
119         sd_get_machine_names;
120         sd_pid_get_slice;
121         sd_session_get_vt;
122         sd_session_is_remote;
123         sd_session_get_remote_user;
124         sd_session_get_remote_host;
125 local:
126        *;
127 };
128
129 LIBSYSTEMD_211 {
130 global:
131         sd_machine_get_class;
132         sd_peer_get_session;
133         sd_peer_get_owner_uid;
134         sd_peer_get_unit;
135         sd_peer_get_user_unit;
136         sd_peer_get_machine_name;
137         sd_peer_get_slice;
138 } LIBSYSTEMD_209;
139
140 LIBSYSTEMD_213 {
141 global:
142         sd_uid_get_display;
143 } LIBSYSTEMD_211;
144
145 /*
146  * These methods are not needed by elogind.
147  * LIBSYSTEMD_214 {
148  * global:
149  *         sd_pid_notify;
150  *         sd_pid_notifyf;
151  * } LIBSYSTEMD_213;
152  */
153
154 LIBSYSTEMD_216 {
155 global:
156         sd_machine_get_ifindices;
157 } LIBSYSTEMD_213;
158
159 LIBSYSTEMD_217 {
160 global:
161         sd_session_get_desktop;
162 } LIBSYSTEMD_216;
163
164 LIBSYSTEMD_219 {
165 global:
166         sd_pid_notify_with_fds;
167 } LIBSYSTEMD_217;
168
169 LIBSYSTEMD_220 {
170 global:
171         sd_pid_get_user_slice;
172         sd_peer_get_user_slice;
173 } LIBSYSTEMD_219;
174
175 LIBSYSTEMD_221 {
176 global:
177         /* sd-bus */
178         sd_bus_default;
179         sd_bus_default_user;
180         sd_bus_default_system;
181         sd_bus_open;
182         sd_bus_open_user;
183         sd_bus_open_system;
184         sd_bus_open_system_remote;
185         sd_bus_open_system_machine;
186         sd_bus_new;
187         sd_bus_set_address;
188         sd_bus_set_fd;
189         /* sd_bus_set_exec; */
190         /* sd_bus_get_address; */
191         /* sd_bus_set_bus_client; */
192         /* sd_bus_is_bus_client; */
193         /* sd_bus_set_server; */
194         /* sd_bus_is_server; */
195         /* sd_bus_set_anonymous; */
196         /* sd_bus_is_anonymous; */
197         /* sd_bus_set_trusted; */
198         /* sd_bus_is_trusted; */
199         /* sd_bus_set_monitor; */
200         /* sd_bus_is_monitor; */
201         /* sd_bus_set_description; */
202         /* sd_bus_get_description; */
203         /* sd_bus_negotiate_creds; */
204         /* sd_bus_negotiate_timestamp; */
205         /* sd_bus_negotiate_fds; */
206         sd_bus_can_send;
207         /* sd_bus_get_creds_mask; */
208         sd_bus_set_allow_interactive_authorization;
209         /* sd_bus_get_allow_interactive_authorization; */
210         sd_bus_start;
211         sd_bus_close;
212         /* sd_bus_try_close; */
213         sd_bus_ref;
214         sd_bus_unref;
215         /* sd_bus_is_open; */
216         /* sd_bus_get_bus_id; */
217         /* sd_bus_get_scope; */
218         /* sd_bus_get_tid; */
219         sd_bus_get_owner_creds;
220         sd_bus_send;
221         /* sd_bus_send_to; */
222         sd_bus_call;
223         sd_bus_call_async;
224         /* sd_bus_get_fd; */
225         sd_bus_get_events;
226         sd_bus_get_timeout;
227         sd_bus_process;
228         /* sd_bus_process_priority; */
229         sd_bus_wait;
230         sd_bus_flush;
231         /* sd_bus_get_current_slot; */
232         sd_bus_get_current_message;
233         sd_bus_get_current_handler;
234         sd_bus_get_current_userdata;
235         sd_bus_attach_event;
236         sd_bus_detach_event;
237         sd_bus_get_event;
238         /* sd_bus_add_filter; */
239         sd_bus_add_match;
240         sd_bus_add_object;
241         sd_bus_add_fallback;
242         sd_bus_add_object_vtable;
243         sd_bus_add_fallback_vtable;
244         sd_bus_add_node_enumerator;
245         /* sd_bus_add_object_manager; */
246         sd_bus_slot_ref;
247         sd_bus_slot_unref;
248         /* sd_bus_slot_get_bus; */
249         /* sd_bus_slot_get_userdata; */
250         /* sd_bus_slot_set_userdata; */
251         /* sd_bus_slot_get_description; */
252         /* sd_bus_slot_set_description; */
253         /* sd_bus_slot_get_current_message; */
254         /* sd_bus_slot_get_current_handler; */
255         /* sd_bus_slot_get_current_userdata; */
256         sd_bus_message_new_signal;
257         sd_bus_message_new_method_call;
258         sd_bus_message_new_method_return;
259         sd_bus_message_new_method_error;
260         sd_bus_message_new_method_errorf;
261         sd_bus_message_new_method_errno;
262         /* sd_bus_message_new_method_errnof; */
263         sd_bus_message_ref;
264         sd_bus_message_unref;
265         /* sd_bus_message_get_type; */
266         /* sd_bus_message_get_cookie; */
267         /* sd_bus_message_get_reply_cookie; */
268         /* sd_bus_message_get_priority; */
269         /* sd_bus_message_get_expect_reply; */
270         /* sd_bus_message_get_auto_start; */
271         sd_bus_message_get_allow_interactive_authorization;
272         sd_bus_message_get_signature;
273         sd_bus_message_get_path;
274         sd_bus_message_get_interface;
275         sd_bus_message_get_member;
276         sd_bus_message_get_destination;
277         sd_bus_message_get_sender;
278         sd_bus_message_get_error;
279         sd_bus_message_get_errno;
280         /* sd_bus_message_get_monotonic_usec; */
281         /* sd_bus_message_get_realtime_usec; */
282         /* sd_bus_message_get_seqnum; */
283         sd_bus_message_get_bus;
284         sd_bus_message_get_creds;
285         /* sd_bus_message_is_signal; */
286         sd_bus_message_is_method_call;
287         sd_bus_message_is_method_error;
288         /* sd_bus_message_is_empty; */
289         /* sd_bus_message_has_signature; */
290         /* sd_bus_message_set_expect_reply; */
291         /* sd_bus_message_set_auto_start; */
292         /* sd_bus_message_set_allow_interactive_authorization; */
293         sd_bus_message_set_destination;
294         /* sd_bus_message_set_priority; */
295         sd_bus_message_append;
296         sd_bus_message_append_basic;
297         /* sd_bus_message_append_array; */
298         /* sd_bus_message_append_array_space; */
299         /* sd_bus_message_append_array_iovec; */
300         /* sd_bus_message_append_array_memfd; */
301         /* sd_bus_message_append_string_space; */
302         /* sd_bus_message_append_string_iovec; */
303         /* sd_bus_message_append_string_memfd; */
304         sd_bus_message_append_strv;
305         sd_bus_message_open_container;
306         sd_bus_message_close_container;
307         sd_bus_message_copy;
308         sd_bus_message_read;
309         sd_bus_message_read_basic;
310         sd_bus_message_read_array;
311         sd_bus_message_read_strv;
312         sd_bus_message_skip;
313         sd_bus_message_enter_container;
314         sd_bus_message_exit_container;
315         sd_bus_message_peek_type;
316         /* sd_bus_message_verify_type; */
317         /* sd_bus_message_at_end; */
318         sd_bus_message_rewind;
319         sd_bus_get_unique_name;
320         sd_bus_request_name;
321         sd_bus_release_name;
322         sd_bus_list_names;
323         sd_bus_get_name_creds;
324         /* sd_bus_get_name_machine_id; */
325         sd_bus_call_method;
326         /* sd_bus_call_method_async; */
327         sd_bus_get_property;
328         /* sd_bus_get_property_trivial; */
329         sd_bus_get_property_string;
330         /* sd_bus_get_property_strv; */
331         /* sd_bus_set_property; */
332         sd_bus_reply_method_return;
333         sd_bus_reply_method_error;
334         sd_bus_reply_method_errorf;
335         sd_bus_reply_method_errno;
336         /* sd_bus_reply_method_errnof; */
337         sd_bus_emit_signal;
338         sd_bus_emit_properties_changed_strv;
339         sd_bus_emit_properties_changed;
340         sd_bus_emit_interfaces_added_strv;
341         sd_bus_emit_interfaces_added;
342         sd_bus_emit_interfaces_removed_strv;
343         sd_bus_emit_interfaces_removed;
344         sd_bus_query_sender_creds;
345         sd_bus_query_sender_privilege;
346         /* sd_bus_creds_new_from_pid; */
347         sd_bus_creds_ref;
348         sd_bus_creds_unref;
349         /* sd_bus_creds_get_mask; */
350         sd_bus_creds_get_augmented_mask;
351         sd_bus_creds_get_pid;
352         /* sd_bus_creds_get_ppid; */
353         sd_bus_creds_get_tid;
354         sd_bus_creds_get_uid;
355         sd_bus_creds_get_euid;
356         /* sd_bus_creds_get_suid; */
357         /* sd_bus_creds_get_fsuid; */
358         /* sd_bus_creds_get_gid; */
359         sd_bus_creds_get_egid;
360         /* sd_bus_creds_get_sgid; */
361         /* sd_bus_creds_get_fsgid; */
362         /* sd_bus_creds_get_supplementary_gids; */
363         /* sd_bus_creds_get_comm; */
364         /* sd_bus_creds_get_tid_comm; */
365         /* sd_bus_creds_get_exe; */
366         sd_bus_creds_get_cmdline;
367         /* sd_bus_creds_get_cgroup; */
368         /* sd_bus_creds_get_unit; */
369         /* sd_bus_creds_get_slice; */
370         /* sd_bus_creds_get_user_unit; */
371         /* sd_bus_creds_get_user_slice; */
372         sd_bus_creds_get_session;
373         sd_bus_creds_get_owner_uid;
374         sd_bus_creds_has_effective_cap;
375         /* sd_bus_creds_has_permitted_cap; */
376         /* sd_bus_creds_has_inheritable_cap; */
377         /* sd_bus_creds_has_bounding_cap; */
378         sd_bus_creds_get_selinux_context;
379         /* sd_bus_creds_get_audit_session_id; */
380         sd_bus_creds_get_audit_login_uid;
381         sd_bus_creds_get_tty;
382         /* sd_bus_creds_get_unique_name; */
383         /* sd_bus_creds_get_well_known_names; */
384         /* sd_bus_creds_get_description; */
385         sd_bus_error_free;
386         sd_bus_error_set;
387         sd_bus_error_setf;
388         sd_bus_error_set_const;
389         sd_bus_error_set_errno;
390         sd_bus_error_set_errnof;
391         sd_bus_error_set_errnofv;
392         sd_bus_error_get_errno;
393         sd_bus_error_copy;
394         sd_bus_error_is_set;
395         sd_bus_error_has_name;
396         sd_bus_error_add_map;
397         /* sd_bus_path_encode; */
398         /* sd_bus_path_decode; */
399         sd_bus_track_new;
400         sd_bus_track_ref;
401         sd_bus_track_unref;
402         sd_bus_track_get_bus;
403         /* sd_bus_track_get_userdata; */
404         /* sd_bus_track_set_userdata; */
405         sd_bus_track_add_sender;
406         sd_bus_track_remove_sender;
407         sd_bus_track_add_name;
408         sd_bus_track_remove_name;
409         sd_bus_track_count;
410         sd_bus_track_contains;
411         sd_bus_track_first;
412         sd_bus_track_next;
413
414         /* sd-event */
415         sd_event_default;
416         sd_event_new;
417         sd_event_ref;
418         sd_event_unref;
419         sd_event_add_io;
420         sd_event_add_time;
421         sd_event_add_signal;
422         /* sd_event_add_child; */
423         /* sd_event_add_defer; */
424         sd_event_add_post;
425         sd_event_add_exit;
426         sd_event_prepare;
427         sd_event_wait;
428         sd_event_dispatch;
429         sd_event_run;
430         /* sd_event_loop; */
431         sd_event_exit;
432         /* sd_event_now; */
433         /* sd_event_get_fd; */
434         sd_event_get_state;
435         /* sd_event_get_tid; */
436         /* sd_event_get_exit_code; */
437         sd_event_set_watchdog;
438         /* sd_event_get_watchdog; */
439         /* sd_event_source_ref; */
440         sd_event_source_unref;
441         sd_event_source_get_event;
442         /* sd_event_source_get_userdata; */
443         /* sd_event_source_set_userdata; */
444         sd_event_source_set_description;
445         /* sd_event_source_get_description; */
446         sd_event_source_set_prepare;
447         /* sd_event_source_get_pending; */
448         /* sd_event_source_get_priority; */
449         sd_event_source_set_priority;
450         /* sd_event_source_get_enabled; */
451         sd_event_source_set_enabled;
452         /* sd_event_source_get_io_fd; */
453         sd_event_source_set_io_fd;
454         /* sd_event_source_get_io_events; */
455         sd_event_source_set_io_events;
456         /* sd_event_source_get_io_revents; */
457         sd_event_source_get_time;
458         sd_event_source_set_time;
459         /* sd_event_source_set_time_accuracy; */
460         /* sd_event_source_get_time_accuracy; */
461         /* sd_event_source_get_time_clock; */
462         /* sd_event_source_get_signal; */
463         /* sd_event_source_get_child_pid; */
464 } LIBSYSTEMD_220;
465
466 LIBSYSTEMD_222 {
467 global:
468         /* sd-bus */
469         sd_bus_emit_object_added;
470         /* sd_bus_emit_object_removed; */
471         sd_bus_flush_close_unref;
472 } LIBSYSTEMD_221;
473
474 LIBSYSTEMD_226 {
475 global:
476         sd_pid_get_cgroup;
477         sd_peer_get_cgroup;
478 } LIBSYSTEMD_222;
479
480 /*
481  * These methods are not needed by elogind.
482  * LIBSYSTEMD_227 {
483  * global:
484  *         sd_bus_default_flush_close;
485  *         sd_bus_path_decode_many;
486  *         sd_bus_path_encode_many;
487  *         sd_listen_fds_with_names;
488  * } LIBSYSTEMD_226;
489 */
490
491 /*
492  * These methods are not needed by elogind.
493  * LIBSYSTEMD_229 {
494  * global:
495  *         sd_journal_has_runtime_files;
496  *         sd_journal_has_persistent_files;
497  *         sd_journal_enumerate_fields;
498  *         sd_journal_restart_fields;
499  * } LIBSYSTEMD_227;
500 */