cs_oid_cmp(3) — Subroutines
NAME
cs_oid_cmp − compare two object identifiers (OIDs)
SYNOPSIS
#include <gssapi/gssapi.h>
int cs_oid_cmp(
const cs_oid_t oid1,
const cs_oid_t oid2 );
PARAMETERS
oid1The first OID in the comparison.
oid2The second OID in the comparison.
DESCRIPTION
The cs_oid_cmp() function compares two OIDs and returns an integer that indicates whether the two OIDs are equal.
A NULL value may be passed as either or both parameters. Two NULL pointers are equal.
RETURN VALUES
The function returns 0 if the OIDs are not equal; the function returns 1 if the OIDs are equal.
PORTABILITY CONSIDERATIONS
This function is an extension of the GSS-API standard that is not supported by other GSS-API implementations.