Lines Matching defs:delete
621 if (strcmp(type, "delete") == 0) {
627 /* delete all sessions, only when called from fini() */
692 /* delete single session */
895 /* has a user session for it, delete it first */
899 "/usr/sbin/ck-seat-tool --delete --session-id=%s",
911 "/usr/sbin/ck-seat-tool --delete --session-id=%s",
1096 fprintf(stderr, "failed to delete dsession for %s\n",
1102 if (!verify_and_set("delete", i)) {
1195 /* not a transferred session, delete it as it's closed */
1199 "/usr/sbin/ck-seat-tool --delete --session-id=%s",
1294 fprintf(stderr, "failed to delete dsession for %s\n",
1303 if (verify_and_set("delete", ALL))
1386 fprintf(stderr, "need to delete all sessions "
1558 " -d or --delete <dev>\tDelete a dsession running on <dev>\n"
1565 " -f or --fini\t\tFinish: delete all dsessions\n"
1596 Bool delete = FALSE;
1637 (strcmp("--delete", argv[1]) == 0))
1638 delete = TRUE;
1657 if ((argc == 3) && (add || delete || restart || list_all || list_dev)) {
1658 if (add || delete || restart || list_dev) {
1716 } else if (delete) {
1718 fprintf(stderr, "failed to delete dsession for %s\n",
1723 if (verify_and_set("delete", i))