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

# gss\_inquire\_names\_for\_mech(3)

API function

## NAME

gss\_inquire\_names\_for\_mech - API function

## SYNOPSIS

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

**OM\_uint32 gss\_inquire\_names\_for\_mech(OM\_uint32 \*** *minor\_status***, const gss\_OID** *mechanism***, gss\_OID\_set \*** *name\_types***);**

## ARGUMENTS

- OM\_uint32 \* minor\_status

  (Integer, modify) Mechanism specific status code.

- const gss\_OID mechanism

  (gss\_OID, read) The mechanism to be interrogated.

- gss\_OID\_set \* name\_types

  (gss\_OID\_set, modify) Set of name-types supported by\
     the specified mechanism.  The returned OID set must be freed by\
     the application after use with a call to **gss\_release\_oid\_set()**.

## DESCRIPTION

Returns the set of nametypes supported by the specified mechanism.

## 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.
