jitterbug/match.h

14 lines
369 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
void match_rule_free(match_rule_t *rule);
match_rule_t *match_rule_from_string(char *d);
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