X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsd_login_monitor_new.xml;h=261ef1d9d357046c534db762a7507a2c45df5f5e;hb=3ae83f9896bff49679c8a60e6ff9520557df8b16;hp=b187ad0dbe9536d2e9adf4558849be97bd5d2f3e;hpb=667c24a6a86a5a26a906b7477ae81dcf4c73e64e;p=elogind.git diff --git a/man/sd_login_monitor_new.xml b/man/sd_login_monitor_new.xml index b187ad0db..261ef1d9d 100644 --- a/man/sd_login_monitor_new.xml +++ b/man/sd_login_monitor_new.xml @@ -50,7 +50,7 @@ sd_login_monitor_get_events sd_login_monitor_get_timeout sd_login_monitor - Monitor login sessions, seats and users + Monitor login sessions, seats, users and virtual machines/containers @@ -96,23 +96,26 @@ Description sd_login_monitor_new() may - 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 seat (to get + be used to monitor login sessions, users, seats, and + virtual machines/containers. 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, seat or virtual machine/container + changes state otherwise. The first parameter takes a + string 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 + or changed), 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 the - future additional categories may be defined. The - second parameter returns a monitor object and needs to - be freed with the + logins) or machine (to get only + notifications when a virtual machine or container is + started or stopped). If notifications shall be + generated in all 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 sd_login_monitor_unref() call after use.