LDFL
LD_PRELOAD library rerule files & directories.
Loading...
Searching...
No Matches
ldfl_rule_t Struct Reference

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
 

Detailed Description

Represents matching + operation rule.

This structure defines a rule, including the name, matching pattern, operation type, target resource, and additional options.

Note
The array of 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.

Field Documentation

◆ extra_options

const char* extra_options

Extra options.

◆ final

bool final

Stop searching for other rules if true. Continue if false

◆ name

const char* name

Name of the rule. Only informational

◆ operation

ldfl_operation_t operation

Operation type.

◆ path_transform

ldfl_path_type_t path_transform

Use the unaltered or transform to absolute path in the matching

◆ search_pattern

const char* search_pattern

Matching regex on file/dir path.

◆ target

const void* target

Replacement regex for the file/dir path.


The documentation for this struct was generated from the following file: