|
clsync
|

Go to the source code of this file.
Functions | |
| int | rule_complete (rule_t *rule_p, char *expr, size_t *rules_count_p) |
| int | parse_rules_fromfile (ctx_t *ctx_p) |
| ruleaction_t | rules_search_getperm (const char *fpath, mode_t st_mode, rule_t *rules_p, const ruleaction_t ruleaction, rule_t **rule_pp) |
| Checks file path by rules' expressions (parsed from file). | |
| ruleaction_t | rules_getperm (const char *fpath, mode_t st_mode, rule_t *rules_p, ruleaction_t ruleactions) |
| int parse_rules_fromfile | ( | ctx_t * | ctx_p | ) |
| int rule_complete | ( | rule_t * | rule_p, |
| char * | expr, | ||
| size_t * | rules_count_p ) |
| ruleaction_t rules_getperm | ( | const char * | fpath, |
| mode_t | st_mode, | ||
| rule_t * | rules_p, | ||
| ruleaction_t | ruleactions ) |
| ruleaction_t rules_search_getperm | ( | const char * | fpath, |
| mode_t | st_mode, | ||
| rule_t * | rules_p, | ||
| const ruleaction_t | ruleaction, | ||
| rule_t ** | rule_pp ) |
Checks file path by rules' expressions (parsed from file).
| [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. |
| perm | Permission bitmask |
Definition at line 327 of file rules.c.
