chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-bus: add missing format attribute
[elogind.git]
/
src
/
systemd
/
sd-login.h
diff --git
a/src/systemd/sd-login.h
b/src/systemd/sd-login.h
index b289ad2a593b8398dc11f9cf5d2822747299c275..24c8595064275e1d6c2ccc37960ddd797481ddb2 100644
(file)
--- a/
src/systemd/sd-login.h
+++ b/
src/systemd/sd-login.h
@@
-119,7
+119,7
@@
int sd_uid_get_sessions(uid_t uid, int require_active, char ***sessions);
/* Return seats of user is on. If require_active is true, this will look for
* active seats only. Returns the number of seats.
/* Return seats of user is on. If require_active is true, this will look for
* active seats only. Returns the number of seats.
- * If seats is NULL, this will just return the number of seats.*/
+ * If seats is NULL, this will just return the number of seats.
*/
int sd_uid_get_seats(uid_t uid, int require_active, char ***seats);
/* Return 1 if the session is active. */
int sd_uid_get_seats(uid_t uid, int require_active, char ***seats);
/* Return 1 if the session is active. */
@@
-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 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);
/* Determine the X11 display of this session. */
int sd_session_get_display(const char *session, char **display);
@@
-181,8
+184,8
@@
int sd_seat_can_graphical(const char *seat);
/* Return the class of machine */
int sd_machine_get_class(const char *machine, char **clazz);
/* Return the class of machine */
int sd_machine_get_class(const char *machine, char **clazz);
-/* Return the list if host-side network interface ind
ex
es of a machine */
-int sd_machine_get_ifind
exes(const char *machine, int **ifindex
es);
+/* Return the list if host-side network interface ind
ic
es of a machine */
+int sd_machine_get_ifind
ices(const char *machine, int **ifindic
es);
/* Get all seats, store in *seats. Returns the number of seats. If
* seats is NULL, this only returns the number of seats. */
/* Get all seats, store in *seats. Returns the number of seats. If
* seats is NULL, this only returns the number of seats. */