diff options
author | Luca Boccassi <bluca@debian.org> | 2023-09-18 22:05:15 +0200 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2023-10-12 14:37:22 +0200 |
commit | 3f12c5ff2ee17df44926252809e882a811b20df2 (patch) | |
tree | 311f75cb4c020da63765084bd183f9838cec4290 /src/shared/serialize.h | |
parent | core: ensure execute/spawn functions can work without Unit object (diff) | |
download | systemd-3f12c5ff2ee17df44926252809e882a811b20df2.tar.xz systemd-3f12c5ff2ee17df44926252809e882a811b20df2.zip |
serialize: add serialize_item_hexmem()
Diffstat (limited to 'src/shared/serialize.h')
-rw-r--r-- | src/shared/serialize.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/serialize.h b/src/shared/serialize.h index 9463d1127c..17bc968c04 100644 --- a/src/shared/serialize.h +++ b/src/shared/serialize.h @@ -12,6 +12,7 @@ int serialize_item(FILE *f, const char *key, const char *value); int serialize_item_escaped(FILE *f, const char *key, const char *value); int serialize_item_format(FILE *f, const char *key, const char *value, ...) _printf_(3,4); +int serialize_item_hexmem(FILE *f, const char *key, const void *p, size_t l); int serialize_fd(FILE *f, FDSet *fds, const char *key, int fd); int serialize_usec(FILE *f, const char *key, usec_t usec); int serialize_dual_timestamp(FILE *f, const char *key, const dual_timestamp *t); |