-I $(top_srcdir)/src \
-I $(top_srcdir)/src/readahead \
-I $(top_srcdir)/src/login \
- -I $(top_srcdir)/src/journal
+ -I $(top_srcdir)/src/journal \
+ -I $(top_srcdir)/src/systemd
if TARGET_GENTOO
AM_CPPFLAGS += \
-Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym
pkginclude_HEADERS += \
- src/sd-daemon.h
+ src/systemd/sd-daemon.h
# move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
libsystemd-daemon-install-hook:
test-id128
pkginclude_HEADERS += \
- src/sd-id128.h
+ src/systemd/sd-id128.h
lib_LTLIBRARIES += \
libsystemd-id128.la
test-journal
pkginclude_HEADERS += \
- src/journal/sd-journal.h \
- src/journal/sd-messages.h
+ src/systemd/sd-journal.h \
+ src/systemd/sd-messages.h
lib_LTLIBRARIES += \
libsystemd-journal.la
units/systemd-readahead-done.service
EXTRA_DIST += \
- src/readahead/sd-readahead.h \
+ src/systemd/sd-readahead.h \
src/readahead/readahead-common.h \
units/systemd-readahead-collect.service.in \
units/systemd-readahead-replay.service.in \
src/login/systemd-logind.conf
pkginclude_HEADERS += \
- src/login/sd-login.h
+ src/systemd/sd-login.h
lib_LTLIBRARIES += \
libsystemd-login.la
#include <ctype.h>
#include <dbus/dbus.h>
+#include <systemd/sd-daemon.h>
#include "util.h"
#include "log.h"
#include "list.h"
#include "initreq.h"
#include "special.h"
-#include "sd-daemon.h"
#include "dbus-common.h"
#include "def.h"
#include <inttypes.h>
+#include <systemd/sd-id128.h>
+
#include "macro.h"
-#include "sd-id128.h"
typedef struct Header Header;
typedef struct ObjectHeader ObjectHeader;
#include <inttypes.h>
+#include <systemd/sd-id128.h>
+
#include "journal-def.h"
#include "util.h"
-#include "sd-id128.h"
typedef struct Window {
void *ptr;
#include <inttypes.h>
#include <stdbool.h>
+#include <systemd/sd-id128.h>
+
#include "list.h"
-#include "sd-id128.h"
typedef struct Match Match;
#include <time.h>
#include <getopt.h>
-#include "sd-journal.h"
+#include <systemd/sd-journal.h>
+
#include "log.h"
#include "util.h"
#include "build.h"
#include <linux/sockios.h>
#include <sys/statvfs.h>
+#include <systemd/sd-journal.h>
+#include <systemd/sd-login.h>
+#include <systemd/sd-messages.h>
+#include <systemd/sd-daemon.h>
+
#include "hashmap.h"
#include "journal-file.h"
-#include "sd-daemon.h"
#include "socket-util.h"
#include "acl-util.h"
#include "cgroup-util.h"
#include "list.h"
#include "journal-rate-limit.h"
-#include "sd-journal.h"
-#include "sd-login.h"
#include "journal-internal.h"
#include "conf-parser.h"
-#include "sd-messages.h"
#include "journald.h"
#define USER_JOURNALS_MAX 1024
#include <fcntl.h>
#include <unistd.h>
-#include "sd-journal.h"
+#include <systemd/sd-journal.h>
+
#include "journal-file.h"
#include "log.h"
#include <fcntl.h>
#include <sys/signalfd.h>
+#include <systemd/sd-daemon.h>
+
#include "util.h"
#include "log.h"
-#include "sd-daemon.h"
#include "fdset.h"
#define SERVER_FD_MAX 16
#include <sys/ioctl.h>
#include <linux/vt.h>
+#include <systemd/sd-daemon.h>
+
#include "logind.h"
-#include "sd-daemon.h"
#include "dbus-common.h"
#include "dbus-loop.h"
#include "strv.h"
#include <security/pam_ext.h>
#include <security/pam_misc.h>
+#include <systemd/sd-daemon.h>
+
#include "util.h"
#include "macro.h"
-#include "sd-daemon.h"
#include "strv.h"
#include "dbus-common.h"
#include "def.h"
#include <sys/poll.h>
#include <string.h>
-#include "sd-login.h"
+#include <systemd/sd-login.h>
+
#include "util.h"
#include "strv.h"
#include <errno.h>
#include <string.h>
+#include <systemd/sd-daemon.h>
+#include <systemd/sd-login.h>
+
#include "logind-acl.h"
#include "util.h"
#include "log.h"
-#include "sd-daemon.h"
-#include "sd-login.h"
int main(int argc, char *argv[]) {
int r;
#include <stdbool.h>
-#include "sd-journal.h"
+#include <systemd/sd-journal.h>
+
#include "util.h"
typedef enum OutputMode {
#include <fcntl.h>
#include <sys/mount.h>
+#include <systemd/sd-id128.h>
+
#include "machine-id-setup.h"
#include "macro.h"
#include "util.h"
#include "log.h"
-#include "sd-id128.h"
static int generate(char id[34]) {
int fd, r;
#include <libaudit.h>
#endif
+#include <systemd/sd-daemon.h>
+
#include "manager.h"
#include "hashmap.h"
#include "macro.h"
#include "special.h"
#include "bus-errors.h"
#include "exit-status.h"
-#include "sd-daemon.h"
#include "virt.h"
/* As soon as 16 units are in our GC queue, make sure to run a gc sweep */
#include <stdlib.h>
#include <string.h>
+#include <systemd/sd-daemon.h>
+
#include "strv.h"
#include "util.h"
#include "log.h"
-#include "sd-daemon.h"
#include "sd-readahead.h"
static bool arg_ready = false;
#include <grp.h>
#include <linux/fs.h>
+#include <systemd/sd-daemon.h>
+
#include "log.h"
#include "util.h"
#include "missing.h"
#include "cgroup-util.h"
-#include "sd-daemon.h"
#include "strv.h"
#include "loopback-setup.h"
#include <getopt.h>
#include <sys/inotify.h>
+#include <systemd/sd-daemon.h>
+
#include "missing.h"
#include "util.h"
#include "set.h"
-#include "sd-daemon.h"
#include "ioprio.h"
#include "readahead-common.h"
#include "virt.h"
#include <getopt.h>
#include <sys/inotify.h>
+#include <systemd/sd-daemon.h>
+
#include "missing.h"
#include "util.h"
#include "set.h"
-#include "sd-daemon.h"
#include "ioprio.h"
#include "readahead-common.h"
#include "virt.h"
#include <unistd.h>
#include "sd-id128.h"
+
#include "util.h"
#include "macro.h"
#include <unistd.h>
#include <fcntl.h>
+#include <systemd/sd-daemon.h>
+
#include "shutdownd.h"
#include "log.h"
#include "macro.h"
#include "util.h"
-#include "sd-daemon.h"
#include "utmp-wtmp.h"
static int read_packet(int fd, struct shutdownd_command *_c) {
#include <sys/un.h>
#include <fcntl.h>
+#include <systemd/sd-daemon.h>
+
#include "util.h"
#include "log.h"
#include "list.h"
-#include "sd-daemon.h"
#include "tcpwrap.h"
#include "def.h"
#include <sys/prctl.h>
#include <dbus/dbus.h>
+#include <systemd/sd-daemon.h>
+
#include "log.h"
#include "util.h"
#include "macro.h"
#include "list.h"
#include "path-lookup.h"
#include "conf-parser.h"
-#include "sd-daemon.h"
#include "shutdownd.h"
#include "exit-status.h"
#include "bus-errors.h"
#include <unistd.h>
-#include "sd-daemon.h"
+#include <systemd/sd-daemon.h>
int main(int argc, char*argv[]) {
#include <string.h>
-#include "sd-id128.h"
+#include <systemd/sd-id128.h>
+
#include "util.h"
#include "macro.h"