/*
 * C wrapper functions for VMS persona services (6.2 or higher).  The
 * persona_authenticate routine validates the username against the SYSUAF
 * using the password.
 *
 * typedef long persona;
 *
 * int persona_authenticate ( char *user, char *pwd, persona *pers );
 * int persona_create ( char *user, persona *pers );
 * int persona_assume ( persona * );
 * int persona_revert ( );
 * int persona_delete ( persona * );
 */
typedef long persona;
int persona_create ( char *username, persona *new_persona );
int persona_assume ( persona *target_persona );
int persona_delete ( persona *target_persona );
int persona_revert ( );		/* assume orignal persona */
int persona_authenticate ( char *user, char *pwd, persona *new_persona );
