event_txt_to_val(3) DG/UX B2 Security R4.12MU02 event_txt_to_val(3)
NAME
eventtxttoval - translate an audit event name to an audeventt
SYNOPSIS
#include <audit.h>
aud_event_t event_txt_to_val (aud_event_name)
char *aud_event_name;
DESCRIPTION
eventtxttoval is used to translate the character string name of an
audit event to the corresponding internal audeventt value.
RETURN VALUE
If audeventname is defined in the auditeventdefs file,
eventtxttoval returns the corresponding audeventt value.
If audeventname is not defined in the auditeventdefs file, or if
eventtxttoval is unable to search this file, it returns
AUDETINVALIDEVENT.
SEE ALSO
auditlibrary(3), dgrunningwithaudit(3C)
Licensed material--property of copyright holder(s)