Reference

gss_copy_oid(3)

API function

NAME

gss_copy_oid - API function

SYNOPSIS

#include <gss.h>

OM_uint32 gss_copy_oid(OM_uint32 * minor_status, const gss_OID src_oid, gss_OID dest_oid);

ARGUMENTS

OM_uint32 * minor_status

(integer, modify) Mechanism specific status code.

const gss_OID src_oid

(Object ID, read) The object identifier to copy.

gss_OID dest_oid

(Object ID, modify) The resultant copy of src_oid.
Storage associated with this name must be freed by the
application, but gss_release_oid() cannot be used generally as it
deallocate the the oid structure itself too (use
gss_duplicate_oid() if you don't want this problem.)

DESCRIPTION

Make an exact copy of the given OID, that shares no memory areas with the original.

WARNING: This function is a GNU GSS specific extension, and is not part of the official GSS API.

Return value:

`GSS_S_COMPLETE`: Successful completion.

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

Copyright © 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.

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.

History