mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
shared: add formats-util.h
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "capability.h"
|
||||
#include "bus-xml-policy.h"
|
||||
#include "proxy.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static char *arg_address = NULL;
|
||||
static char **arg_configuration = NULL;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "bus-internal.h"
|
||||
#include "bus-xml-policy.h"
|
||||
#include "sd-login.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static void policy_item_free(PolicyItem *i) {
|
||||
assert(i);
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
#include "driver.h"
|
||||
#include "proxy.h"
|
||||
#include "synthesize.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static int proxy_create_destination(Proxy *p, const char *destination, const char *local_sec, bool negotiate_fds) {
|
||||
_cleanup_bus_close_unref_ sd_bus *b = NULL;
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "strv.h"
|
||||
#include "def.h"
|
||||
#include "proxy.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static char *arg_address = NULL;
|
||||
static char *arg_command_line_buffer = NULL;
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "dbus-automount.h"
|
||||
#include "bus-util.h"
|
||||
#include "bus-error.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static const UnitActiveState state_translation_table[_AUTOMOUNT_STATE_MAX] = {
|
||||
[AUTOMOUNT_DEAD] = UNIT_INACTIVE,
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "bus-policy.h"
|
||||
#include "dbus-busname.h"
|
||||
#include "busname.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static const UnitActiveState state_translation_table[_BUSNAME_STATE_MAX] = {
|
||||
[BUSNAME_DEAD] = UNIT_INACTIVE,
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "dbus-snapshot.h"
|
||||
#include "dbus-execute.h"
|
||||
#include "bus-common-errors.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static int property_get_version(
|
||||
sd_bus *bus,
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
#include "smack-util.h"
|
||||
#include "bus-endpoint.h"
|
||||
#include "cap-list.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
#ifdef HAVE_APPARMOR
|
||||
#include "apparmor-util.h"
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "util.h"
|
||||
#include "killall.h"
|
||||
#include "set.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
#define TIMEOUT_USEC (10 * USEC_PER_SEC)
|
||||
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
#include "ima-setup.h"
|
||||
#include "smack-setup.h"
|
||||
#include "kmod-setup.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static enum {
|
||||
ACTION_RUN,
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "special.h"
|
||||
#include "exit-status.h"
|
||||
#include "fstab-util.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
#define RETRY_UMOUNT_MAX 32
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
#include "bus-error.h"
|
||||
#include "bus-util.h"
|
||||
#include "bus-kernel.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = {
|
||||
[SERVICE_DEAD] = UNIT_INACTIVE,
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include "dbus-socket.h"
|
||||
#include "unit.h"
|
||||
#include "socket.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static const UnitActiveState state_translation_table[_SOCKET_STATE_MAX] = {
|
||||
[SOCKET_DEAD] = UNIT_INACTIVE,
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "virt.h"
|
||||
#include "udev-util.h"
|
||||
#include "fstab-util.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static const UnitActiveState state_translation_table[_SWAP_STATE_MAX] = {
|
||||
[SWAP_DEAD] = UNIT_INACTIVE,
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "unit-printf.h"
|
||||
#include "macro.h"
|
||||
#include "cgroup-util.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static int specifier_prefix_and_instance(char specifier, void *data, void *userdata, char **ret) {
|
||||
Unit *u = userdata;
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "dbus.h"
|
||||
#include "execute.h"
|
||||
#include "dropin.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
const UnitVTable * const unit_vtable[_UNIT_TYPE_MAX] = {
|
||||
[UNIT_SERVICE] = &service_vtable,
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "bus-util.h"
|
||||
#include "bus-error.h"
|
||||
#include "def.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
#define SERVER_FD_MAX 16
|
||||
#define TIMEOUT_MSEC ((int) (DEFAULT_EXIT_USEC/USEC_PER_MSEC))
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "conf-parser.h"
|
||||
#include "sigbus.h"
|
||||
#include "journal-upload.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
#define PRIV_KEY_FILE CERTIFICATE_ROOT "/private/journal-upload.pem"
|
||||
#define CERT_FILE CERTIFICATE_ROOT "/certs/journal-upload.pem"
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include "fileio.h"
|
||||
#include "journald-server.h"
|
||||
#include "journald-console.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
static bool prefix_timestamp(void) {
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "journald-server.h"
|
||||
#include "journald-kmsg.h"
|
||||
#include "journald-syslog.h"
|
||||
#include "formats-util.h"
|
||||
|
||||
void server_forward_kmsg(
|
||||
Server *s,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user