Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cs_oid_set_insert(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Functions:  cs_oid_in_set(3)

cs_oid_set_free(3)

gss_add_oid_set_member(3)

cs_oid_set_insert(3)  —  Subroutines

NAME

cs_oid_set_insert − insert an object identifier (OID) into an OID set

SYNOPSIS

#include <gssapi/gssapi.h>
cs_oid_set_t cs_oid_set_insert(
        const cs_oid_t aOid,
        const cs_oid_set_t aSet );

PARAMETERS

aOidThe OID to add in the set. 

aSetThe OID set to which to add the OID. Pass NULL to create a new set. 

DESCRIPTION

The cs_oid_set_insert() function adds an OID to an OID set. The OID is inserted if it is not already in the set. 

If the set does not exist (NULL passed for the set), a new set is created. Resources associated with the new OID set must be released by the application after use with a call to cs_oid_set_free(). 

RETURN VALUES

The function returns the resulting OID set. The function returns NULL if there is a memory allocation error. 

PORTABILITY CONSIDERATIONS

This function is an extension of the GSS-API standard that is not supported by other GSS-API implementations. 

For GSS-API v2 compliance, use the function gss_add_oid_set_member() instead of this function. 

SEE ALSO

Functions:  cs_oid_in_set(3), cs_oid_set_free(3), gss_add_oid_set_member(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026