* Copyright 2007,2016-17,21 Red Hat Inc.
* 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
#define NFIELDS 36
* per field goes here. */
typedef struct _nvnode{
char *name;
char *val;
char *interp_val;
unsigned int item;
} nvnode;
typedef struct {
nvnode *array;
unsigned int cur;
unsigned int cnt;
unsigned int size;
char *record;
char *end;
} nvlist;
* record goes here. */
typedef struct _rnode{
char *record;
char *interp;
const char *cwd;
int type;
int machine;
int syscall;
unsigned long long a0;
unsigned long long a1;
nvlist nv;
unsigned int item;
int list_idx;
unsigned int line_number;
struct _rnode* next;
} rnode;
#endif