jitterbug/match.h

13 lines
352 B
C

#ifndef _JITTERBUG__MATCH_H
#define _JITTERBUG__MATCH_H
#include <stdint.h>
#include <stdbool.h>
#include "wire.h"
#include "server.h"
void match_rule_free(MatchRule *rule);
MatchRule *match_rule_from_string(char *d);
int match_rule_check(Bus *s, BusClient *sender_client, MatchRule *rule, WireMsg *msg, WireCtx *ctx);
#endif // _JITTERBUG__MATCH_H