diff options
author | 2016-01-20 01:10:01 +0000 | |
---|---|---|
committer | 2016-01-20 01:10:11 +0000 | |
commit | 19d701ddf07d855128ded0cf2b573ce468e3bdd6 (patch) | |
tree | 0edcd3461ca903c76e431bb7c6348c42a0f12488 /framework/src/audit/auparse/rnode.h | |
parent | fac6fbefbfad1cf837ddd88bc0d330559c8eb6f9 (diff) |
Removing Suricata and Audit from source repo, and updated build.sh to avoid building suricata. Will re-address this in C release via tar balls.
Change-Id: I3710076f8b7f3313cb3cb5260c4eb0a6834d4f6e
Signed-off-by: Ashlee Young <ashlee@wildernessvoice.com>
Diffstat (limited to 'framework/src/audit/auparse/rnode.h')
-rw-r--r-- | framework/src/audit/auparse/rnode.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/framework/src/audit/auparse/rnode.h b/framework/src/audit/auparse/rnode.h deleted file mode 100644 index 2c871c95..00000000 --- a/framework/src/audit/auparse/rnode.h +++ /dev/null @@ -1,63 +0,0 @@ - -/* rnode.h -- - * Copyright 2007 Red Hat Inc., Durham, North Carolina. - * All Rights Reserved. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * - * Authors: - * Steve Grubb <sgrubb@redhat.com> - */ - -#ifndef RNODE_HEADER -#define RNODE_HEADER - -/* This is the node of the linked list. Any data elements that are - * per item goes here. */ -typedef struct _nvnode{ - char *name; // The name string - char *val; // The value field - char *interp_val; // The value field interpretted - unsigned int item; // Which item of the same event - struct _nvnode* next; // Next nvpair node pointer -} nvnode; - -/* This is the linked list head. Only data elements that are 1 per - * event goes here. */ -typedef struct { - nvnode *head; // List head - nvnode *cur; // Pointer to current node - unsigned int cnt; // How many items in this list -} nvlist; - - -/* This is the node of the linked list. Any data elements that are per - * * item goes here. */ -typedef struct _rnode{ - char *record; // The whole unparsed record - int type; // record type (KERNEL, USER, LOGIN, etc) - int machine; // The machine type for the event - int syscall; // The syscall for the event - unsigned long long a0; // arg 0 to the syscall - unsigned long long a1; // arg 1 to the syscall - nvlist nv; // name-value linked list of parsed elements - unsigned int item; // Which item of the same event - int list_idx; // The index into the source list, points to where record was found - unsigned int line_number; // The line number where record was found - struct _rnode* next; // Next record node pointer -} rnode; - -#endif - |