Systemd/src/journal
Lennart Poettering dccca82b1a log: minimize includes in log.h
log.h really should only include the bare minimum of other headers, as
it is really pulled into pretty much everything else and already in
itself one of the most basic pieces of code we have.

Let's hence drop inclusion of:

1. sd-id128.h because it's entirely unneeded in current log.h
2. errno.h, dito.
3. sys/signalfd.h which we can replace by a simple struct forward
   declaration
4. process-util.h which was needed for getpid_cached() which we now hide
   in a funciton log_emergency_level() instead, which nicely abstracts
   the details away.
5. sys/socket.h which was needed for struct iovec, but a simple struct
   forward declaration suffices for that too.

Ultimately this actually makes our source tree larger (since users of
the functionality above must now include it themselves, log.h won't do
that for them), but I think it helps to untangle our web of includes a
tiny bit.

(Background: I'd like to isolate the generic bits of src/basic/ enough
so that we can do a git submodule import into casync for it)
2018-01-11 14:44:31 +01:00
..
audit-type.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
audit-type.h tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
audit_type-to-name.awk meson: also indent scripts with 8 spaces 2017-04-25 08:49:16 -04:00
cat.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
catalog.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
catalog.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
compress.c journal: avoid undefined behaviour in float division by 0.0 2017-11-28 21:34:50 +01:00
compress.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
fsprg.c Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
fsprg.h Add SPDX license headers to various assorted files 2017-11-19 19:08:15 +01:00
generate-audit_type-list.sh separate flags from shebang 2017-12-25 19:48:49 +01:00
journal-authenticate.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-authenticate.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-def.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-file.c tree-wide: in all threads we fork off in library code, block all signals 2018-01-04 13:27:27 +01:00
journal-file.h journal: use new helpers with journal_file_close 2017-11-28 21:34:50 +01:00
journal-internal.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-qrcode.c tree-wide: use __fsetlocking() instead of fxyz_unlocked() 2017-12-14 10:42:25 +01:00
journal-qrcode.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-send.c cocci: use strempty() at more places 2018-01-10 17:11:19 +01:00
journal-vacuum.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-vacuum.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-verify.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journal-verify.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journalctl.c tree-wide: add DEBUG_LOGGING macro that checks whether debug logging is on (#7645) 2017-12-15 11:09:00 +01:00
journald-audit.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-audit.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-console.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
journald-console.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-context.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-context.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-gperf.gperf tree-wide: adjust fall through comments so that gcc is happy 2017-11-20 13:06:25 -08:00
journald-kmsg.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
journald-kmsg.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-native.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
journald-native.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-rate-limit.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-rate-limit.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-server.c journald: introduce new uid_for_system_journal() helper 2018-01-04 13:28:24 +01:00
journald-server.h tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
journald-stream.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
journald-stream.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-syslog.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
journald-syslog.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-wall.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald-wall.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
journald.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
journald.conf journald: make maximum size of stream log lines configurable and bump it to 48K (#6838) 2017-09-22 10:22:24 +02:00
lookup3.c journal/lookup3: silence gcc 7 implicit-fallthrough warning 2017-01-31 14:04:55 -05:00
lookup3.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
meson.build meson: use a convenience lib for journal user sources 2018-01-03 12:09:46 +01:00
mmap-cache.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
mmap-cache.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-journal.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-audit-type.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-catalog.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-compress-benchmark.c log: minimize includes in log.h 2018-01-11 14:44:31 +01:00
test-compress.c test: handle gracefully if decompressor tools are not installed (#7455) 2017-11-24 14:08:51 +01:00
test-journal-enum.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-flush.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-init.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-interleaving.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-match.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-send.c tree-wide: make use of new STRLEN() macro everywhere (#7639) 2017-12-14 19:02:29 +01:00
test-journal-stream.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-syslog.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal-verify.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-journal.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
test-mmap-cache.c Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00