Man page - ausearch_set_stop(3)
Packages contas this manual
- auparse_node_compare(3)
- auparse_new_buffer(3)
- auparse_get_time(3)
- ausearch_clear(3)
- auparse_normalize_functions(3)
- auparse_find_field(3)
- auparse_reset(3)
- auparse_get_field_type(3)
- auparse_set_eoe_timeout(3)
- auparse_get_milli(3)
- auparse_first_field(3)
- auparse_flush_feed(3)
- auparse_find_field_next(3)
- auparse_goto_field_num(3)
- auparse_destroy(3)
- auparse_get_serial(3)
- ausearch_next_event(3)
- ausearch_add_timestamp_item_ex(3)
- auparse_feed_has_data(3)
- auparse_get_node(3)
- auparse_get_type_name(3)
- auparse_get_field_name(3)
- auparse_get_record_num(3)
- auparse_normalize(3)
- auparse_next_record(3)
- auparse_goto_record_num(3)
- ausearch_add_timestamp_item(3)
- auparse_get_filename(3)
- auparse_init(3)
- auparse_add_callback(3)
- auparse_set_escape_mode(3)
- auparse_get_field_int(3)
- auparse_get_timestamp(3)
- auparse_get_field_num(3)
- ausearch_add_expression(3)
- auparse_next_field(3)
- auparse_get_record_text(3)
- ausearch_add_item(3)
- auparse_next_event(3)
- auparse_get_num_fields(3)
- ausearch_set_stop(3)
- auparse_feed(3)
- auparse_feed_age_events(3)
- auparse_get_line_number(3)
- auparse_interpret_field(3)
- ausearch_add_interpreted_item(3)
- ausearch_cur_event(3)
- ausearch_add_regex(3)
- auparse_first_record(3)
- auparse_get_num_records(3)
- auparse_get_field_str(3)
- auparse_metrics(3)
- auparse_get_type(3)
- auparse_timestamp_compare(3)
Package: libauparse-dev
apt-get install libauparse-dev
apt-get install libauparse-dev
Manuals in package:
Documentations in package:
Manual
| AUSEARCH_SET_STOP(3) | Linux Audit API | AUSEARCH_SET_STOP(3) |
NAME
ausearch_set_stop - set the cursor position
SYNOPSIS
#include <auparse.h>
int ausearch_set_stop(auparse_state_t *au, austop_t where);
DESCRIPTION
ausearch_set_stop determines where the internal cursor will stop when a search condition is met. The possible values are:
- AUSEARCH_STOP_EVENT
- This one repositions the cursors to the first field of the first record of the event containing the items searched for.
- AUSEARCH_STOP_RECORD
- This one repositions the cursors to the first field of the record containing the items searched for.
- AUSEARCH_STOP_FIELD
- This one simply stops on the current field when the evaluation of the rules becomes true.
RETURN VALUE
Returns -1 if an error occurs; otherwise, 0 for success.
SEE ALSO
ausearch_add_item(3), ausearch_add_regex(3), ausearch_clear(3), ausearch_cur_event(3), ausearch_next_event(3).
AUTHOR
Steve Grubb
| Feb 2007 | Red Hat |