2015-12-04 14:47:52 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2015-12-04 14:47:52 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2023-01-30 14:41:12 +00:00
|
|
|
#ifndef HC_RP_CPU_H
|
|
|
|
#define HC_RP_CPU_H
|
2016-09-05 19:47:26 +00:00
|
|
|
|
2016-09-06 13:28:56 +00:00
|
|
|
#include <string.h>
|
|
|
|
|
2016-09-24 09:08:35 +00:00
|
|
|
#define RULE_RC_SYNTAX_ERROR -1
|
|
|
|
#define RULE_RC_REJECT_ERROR -2
|
2016-09-06 13:28:56 +00:00
|
|
|
|
2017-11-13 20:05:40 +00:00
|
|
|
int _old_apply_rule (const char *rule, int rule_len, char in[RP_PASSWORD_SIZE], int in_len, char out[RP_PASSWORD_SIZE]);
|
2016-09-06 16:44:05 +00:00
|
|
|
|
2016-09-08 14:32:24 +00:00
|
|
|
int run_rule_engine (const int rule_len, const char *rule_buf);
|
|
|
|
|
2023-01-30 14:41:12 +00:00
|
|
|
#endif // HC_RP_CPU_H
|