Lines Matching defs:session

331 get_sessions(char *session)
364 if (strcmp(session, "all") == 0)
370 session, NULL);
398 /* session id */
400 fprintf(stderr, "max session number exceeded.\n");
420 /* session body */
499 if (strcmp(session, "all") == 0)
641 * session closed, also need to verify server
692 /* delete single session */
697 * session closed, also need to verify server
771 /* add single session */
785 /* consolekit session was created */
812 /* Add single session */
815 /* consolekit session was created */
864 * no valid session id in mgr table, this is abnormal.
884 /* session already deleted */
895 /* has a user session for it, delete it first */
896 printf("warning: you are deleting a user session\n");
899 "/usr/sbin/ck-seat-tool --delete --session-id=%s",
905 printf("user session %s deleted\n",
911 "/usr/sbin/ck-seat-tool --delete --session-id=%s",
952 /* add session on existing device */
956 printf("session for device already running - not added\n");
962 * check to see if a ck session already running on
991 /* index == disp_num, and adding a new session */
992 fprintf(stderr, "add session: too many devices\n");
1034 /* add a session for new device */
1065 "/usr/sbin/ck-seat-tool -a --session-type=LoginWindow"
1163 /* found a session in mgr table with valid display */
1169 * found user session (type is not "LoginWindow")
1186 printf("session %s updated in sync\n",
1195 /* not a transferred session, delete it as it's closed */
1199 "/usr/sbin/ck-seat-tool --delete --session-id=%s",
1204 printf("session %s deleted in sync\n",
1213 /* session in mgr table, need to update entry */
1238 * corresponding session in ck table becomes open and
1239 * the user session does not exist any more
1251 printf("session %s updated in sync\n",