include/parsec/aud.h#
Structures and Types Documentation#
typedef aud_entry_flags_t
#
typedef uint32_t aud_entry_flags_t;
typedef aud_entry_id_t
#
typedef uint32_t aud_entry_id_t;
typedef aud_entry_t
#
typedef struct __aud_entry* aud_entry_t;
typedef aud_entry_type_t
#
typedef uint8_t aud_entry_type_t;
typedef aud_t
#
typedef struct __aud* aud_t;
Functions Documentation#
function aud_cmp
#
int aud_cmp (
aud_t a,
aud_t b
)
function aud_copy
#
int aud_copy (
aud_t aud,
aud_t src
)
function aud_copy_entry
#
int aud_copy_entry (
aud_entry_t dst,
aud_entry_t str
)
function aud_copy_ext
#
ssize_t aud_copy_ext (
void *buf,
aud_t aud,
size_t size
)
function aud_copy_int
#
aud_t aud_copy_int (
const void *buf
)
function aud_create_entry
#
int aud_create_entry (
aud_t aud,
aud_entry_t *
)
function aud_delete_entry
#
int aud_delete_entry (
aud_entry_t
)
function aud_dup
#
aud_t aud_dup (
aud_t
)
function aud_entries
#
int aud_entries (
aud_t
)
function aud_free
#
void aud_free (
aud_t aud
)
function aud_from_text
#
int aud_from_text (
aud_t aud,
const char *text
)
function aud_get_failed
#
aud_entry_flags_t aud_get_failed (
aud_entry_t
)
function aud_get_fd
#
aud_t aud_get_fd (
int fd
)
function aud_get_fd_default
#
aud_t aud_get_fd_default (
int fd
)
function aud_get_file
#
aud_t aud_get_file (
const char *path
)
function aud_get_file_default
#
aud_t aud_get_file_default (
const char *path
)
function aud_get_id
#
aud_entry_id_t aud_get_id (
aud_entry_t
)
function aud_get_pid
#
aud_t aud_get_pid (
pid_t
)
function aud_get_proc
#
static inline aud_t aud_get_proc (
void
)
function aud_get_successed
#
aud_entry_flags_t aud_get_successed (
aud_entry_t
)
function aud_get_type
#
aud_entry_type_t aud_get_type (
aud_entry_t
)
function aud_init
#
aud_t aud_init (
int type
)
function aud_next_entry
#
aud_entry_t aud_next_entry (
aud_t,
aud_entry_t entry
)
function aud_set_failed
#
int aud_set_failed (
aud_entry_t,
aud_entry_flags_t failed
)
function aud_set_fd
#
int aud_set_fd (
int fd,
aud_t
)
function aud_set_file
#
int aud_set_file (
const char *path,
aud_t
)
function aud_set_id
#
int aud_set_id (
aud_entry_t,
aud_entry_id_t id
)
function aud_set_pid
#
int aud_set_pid (
pid_t pid,
aud_t
)
function aud_set_proc
#
static inline int aud_set_proc (
aud_t aud
)
function aud_set_successed
#
int aud_set_successed (
aud_entry_t,
aud_entry_flags_t successed
)
function aud_set_type
#
int aud_set_type (
aud_entry_t,
aud_entry_type_t type
)
function aud_size
#
ssize_t aud_size (
aud_t aud
)
function aud_to_text
#
char * aud_to_text (
aud_t aud,
ssize_t *size,
int flags
)
function aud_to_wtext
#
wchar_t * aud_to_wtext (
aud_t mac,
ssize_t *size,
int flags
)
function aud_type
#
int aud_type (
aud_t
)
function aud_valid
#
int aud_valid (
aud_t
)
Macros Documentation#
define AUD_FILE_ANY
#
#define AUD_FILE_ANY FILE_AUDIT_ANY
define AUD_FILE_GID
#
#define AUD_FILE_GID FILE_AUDIT_GID
define AUD_FILE_UID
#
#define AUD_FILE_UID FILE_AUDIT_UID
define AUD_FMT_LONG
#
#define AUD_FMT_LONG 1
define AUD_FMT_NUM
#
#define AUD_FMT_NUM 0
define AUD_FMT_TXT
#
#define AUD_FMT_TXT 0x100
define AUD_TYPE_FILE
#
#define AUD_TYPE_FILE 0x1
define AUD_TYPE_FILE_DEFAULT
#
#define AUD_TYPE_FILE_DEFAULT 0x3
define AUD_TYPE_PROC
#
#define AUD_TYPE_PROC 0x0