X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsystemd%2Fsd-login.h;h=64b882724c00fe224deb877a20ff4a49e84a0f99;hb=0c124f8b2c93d2c7d6eefca3bdc59b28250fc077;hp=1eb3be30b53f454a5527fe174e314e942040ed1f;hpb=634af5665fda8776d22624d947c8de830e30a874;p=elogind.git diff --git a/src/systemd/sd-login.h b/src/systemd/sd-login.h index 1eb3be30b..64b882724 100644 --- a/src/systemd/sd-login.h +++ b/src/systemd/sd-login.h @@ -147,6 +147,9 @@ int sd_session_get_type(const char *session, char **type); /* Determine the class of this session, i.e. one of "user", "greeter" or "lock-screen". */ int sd_session_get_class(const char *session, char **clazz); +/* Determine the desktop brand of this session, i.e. something like "GNOME", "KDE" or "systemd-console". */ +int sd_session_get_desktop(const char *session, char **desktop); + /* Determine the X11 display of this session. */ int sd_session_get_display(const char *session, char **display);