/**
 * Author......: See docs/credits.txt
 * License.....: MIT
 */

#ifndef HC_RP_CPU_H
#define HC_RP_CPU_H

#include <string.h>

#define RULE_RC_SYNTAX_ERROR -1
#define RULE_RC_REJECT_ERROR -2

int _old_apply_rule (const char *rule, int rule_len, char in[RP_PASSWORD_SIZE], int in_len, char out[RP_PASSWORD_SIZE]);

int run_rule_engine (const int rule_len, const char *rule_buf);

#endif // HC_RP_CPU_H
