From 85d2072eccdfcb7e8045a60d8bb939de61d1c04b Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 1 Dec 2016 20:12:22 +0100 Subject: src: support for stateful object monitoring This patch extends the event monitoring infrastructure to catch events of addition and removal of stateful objects. Signed-off-by: Pablo Neira Ayuso --- include/rule.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/rule.h') diff --git a/include/rule.h b/include/rule.h index 86c0392f..878563d9 100644 --- a/include/rule.h +++ b/include/rule.h @@ -283,7 +283,10 @@ struct obj { struct obj *obj_alloc(const struct location *loc); void obj_free(struct obj *obj); void obj_add_hash(struct obj *obj, struct table *table); +struct obj *obj_lookup(const struct table *table, const char *name, + uint32_t type); void obj_print(const struct obj *n); +void obj_print_plain(const struct obj *obj); const char *obj_type_name(uint32_t type); /** -- cgit v1.2.3