File: auparse_get_node.3

package info (click to toggle)
audit 1:2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-backports, jessie-kfreebsd
  • size: 5,308 kB
  • ctags: 5,589
  • sloc: ansic: 47,383; sh: 11,886; python: 1,949; makefile: 824
file content (25 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH "AUPARSE_GET_NODE" "3" "Sept 2007" "Red Hat" "Linux Audit API"
.SH NAME
auparse_get_node \- get the event's machine node name
.SH "SYNOPSIS"
.B #include <auparse.h>
.sp
const char *auparse_get_node(auparse_state_t *au);

.SH "DESCRIPTION"

auparse_get_node gets the machine's node name if it exists in the audit event from the current event's timestamp data structure. Not all records have node names since its an admin configurable option.

.SH "RETURN VALUE"

Returns a copy of the node name or NULL if it does not exist or there was an error. The caller must free the string.

.SH "SEE ALSO"

.BR auparse_get_timestamp (3), 
.BR auparse_get_time (3), 
.BR auparse_get_milli (3).
.BR auparse_get_serial (3).

.SH AUTHOR
Steve Grubb