ldb_parse_tree(3)
β¨ NAME β¨
okay so bestie, welcome to the ldb_parse_tree(3) page from the Library Functions Manual π this one is literally all about ldb_parse_tree, and it's giving data-structure main character energy, no cap.
π¦ SYNOPSIS π¦
π Data Fields π
here's the exact synopsis, character for character, because we do not play about details:
enum ldb_parse_op operation
union {
struct {
struct ldb_parse_tree * child
} isnot
struct {
const char * attr
struct ldb_val value
} equality
struct {
const char * attr
int start_with_wildcard
int end_with_wildcard
struct ldb_val ** chunks
} substring
struct {
const char * attr
} present
struct {
const char * attr
struct ldb_val value
} comparison
struct {
const char * attr
int dnAttributes
const char * rule_id
struct ldb_val value
} extended
struct {
unsigned int num_elements
struct ldb_parse_tree ** elements
} list
} u
and now the cast, because every single field deserves its moment:
enum ldb_parse_op operationβ the operation field, first up, iconic.union { ... } uβ the big union, and its name is literallyu. inside it lives:isnotβ a struct with:struct ldb_parse_tree * child
equalityβ a struct with:const char * attrstruct ldb_val value
substringβ a struct with:const char * attrint start_with_wildcardint end_with_wildcardstruct ldb_val ** chunks
presentβ a struct with:const char * attr
comparisonβ a struct with:const char * attrstruct ldb_val value
extendedβ a struct with:const char * attrint dnAttributesconst char * rule_idstruct ldb_val value
listβ a struct with:unsigned int num_elementsstruct ldb_parse_tree ** elements
that's the whole vibe check, bestie. every field accounted for. π
π Author π
the author line is literally: Generated automatically by Doxygen for LDB from the source code. so yeah, Doxygen did that, not a human bestie. still slay.
and that's the page π the footer's giving LDB / ldb_parse_tree(3), source/version LDB, and the date? not visible on this one, but periodt. stay iconic π«Άβ¨
π¦ where this page comes from
- centos-stream 10: libldb-devel 4.24.5-101.el10 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.1-1.fc43 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.1-1.fc43 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.12-1.fc43 Β· LGPL-3.0-or-later
- fedora 43: libldb-devel 2:4.23.12-1.fc43 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.0-6.fc44 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.0-6.fc44 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.7-1.fc44 Β· LGPL-3.0-or-later
- fedora 44: libldb-devel 2:4.24.7-1.fc44 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms