Lines Matching defs:qop
43 static const char QOP_NUM_FILE[] = "/etc/gss/qop";
50 * This routine fetches qop and num from "/etc/gss/qop".
55 * we don't expect the qop file to be changed and reread often.
71 if (!qop_num_pairs[0].qop) {
110 qopname = name; /* will contain qop name */
118 qop_num_pairs[qop_num_pair_cnt].qop = strdup(name);
119 if (qop_num_pairs[qop_num_pair_cnt].qop == NULL)
126 free(qop_num_pairs[qop_num_pair_cnt].qop);
140 free(qop_num_pairs[qop_num_pair_cnt].qop);
150 free(qop_num_pairs[qop_num_pair_cnt].qop);
165 char *qop,
176 if (qop == NULL || strlen(qop) == 0 ||
177 strcasecmp(qop, Q_DEFAULT) == 0) {
187 (strcasecmp(qop, qop_num_pairs[i].qop) == 0)) {
200 char **qop
206 if (!qop)
208 *qop = NULL;
211 *qop = Q_DEFAULT;
224 *qop = qop_num_pairs[i].qop;
232 * For a given mechanism pass back qop information about it in a buffer
259 qops[cnt++] = qop_num_pairs[i].qop;
267 * Copy the qop values and names for the mechanism back in a qop_num