Lines Matching defs:session_get_string
544 static int session_get_string(const char *session, const char *field, char **value) {
569 return session_get_string(session, "SEAT", seat);
573 return session_get_string(session, "TTY", tty);
583 r = session_get_string(session, "VTNR", &vtnr_string);
596 return session_get_string(session, "SERVICE", service);
600 return session_get_string(session, "TYPE", type);
604 return session_get_string(session, "CLASS", class);
614 r = session_get_string(session, "DESKTOP", &escaped);
627 return session_get_string(session, "DISPLAY", display);
631 return session_get_string(session, "REMOTE_USER", remote_user);
635 return session_get_string(session, "REMOTE_HOST", remote_host);