auparse_init man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

AUPARSE_INIT(3)			Linux Audit API		       AUPARSE_INIT(3)

NAME
       auparse_init - initialize an instance of the audit parsing library

SYNOPSIS
       #include <auparse.h>

       auparse_state_t *auparse_init(ausource_t source, const void *b);

DESCRIPTION
       auparse_init  initializes an instance of the audit parsing library. The
       function returns an opaque pointer to the parser's internal  state.  It
       is  used	 in  subsequent	 calls	to the library so. The source variable
       determines where the library looks for data. Legal values can be:

	    AUSOURCE_LOGS - use audit logs
	    AUSOURCE_FILE - use a file
	    AUSOURCE_FILE_ARRAY - use several files
	    AUSOURCE_BUFFER - use a buffer
	    AUSOURCE_BUFFER_ARRAY - use an array of buffers
	    AUSOURCE_DESCRIPTOR - use a particular descriptor
	    AUSOURCE_FILE_POINTER - use a stdio FILE pointer
	    AUSOURCE_FEED - feed data to parser with auparse_feed()

       The pointer 'b' is used to set the file name, array of  filenames,  the
       buffer  address,	 or an array of pointers to buffers, or the descriptor
       number based on what source is given. When the data source is an	 array
       of  files  or  buffers,	you would create an array of pointers with the
       last one being a NULL pointer. Buffers should be NUL terminated.

RETURN VALUE
       Returns a NULL pointer if an error occurs; otherwise, the return	 value
       is an aopaque pointer to the parser's internal state.

SEE ALSO
       auparse_reset(3), auparse_destroy(3).  auparse_feed(3).

AUTHOR
       Steve Grubb

Red Hat				   Feb 2007		       AUPARSE_INIT(3)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net