diff options
Diffstat (limited to 'include/agent_context.h')
| -rw-r--r-- | include/agent_context.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/agent_context.h b/include/agent_context.h new file mode 100644 index 0000000..01bd3d0 --- /dev/null +++ b/include/agent_context.h @@ -0,0 +1,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; |
