Lines Matching defs:session_id
53 char session_id[SESSION_SIZE];
64 char session_id[SESSION_SIZE];
263 printf("%s:\n", dsession_mgr_table[index].session_id);
416 strlcpy(ck_sessions[session_num].session_id, buf,
522 find_session_in_list(char *session_id)
526 if (!session_id)
530 if (strcmp(ck_sessions[i].session_id, session_id) == 0)
610 char *session_id;
618 session_id = dsession_mgr_table[index].session_id;
636 if (strcmp(dsession_mgr_table[i].session_id, "Deleted")
639 dsession_mgr_table[i].session_id)) == -1) {
659 strlcpy(dsession_mgr_table[i].session_id,
695 if (get_sessions(session_id) == 0) {
721 strlcpy(dsession_mgr_table[index].session_id,
761 dsession_mgr_table[i].session_id)) != -1) {
772 i = get_sessions(session_id);
784 dsession_mgr_table[i].session_id)) != -1) {
803 dsession_mgr_table[i].session_id);
808 dsession_mgr_table[i].session_id);
813 if ((i == 1) && (strcmp(ck_sessions[0].session_id, session_id)
861 if ((!dsession_mgr_table[i].session_id[0]) ||
862 (get_sessions(dsession_mgr_table[i].session_id) == 0)) {
875 strlcpy(dsession_mgr_table[i].session_id,
876 ck_sessions[j].session_id, SESSION_SIZE);
883 if (strcmp(dsession_mgr_table[i].session_id, "Deleted") == 0) {
912 dsession_mgr_table[i].session_id);
915 printf("%s for device %s deleted\n", dsession_mgr_table[i].session_id,
922 dsession_mgr_table[i].session_id, basename(device));
953 if (dsession_mgr_table[index].session_id[0] &&
954 (strcmp(dsession_mgr_table[index].session_id, "Deleted")
975 strlcpy(dsession_mgr_table[index].session_id,
976 ck_sessions[i].session_id, SESSION_SIZE);
979 dsession_mgr_table[index].session_id,
1077 strlcpy(dsession_mgr_table[index].session_id, output,
1125 dsession_mgr_table[i].session_id);
1154 if (strcmp(dsession_mgr_table[i].session_id,
1155 ck_sessions[j].session_id) == 0) {
1179 ck_sessions[k].session_id,
1187 dsession_mgr_table[i].session_id);
1200 ck_sessions[j].session_id);
1205 ck_sessions[j].session_id);
1214 strlcpy(dsession_mgr_table[i].session_id,
1232 if ((strcmp(dsession_mgr_table[i].session_id,
1233 ck_sessions[j].session_id) == 0) &&
1252 dsession_mgr_table[i].session_id);
1383 if (dsession_mgr_table[i].session_id[0] &&
1384 (strcmp(dsession_mgr_table[i].session_id,
1708 dsession_mgr_table[i].session_id);