summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-07 03:20:40 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-07 03:20:40 +0100
commitc8a8806e7705cb2e465b6727415c955fd5ef194b (patch)
treef8e7d1662298516e944f5bef6a873c340f68a5ea /src
parentbc801363855527cae97e9251aa17741bcd85e33e (diff)
build-sys: merge sd-event into sd-bus
The sd-event APIs should be available only as part of libsystemd-bus so that the utility calls are not linked into each independently and we can minimize the number of libraries we have.
Diffstat (limited to 'src')
-rw-r--r--src/analyze/analyze.c1
-rw-r--r--src/libsystemd-bus/libsystemd-bus.sym50
-rw-r--r--src/libsystemd-bus/libsystemd-event.sym57
3 files changed, 50 insertions, 58 deletions
diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c
index 3b793f6664..22bf07670e 100644
--- a/src/analyze/analyze.c
+++ b/src/analyze/analyze.c
@@ -1085,6 +1085,7 @@ static int dot(sd_bus *bus, char* patterns[]) {
return 0;
}
+
static int dump(sd_bus *bus, char **args) {
_cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
diff --git a/src/libsystemd-bus/libsystemd-bus.sym b/src/libsystemd-bus/libsystemd-bus.sym
index 850f370c5b..5eecfa1cf9 100644
--- a/src/libsystemd-bus/libsystemd-bus.sym
+++ b/src/libsystemd-bus/libsystemd-bus.sym
@@ -178,7 +178,7 @@ global:
sd_bus_error_is_set;
sd_bus_error_has_name;
- /* mem-fd functions */
+ /* sd-memfd functions */
sd_memfd_new;
sd_memfd_make;
sd_memfd_new_and_map;
@@ -192,6 +192,54 @@ global:
sd_memfd_get_size;
sd_memfd_set_size;
+ /* sd-event functions */
+ sd_event_new;
+ sd_event_ref;
+ sd_event_unref;
+
+ sd_event_add_io;
+ sd_event_add_monotonic;
+ sd_event_add_realtime;
+ sd_event_add_signal;
+ sd_event_add_child;
+ sd_event_add_defer;
+ sd_event_add_quit;
+
+ sd_event_run;
+ sd_event_loop;
+
+ sd_event_get_state;
+ sd_event_get_quit;
+ sd_event_request_quit;
+ sd_event_get_now_realtime;
+ sd_event_get_now_monotonic;
+ sd_event_get;
+
+ sd_event_source_ref;
+ sd_event_source_unref;
+
+ sd_event_source_set_prepare;
+ sd_event_source_get_pending;
+ sd_event_source_get_priority;
+ sd_event_source_set_priority;
+ sd_event_source_get_enabled;
+ sd_event_source_set_enabled;
+ sd_event_source_get_userdata;
+ sd_event_source_get_io_fd;
+ sd_event_source_get_io_events;
+ sd_event_source_set_io_events;
+ sd_event_source_get_io_revents;
+ sd_event_source_get_time;
+ sd_event_source_set_time;
+ sd_event_source_set_time_accuracy;
+ sd_event_source_get_time_accuracy;
+ sd_event_source_get_signal;
+ sd_event_source_get_child_pid;
+
+ /* sd-utf8 function */
+ sd_utf8_is_valid;
+ sd_ascii_is_valid;
+
local:
*;
};
diff --git a/src/libsystemd-bus/libsystemd-event.sym b/src/libsystemd-bus/libsystemd-event.sym
deleted file mode 100644
index d5b47ced73..0000000000
--- a/src/libsystemd-bus/libsystemd-event.sym
+++ /dev/null
@@ -1,57 +0,0 @@
-/***
- This file is part of systemd.
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
-***/
-
-LIBSYSTEMD_EVENT_209 {
-global:
- sd_event_new;
- sd_event_ref;
- sd_event_unref;
-
- sd_event_add_io;
- sd_event_add_monotonic;
- sd_event_add_realtime;
- sd_event_add_signal;
- sd_event_add_child;
- sd_event_add_defer;
- sd_event_add_quit;
-
- sd_event_run;
- sd_event_loop;
-
- sd_event_get_state;
- sd_event_get_quit;
- sd_event_request_quit;
- sd_event_get_now_realtime;
- sd_event_get_now_monotonic;
- sd_event_get;
-
- sd_event_source_ref;
- sd_event_source_unref;
-
- sd_event_source_set_prepare;
- sd_event_source_get_pending;
- sd_event_source_get_priority;
- sd_event_source_set_priority;
- sd_event_source_get_enabled;
- sd_event_source_set_enabled;
- sd_event_source_get_userdata;
- sd_event_source_get_io_fd;
- sd_event_source_get_io_events;
- sd_event_source_set_io_events;
- sd_event_source_get_io_revents;
- sd_event_source_get_time;
- sd_event_source_set_time;
- sd_event_source_set_time_accuracy;
- sd_event_source_get_time_accuracy;
- sd_event_source_get_signal;
- sd_event_source_get_child_pid;
-
-local:
- *;
-};