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
|
|
|
|
*/
|
|
|
|
|
2016-09-06 16:44:05 +00:00
|
|
|
#ifndef _RP_CPU_H
|
|
|
|
#define _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-08-11 09:15:43 +00:00
|
|
|
int _old_apply_rule (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);
|
|
|
|
|
2016-09-06 16:44:05 +00:00
|
|
|
#endif // _RP_CPU_H
|