pe_authority_eq

Tests whether two authority objects are equivalent

Usage syntax

int pe_authority_eq (PE_AUTHORITY authority1, PE_AUTHORITY authority2);

Parameters
authority1 The first authority object
authority2 The second authority object
Description

This function tests whether two authority objects are equivalent.

Returns

On success, one; on failure, zero

Examples

int authority_test = pe_authority_eq(auth1,auth2);