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
|
|
|
|
2023-01-19 02:46:49 +02:00
|
|
|
void match_rule_free(MatchRule *rule);
|
|
|
|
MatchRule *match_rule_from_string(char *d);
|
2023-01-19 03:47:49 +02:00
|
|
|
int match_rule_check(BusClient *sender_client, MatchRule *rule, WireMsg *msg, WireCtx *ctx);
|
2022-12-29 20:10:36 +02:00
|
|
|
|
|
|
|
#endif // _JITTERBUG__MATCH_H
|