X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fsd_login_monitor_new.xml;h=35cb6b368b28ab326210c9f645d37a0c1abbee55;hp=de484329a9900c794489d891804c3d08787452f9;hb=b37844d3d72af3afbcb801476cf07c085519f392;hpb=19c5f19d69bb5f520fa7213239490c55de06d99d diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index de484329a..35cb6b368 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -8,16 +8,16 @@ Copyright 2010 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> @@ -47,6 +47,7 @@ sd_login_monitor_unref sd_login_monitor_flush sd_login_monitor_get_fd + sd_login_monitor Monitor login sessions, seats and users @@ -82,20 +83,20 @@ Description sd_login_monitor_new() may - be used to monitor login session, users and seats. Via + be used to monitor login sessions, users and seats. Via a monitor object a file descriptor can be integrated into an application defined event loop which is woken up each time a user logs in, logs out or a seat is added or removed, or a session, user, or seat changes state otherwise. The first parameter takes a string - which can be either seat (to get + which can be seat (to get only notifications about seats being added, removed or changed), session (to get only notifications about sessions being created or removed or changed) or uid (to get only notifications when a user changes state in respect to logins). If notifications shall be generated in all - these conditions, NULL may be passed. Note that in + these conditions, NULL may be passed. Note that in the future additional categories may be defined. The second parameter returns a monitor object and needs to be freed with the @@ -164,7 +165,7 @@ systemd1, - sd-login7, + sd-login3, sd_get_seats3