#include "common.h"
#include <glib.h>
#include "rules.h"
#include "error.h"
Go to the source code of this file.
◆ parse_rules_fromfile()
| int parse_rules_fromfile |
( |
ctx_t * | ctx_p | ) |
|
◆ rule_complete()
| int rule_complete |
( |
rule_t * | rule_p, |
|
|
char * | expr, |
|
|
size_t * | rules_count_p ) |
◆ rules_getperm()
◆ rules_search_getperm()
Checks file path by rules' expressions (parsed from file)
- Parameters
-
| [in] | fpath | Path to file of directory |
| [in] | st_mode | st_mode received via *stat() functions |
| [in] | rules_p | Pointer to start of rules array |
| [in] | ruleaction | Operaton ID (see ruleaction_t) |
| [in,out] | rule_pp | Pointer to pointer to rule, where the last search ended. Next search will be started from the specified rule. Can be "NULL" to disable this feature. |
- Return values
-
Definition at line 327 of file rules.c.