]> git.ipfire.org Git - thirdparty/shadow.git/commit
libmisc: implement `active_sessions_count()`
authorIker Pedrosa <ipedrosa@redhat.com>
Wed, 19 Jul 2023 09:02:55 +0000 (11:02 +0200)
committerSerge Hallyn <serge@hallyn.com>
Wed, 2 Aug 2023 15:13:28 +0000 (10:13 -0500)
commitede0665a5a2aca27eb2c97f6ba756d3164442341
tree8b9ac5f3d883efdfd982049852b2cd6146a2dead
parent1f368e1c1838de9d476a36897d7c53394569de08
libmisc: implement `active_sessions_count()`

Implement `active_sessions_count()` in `utmp.c` and `logind.c`.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
lib/prototypes.h
libmisc/logind.c
libmisc/utmp.c