---
name: "gss_create_empty_oid_set"
section: "3"
platform: "linux"
package: "gss-man"
version: "1.0.4-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gss_create_empty_oid_set"
---

# gss\_create\_empty\_oid\_set(3)

API function

## NAME

gss\_create\_empty\_oid\_set - API function

## SYNOPSIS

**#include \<gss.h\>**

**OM\_uint32 gss\_create\_empty\_oid\_set(OM\_uint32 \*** *minor\_status***, gss\_OID\_set \*** *oid\_set***);**

## ARGUMENTS

- OM\_uint32 \* minor\_status

  (integer, modify) Mechanism specific status code.

- gss\_OID\_set \* oid\_set

  (Set of Object IDs, modify) The empty object identifier\
     set.  The routine will allocate the gss\_OID\_set\_desc object,\
     which the application must free after use with a call to\
     **gss\_release\_oid\_set()**.

## DESCRIPTION

Create an object-identifier set containing no object identifiers, to which members may be subsequently added using the **gss\_add\_oid\_set\_member()** routine.  These routines are intended to be used to construct sets of mechanism object identifiers, for input to gss\_acquire\_cred.

## RETURN VALUE

\`GSS\_S\_COMPLETE\`: Successful completion.

## REPORTING BUGS

Report bugs to \<bug-gss@gnu.org\>. GNU Generic Security Service home page: http://www.gnu.org/software/gss/ General help using GNU software: http://www.gnu.org/gethelp/

## COPYRIGHT

Copyright © 2003-2022 Simon Josefsson.\
 Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

## SEE ALSO

The full documentation for **gss** is maintained as a Texinfo manual.  If the **info** and **gss** programs are properly installed at your site, the command

-

  **info gss**

should give you access to the complete manual.
