pe_authority_clone

Creates a new authority from an existing one

Usage syntax

PE_AUTHORITY pe_authority_clone (PE_AUTHORITY authority);

Parameters
authority The authority object
Description

Pe_authority_clone creates a duplicate authority from an existing authority object.

Returns

On success, the new authority; on failure, a null pointer

Examples

PE_AUTHORITY auth_new = pe_authority_clone(auth1);