AUTH2ELEM(3)

πŸ“¦ version 5.1.1-unstable-2025-02, in nixos 26.05, nixpkgs unstable

🌸 AUTH2ELEM(3) 🌸

okay bestie, welcome to the AUT STRUCTURE DEFINITIONS corner of the manual β€” section 3, the library-calls girlies' section πŸ’… this one's about auth2elem and she's literally the building block of the whole hash-table situation, no cap.


✨ NAME ✨

auth2elem β€” element in an hash table with two keys. two keys!! she's polyamorous and thriving 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so like. the auth2elem structure is used to describe an hash element. that's her whole job. that's the gig.

the declarations needed to work on auth2elem are available in the header file "/labo/include/aut101.h", where '101' is the actual aut version. (yes, the number changes with the version, she's got a glow-up every release, iconic ✨)

the following C structure supports the description of an hash element:

typedef struct auth2elem
{
  char βˆ—KEY1;
  char βˆ—KEY2;
  long  VALUE;
} auth2elem;

πŸ’œ KEY1

KEY1 is the first hash element key, for example a name created with namealloc. first key energy. main character of the pair πŸ‘‘

πŸ’œ KEY2

KEY2 is the second hash element key, for example a name created with namealloc. the other half of the duo, and yeah, same deal β€” think namealloc for this one too.

πŸ’œ VALUE

VALUE is the value associated to the two keys KEY1 and KEY2. it's giving "the payoff", the little payload that comes attached to both keys at once. obsessed πŸ˜­πŸ’–

quick vibe check: two keys, one value. don't get it twisted.

🌈 SEE ALSO 🌈

(the little comma after auth2table(3), in the original? yeah she trails off dramatically. we respect it.)


πŸŽ€ BUG REPORT πŸŽ€

this tool is under development at the ASIM department of the LIP6 laboratory. it's giving "work in progress, but make it academic" 🧚

we need your feedback to improve documentation and tools. fr fr, they actually want it β€” so if something's confusing, say something, bestie πŸ’Œ


and that's the whole page, periodt. this edition of the manual was brought to you by ASIM/LIP6 and it's dated October 1, 1997 β€” a vintage queen who has been slaying since before most of us could type πŸ’…πŸŒΈβœ¨

πŸ“¦ where this page comes from