1AUPARSE_NEW_BUFFER(3)           Linux Audit API          AUPARSE_NEW_BUFFER(3)
2
3
4

NAME

6       auparse_new_buffer - replace the buffer in the parser
7

SYNOPSIS

9       #include <auparse.h>
10
11       int auparse_new_buffer(auparse_state_t *au, const char *data, size_t data_len);
12
13
14       au     The audit parse state
15
16       data   a  buffer  of  data  to give to the parser, it is data_len bytes
17              long. The data is copied in the parser, upon return  the  caller
18              may free or reuse the data buffer.
19
20       data_len
21              number of bytes in data
22
23

DESCRIPTION

25       auparse_new_buffer   replaces  the  data  that  the  parser  works  on.
26       auparse_init()  must  have  been  called  with   a   source   type   of
27       AUSOURCE_BUFFER.
28
29

RETURN VALUE

31       Returns 1 if an error occurs; otherwise, 0 for success.
32
33

SEE ALSO

35       auparse_init(3)
36
37
38
39
40Red Hat                            Feb 2021              AUPARSE_NEW_BUFFER(3)
Impressum