Lines Matching refs:level
126 krb5_check_prot(void *app_data, int level) in krb5_check_prot() argument
129 if(level == PROT_CONFIDENTIAL) in krb5_check_prot()
136 int level UNUSED_PARAM, in krb5_decode()
143 (void)level; in krb5_decode()
160 krb5_encode(void *app_data, const void *from, int length, int level, void **to) in krb5_encode() argument
174 level == PROT_PRIVATE, in krb5_encode()
398 unsigned char level; member
412 return level_names[i].level; in name_to_level()
418 static char level_to_char(int level) in level_to_char() argument
420 switch(level) { in level_to_char()
703 char *buffer, enum protection_level level) in Curl_sec_read_msg() argument
719 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in Curl_sec_read_msg()
732 (int)level, conn); in Curl_sec_read_msg()
762 unsigned char level = conn->request_data_prot; in sec_set_protection_level() local
764 DEBUGASSERT(level > PROT_NONE && level < PROT_LAST); in sec_set_protection_level()
773 if(conn->data_prot == level) in sec_set_protection_level()
776 if(level) { in sec_set_protection_level()
804 code = ftp_send_command(data, "PROT %c", level_to_char(level)); in sec_set_protection_level()
814 conn->data_prot = level; in sec_set_protection_level()
815 if(level == PROT_PRIVATE) in sec_set_protection_level()
816 conn->command_prot = level; in sec_set_protection_level()
822 Curl_sec_request_prot(struct connectdata *conn, const char *level) in Curl_sec_request_prot() argument
824 unsigned char l = name_to_level(level); in Curl_sec_request_prot()