gss_add_oid_set_member(3)gss_add_oid_set_member(3)NAMEgss_add_oid_set_member - Construct a set of OISDs.
SYNOPSIS
#include <gssapi/gssapi.h>
OM_uint32 gss_add_oid_set_member(
OM_uint32 * minor_status,
const gss_OID member_oid,
gss_OID_set * oid_set );
PARAMETERS
Kerberos 5 error code. The object identifier (OID) that is copied into
the set. The OID set where the object identifier is inserted.
Storage associated with the OID set and its contents must be
freed after use by the application with a call to
gss_release_oid_set().
DESCRIPTION
The gss_add_oid_set_member() function adds an object identifier to an
OID set. Use this function to construct the set of OIDs for Kerberos 5
that is input to gss_acquire_cred().
This function copies the OID contained in the member_oid parameter into
the OID set, expanding the storage allocated to the set if necessary.
If the new OID is already present in the OID set, the OID set remains
unchanged. The OID set must first be created by gss_cre‐
ate_empty_oid_set().
RETURN VALUES
GSS_S_CALL_INACCESSIBLE_READ 01xxxxxx
GSS_S_CALL_INACCESSIBLE_WRITE 02xxxxxx
GSS_S_COMPLETE 00000000
GSS_S_FAILURE xx0Dxxxx
SEE ALSO
Functions: gss_acquire_cred(3), gss_create_empty_oid_set(3),
gss_release_oid_set(3), gss_test_oid_set_member(3)gss_add_oid_set_member(3)