2022-12-29 20:10:36 +02:00
|
|
|
#ifndef _JITTERBUG__MATCH_H
|
|
|
|
#define _JITTERBUG__MATCH_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "wire.h"
|
2023-01-16 19:47:40 +02:00
|
|
|
#include "server.h"
|
2022-12-29 20:10:36 +02:00
|
|
|
|
|
|
|
void match_rule_free(match_rule_t *rule);
|
|
|
|
match_rule_t *match_rule_from_string(char *d);
|
2023-01-16 19:47:40 +02:00
|
|
|
int match_rule_check(bus_t *s, int sender_index, match_rule_t *rule, wire_message_t *msg, wire_context_t *ctx);
|
2022-12-29 20:10:36 +02:00
|
|
|
|
|
|
|
#endif // _JITTERBUG__MATCH_H
|