| 1 |
.TH "AUPARSE_NORMALIZE" "3" "Feb 2017" "Red Hat" "Linux Audit API" |
| 2 |
.SH NAME |
| 3 |
auparse_normalize \- normalize the current event |
| 4 |
.SH "SYNOPSIS" |
| 5 |
.B #include <auparse.h> |
| 6 |
.sp |
| 7 |
.BI "int auparse_normalize(auparse_state_t *" au, normalize_option_t" opt);" |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
|
| 11 |
.B auparse_normalize |
| 12 |
analyzes the current event so that the important information about the event can be accessed through a normalized API which positions to internal field cursor to the exact record and field when asked about specific information. |
| 13 |
|
| 14 |
The auparse_normalize function takes an opt argument to tell it how much information to gather. Legal values are: |
| 15 |
|
| 16 |
.nf |
| 17 |
NORM_OPT_ALL - gather maximum information |
| 18 |
NORM_OPT_NO_ATTRS - do not gather subject/object attribute information |
| 19 |
.fi |
| 20 |
|
| 21 |
|
| 22 |
.SH "RETURN VALUE" |
| 23 |
|
| 24 |
Returns 0 on success and 1 on error. |
| 25 |
|
| 26 |
.SH "SEE ALSO" |
| 27 |
|
| 28 |
.BR auparse_normalize_subject_primary (3) , |
| 29 |
.BR auparse_normalize_object_primary (3). |
| 30 |
|
| 31 |
.SH AUTHOR |
| 32 |
Steve Grubb |