ldb_parse_tree(3)

πŸ“¦
version 4.24.7 Β· 2 versions
, in centos-stream 10, fedora 43, fedora 44

✨ 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 literally u. inside it lives:
    • isnot β€” a struct with:
      • struct ldb_parse_tree * child
    • equality β€” a struct with:
      • const char * attr
      • struct ldb_val value
    • substring β€” a struct with:
      • const char * attr
      • int start_with_wildcard
      • int end_with_wildcard
      • struct ldb_val ** chunks
    • present β€” a struct with:
      • const char * attr
    • comparison β€” a struct with:
      • const char * attr
      • struct ldb_val value
    • extended β€” a struct with:
      • const char * attr
      • int dnAttributes
      • const char * rule_id
      • struct ldb_val value
    • list β€” a struct with:
      • unsigned int num_elements
      • struct 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 🫢✨