summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2022-11-10 13:34:19 +0100
committerRobert Nagy <robert@openbsd.org>2022-11-10 13:34:19 +0100
commit176c841a6559b97734065b0f125e5cba04f15858 (patch)
tree765d77eb83af0b1cf2e3e7c5c7dbb05e3ece16c7
parentf4ac61f5fe2632f30a7ef2125cbea1d281571bfc (diff)
downloadConsoleKit2-176c841a6559b97734065b0f125e5cba04f15858.tar.gz
add sd_session_get_service() to the compat headerHEADmaster
-rw-r--r--libconsolekit/sd-login.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libconsolekit/sd-login.h b/libconsolekit/sd-login.h
index 232598b..7a4a7a8 100644
--- a/libconsolekit/sd-login.h
+++ b/libconsolekit/sd-login.h
@@ -5,6 +5,7 @@ int sd_session_get_seat(const char *session, char **seat);
int sd_session_get_type(const char *session, char **type);
int sd_session_get_state(const char *session, char **state);
int sd_session_get_uid(const char *session, uid_t *uid);
+int sd_session_get_service(const char *session, char **service);
int sd_pid_get_session(pid_t pid, char **session);