blob: 01bd3d08972b4bb185aef2a29868cd695074373d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <limits.h>
//#include <linux/limits.h>
#include "proc_ledger.h"
#include "hash_ledger.h"
#include "aho-corasick.h"
#include "av_rules.h"
struct agent_context {
struct proc_ledger *proc_ledger;
struct hash_ledger *hash_ledger;
rule_set_t rules;
ac_context_t *ac;
char hostname[HOST_NAME_MAX];
long ticks;
unsigned long boot_time;
size_t maxsize;
};
typedef struct agent_context agent_context_t;
|