Lines Matching refs:session_get_string
522 static int session_get_string(const char *session, const char *field, char **value) { in session_get_string() function
546 return session_get_string(session, "SEAT", seat); in sd_session_get_seat()
550 return session_get_string(session, "TTY", tty); in sd_session_get_tty()
560 r = session_get_string(session, "VTNR", &vtnr_string); in sd_session_get_vt()
573 return session_get_string(session, "SERVICE", service); in sd_session_get_service()
577 return session_get_string(session, "TYPE", type); in sd_session_get_type()
581 return session_get_string(session, "CLASS", class); in sd_session_get_class()
591 r = session_get_string(session, "DESKTOP", &escaped); in sd_session_get_desktop()
602 return session_get_string(session, "DISPLAY", display); in sd_session_get_display()
606 return session_get_string(session, "REMOTE_USER", remote_user); in sd_session_get_remote_user()
610 return session_get_string(session, "REMOTE_HOST", remote_host); in sd_session_get_remote_host()