From 20747498c68575646fae88f4dd270fab219a25a6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Jun 2012 16:52:54 +0200 Subject: login: wrap CanTTY and CanGraphical seat attributes in libsystemd-login --- man/sd_session_is_active.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'man/sd_session_is_active.xml') diff --git a/man/sd_session_is_active.xml b/man/sd_session_is_active.xml index f9b2874541..a14286aeab 100644 --- a/man/sd_session_is_active.xml +++ b/man/sd_session_is_active.xml @@ -198,9 +198,13 @@ If the test succeeds sd_session_is_active() returns a positive integer, if it fails 0. On success + sd_session_get_state(), sd_session_get_uid(), - sd_session_get_service() and - sd_session_get_seat() return 0 or + sd_session_get_seat(), + sd_session_get_service(), + sd_session_get_type(), + sd_session_get_class() and + sd_session_get_display() return 0 or a positive integer. On failure, these calls return a negative errno-style error code. @@ -209,9 +213,13 @@ Notes The sd_session_is_active(), + sd_session_get_state(), sd_session_get_uid(), - sd_session_get_service() and - sd_session_get_seat() interfaces + sd_session_get_seat(), + sd_session_get_service(), + sd_session_get_type(), + sd_session_get_class() and + sd_session_get_display() interfaces are available as shared library, which can be compiled and linked to with the libsystemd-login -- cgit v1.2.1