mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 17:06:39 +09:00
The new function DumpPatterns() can be used to limit (drastically) the size of the data returned by PID1. Hence the optimization of serializing data into a file descriptor should be less relevant than having the possibility to limit the data when communicating with the service manager remotely. NB: when passing patterns, the dump command omits the version of the manager as well as the features and the timestamps.
13 lines
456 B
C
13 lines
456 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "manager.h"
|
|
|
|
void manager_dump_jobs(Manager *s, FILE *f, char **patterns, const char *prefix);
|
|
void manager_dump_units(Manager *s, FILE *f, char **patterns, const char *prefix);
|
|
void manager_dump(Manager *s, FILE *f, char **patterns, const char *prefix);
|
|
int manager_get_dump_string(Manager *m, char **patterns, char **ret);
|
|
void manager_test_summary(Manager *m);
|