sd-login.h | sd-login.h | |||
---|---|---|---|---|
skipping to change at line 86 | skipping to change at line 86 | |||
/* Determine user id of session */ | /* Determine user id of session */ | |||
int sd_session_get_uid(const char *session, uid_t *uid); | int sd_session_get_uid(const char *session, uid_t *uid); | |||
/* Determine seat of session */ | /* Determine seat of session */ | |||
int sd_session_get_seat(const char *session, char **seat); | int sd_session_get_seat(const char *session, char **seat); | |||
/* Return active session and user of seat */ | /* Return active session and user of seat */ | |||
int sd_seat_get_active(const char *seat, char **session, uid_t *uid); | int sd_seat_get_active(const char *seat, char **session, uid_t *uid); | |||
/* Return sessions and users on seat. Returns number of sessions as | /* Return sessions and users on seat. Returns number of sessions as | |||
* return value. If sessions is NULL returs only the number of | * return value. If sessions is NULL returns only the number of | |||
* sessions. */ | * sessions. */ | |||
int sd_seat_get_sessions(const char *seat, char ***sessions, uid_t **uid, u nsigned *n_uids); | int sd_seat_get_sessions(const char *seat, char ***sessions, uid_t **uid, u nsigned *n_uids); | |||
/* Return whether the seat is multi-session capable */ | /* Return whether the seat is multi-session capable */ | |||
int sd_seat_can_multi_session(const char *seat); | int sd_seat_can_multi_session(const char *seat); | |||
/* Get all seats, store in *seats. Returns the number of seats. If | /* Get all seats, store in *seats. Returns the number of seats. If | |||
* seats is NULL only returns number of seats. */ | * seats is NULL only returns number of seats. */ | |||
int sd_get_seats(char ***seats); | int sd_get_seats(char ***seats); | |||
/* Get all sessions, store in *seessions. Returns the number of | /* Get all sessions, store in *sessions. Returns the number of | |||
* sessions. If sessions is NULL only returns number of sessions. */ | * sessions. If sessions is NULL only returns number of sessions. */ | |||
int sd_get_sessions(char ***sessions); | int sd_get_sessions(char ***sessions); | |||
/* Get all logged in users, store in *users. Returns the number of | /* Get all logged in users, store in *users. Returns the number of | |||
* users. If users is NULL only returns the number of users. */ | * users. If users is NULL only returns the number of users. */ | |||
int sd_get_uids(uid_t **users); | int sd_get_uids(uid_t **users); | |||
/* Monitor object */ | /* Monitor object */ | |||
typedef struct sd_login_monitor sd_login_monitor; | typedef struct sd_login_monitor sd_login_monitor; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||