mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
The legacy socket logs a line per command under initctl debug; the bus logged nothing, so the transport that now carries most of initctl was the one you could not watch. libink gets a logger hook rather than a dependency on Finit's: it passes the emitting function and a formatted message, and dbus.c hands both to logit() so the two sources read alike. Trace points cover the connection lifecycle, every inbound call, and why a call was refused. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
19 lines
945 B
Makefile
19 lines
945 B
Makefile
# libink — brokerless D-Bus library (server + client), born inside Finit
|
|
#
|
|
# Internal convenience library: linked statically into finit and
|
|
# initctl, nothing installed. Public install (and the ABI promise
|
|
# that comes with it) is deferred until libink is extracted into its
|
|
# own project.
|
|
noinst_LTLIBRARIES = libink.la
|
|
libink_la_SOURCES = server.c auth.c connection.c \
|
|
proto.c proto.h \
|
|
marshal.c marshal.h \
|
|
dispatch.c builtin.c \
|
|
match.c \
|
|
path.c \
|
|
client.c io.c log.c \
|
|
link.h path.h internal.h
|
|
|
|
libink_la_CPPFLAGS = -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_BSD_SOURCE
|
|
libink_la_CFLAGS = -W -Wall -Wextra -Wno-unused-parameter -std=gnu99
|