ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
mdl_robots_rule_t Struct Reference

One Allow/Disallow rule from the selected group. More...

#include <mdl_robots.h>

Data Fields

mdl_robots_rule_kind_t kind
 Allow or disallow.
uint16_t len
 Pattern length in bytes.
char path [k_mdl_robots_path_max]
 Path pattern.

Detailed Description

One Allow/Disallow rule from the selected group.

Patterns support * (any run) and a trailing $ (end anchor).

Invariant
len equals strlen(path) and is < k_mdl_robots_path_max.
See also
mdl_robots_allows()
Since
0.1.0

Definition at line 58 of file mdl_robots.h.

Field Documentation

◆ kind

mdl_robots_rule_kind_t mdl_robots_rule_t::kind

Allow or disallow.

Definition at line 59 of file mdl_robots.h.

Referenced by internal_add_rule(), internal_best_matching_rule(), mdl_robots_allows(), and mdl_robots_disallow_reason().

◆ len

uint16_t mdl_robots_rule_t::len

Pattern length in bytes.

Definition at line 60 of file mdl_robots.h.

Referenced by internal_add_rule(), and internal_best_matching_rule().

◆ path

char mdl_robots_rule_t::path[k_mdl_robots_path_max]

Path pattern.

Definition at line 61 of file mdl_robots.h.

Referenced by internal_add_rule(), internal_best_matching_rule(), and mdl_robots_disallow_reason().


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