Lines Matching defs:oid
40 * (i.e. the mech oid and mech name will not be updated)
123 gss_release_oid(minor_status, oid)
125 gss_OID *oid;
154 minor_status, oid);
162 return (generic_gss_release_oid(minor_status, oid));
167 * this function will return an oid set indicating available mechanisms.
173 * a mech oid set, and only update it once the file has changed.
239 /* if the oid list already exists we must free it first */
269 /* now copy each oid element */
320 /* allocate space for the oid structures */
331 /* now copy the oid structures */
337 /* still need to copy each of the oid elements arrays */
370 __gss_get_modOptions(oid)
371 const gss_OID oid;
382 if ((aMech = searchMechList(oid)) == NULL ||
405 __gss_get_kmodName(oid)
406 const gss_OID oid;
417 if ((aMech = searchMechList(oid)) == NULL || aMech->kmodName == NULL) {
435 * given a mechanism string return the mechanism oid
438 __gss_mech_to_oid(const char *mechStr, gss_OID* oid)
442 if (oid == NULL)
445 *oid = GSS_C_NULL_OID;
462 *oid = aMech->mech_type;
472 * Given the mechanism oid, return the readable mechanism name
473 * associated with that oid from the mech config file
477 __gss_oid_to_mech(const gss_OID oid)
481 if (oid == GSS_C_NULL_OID)
489 if ((aMech = searchMechList(oid)) == NULL)
560 __gss_get_mechanism(oid)
561 const gss_OID oid;
568 if ((aMech = searchMechList(oid)) != NULL && aMech->mech) {
579 aMech = searchMechList(oid);
628 __gss_get_mechanism_ext(oid)
629 const gss_OID oid;
635 if ((aMech = searchMechList(oid)) != NULL && aMech->mech_ext != NULL)
638 if (__gss_get_mechanism(oid) == NULL)
685 static gss_mech_info searchMechList(oid)
686 const gss_OID oid;
690 /* if oid is null -> then get default which is the first in the list */
691 if (oid == GSS_C_NULL_OID)
695 if (g_OID_equal(aMech->mech_type, oid))
714 char buffer[BUFSIZ], *oidStr, *oid, *sharedLib, *kernMod, *endp;
740 for (oid = buffer; *oid && !isspace(*oid); oid++);
743 if (*oid) {
744 *oid = '\0';
745 oid++;
746 while (*oid && isspace(*oid))
747 oid++;
753 if (! *oid)
756 /* Find the end of the oid and make sure it is NULL-ended */
757 for (endp = oid; *endp && !isspace(*endp); endp++)
765 * check if an entry for this oid already exists
769 oidBuf.value = (void *)oid;
770 oidBuf.length = strlen(oid);
773 (void) syslog(LOG_INFO, "invalid mechanism oid"
774 " [%s] in configuration file", oid);
889 /* the oid is already set */