From 295c1a6e456936960d7190f94ff0c1eb51102f33 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 5 Aug 2019 18:21:49 +0200 Subject: shared: add helpers for displaying new-style user/group records to users --- src/shared/user-record-show.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/shared/user-record-show.h (limited to 'src/shared/user-record-show.h') 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); -- cgit v1.2.3