jitterbug/match.h

14 lines
344 B
C
Raw Normal View History

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"
#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