summaryrefslogtreecommitdiffstats
path: root/src/shared/user-record-show.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-08-05 18:21:49 +0200
committerLennart Poettering <lennart@poettering.net>2020-01-15 15:27:59 +0100
commit295c1a6e456936960d7190f94ff0c1eb51102f33 (patch)
tree81c2ff8e8f1d4a55a4be468b7ad53fb3604845b4 /src/shared/user-record-show.h
parentshared: add internal API for querying JSON user records via varlink (diff)
downloadsystemd-295c1a6e456936960d7190f94ff0c1eb51102f33.tar.xz
systemd-295c1a6e456936960d7190f94ff0c1eb51102f33.zip
shared: add helpers for displaying new-style user/group records to users
Diffstat (limited to 'src/shared/user-record-show.h')
-rw-r--r--src/shared/user-record-show.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/user-record-show.h b/src/shared/user-record-show.h
new file mode 100644
index 0000000000..bd22be2ae0
--- /dev/null
+++ b/src/shared/user-record-show.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
+#pragma once
+
+#include "user-record.h"
+
+const char *user_record_state_color(const char *state);
+
+void user_record_show(UserRecord *hr, bool show_full_group_info);