LDFL
LD_PRELOAD library rerule files & directories.
|
Represents matching + operation rule. More...
Data Fields | |
const char * | name |
const char * | search_pattern |
ldfl_operation_t | operation |
const void * | target |
ldfl_path_type_t | path_transform |
bool | final |
const char * | extra_options |
Represents matching + operation rule.
This structure defines a rule, including the name, matching pattern, operation type, target resource, and additional options.
ldfl_rule_t
structures should be terminated with an entry where name
is NULL
and operation
is LDFL_OP_END
. This sentinel entry is used to mark the end of the array. const char* extra_options |
Extra options.
bool final |
Stop searching for other rules if true. Continue if false
const char* name |
Name of the rule. Only informational
ldfl_operation_t operation |
Operation type.
ldfl_path_type_t path_transform |
Use the unaltered or transform to absolute path in the matching
const char* search_pattern |
Matching regex on file/dir path.
const void* target |
Replacement regex for the file/dir path.