~ubuntu-branches/ubuntu/raring/audit/raring

« back to all changes in this revision

Viewing changes to src/ausearch-llist.h

  • Committer: Bazaar Package Importer
  • Author(s): Philipp Matthias Hahn
  • Date: 2009-01-11 18:51:38 UTC
  • mfrom: (1.1.7 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20090111185138-329kq0gg5xndhf8j
Tags: 1.7.11-1
* New upstream release.
  - Update debian/patches/mode.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        time_t sec;             // Event seconds
37
37
        unsigned int milli;     // millisecond of the timestamp
38
38
        unsigned long serial;   // Serial number of the event
 
39
        const char *node;       // Machine's node name
 
40
        int type;               // type of first event
39
41
} event;
40
42
 
41
43
typedef struct
62
64
  char *comm;           // comm name
63
65
  alist *avc;           // avcs for the event
64
66
  char *acct;           // account used when uid is invalid
65
 
  char *node;           // machine's name (hostname,fqdn,ip)
66
67
} search_items;
67
68
 
68
 
/* This is the node of the linked list. message & item are the only elements
69
 
 * at this time. Any data elements that are per item goes here. */
 
69
/* This is the node of the linked list. Any data elements that are per
 
70
 *  record goes here. */
70
71
typedef struct _lnode{
71
 
  char *message;        // The whole unparsed message
72
 
  int type;             // message type (KERNEL, USER, LOGIN, etc)
 
72
  char *message;                // The whole unparsed message
 
73
  int type;                     // message type (KERNEL, USER, LOGIN, etc)
73
74
  unsigned long long a0;        // argv 0
74
 
  unsigned int item;    // Which item of the same event
75
 
  struct _lnode* next;  // Next node pointer
 
75
  unsigned int item;            // Which item of the same event
 
76
  struct _lnode* next;          // Next node pointer
76
77
} lnode;
77
78
 
78
79
/* This is the linked list head. Only data elements that are 1 per