hx509_env(3)

πŸ“¦
version 7.8.0 Β· 3 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, epel 10, epel 9, fedora 43, fedora 44

✨ NAME ✨

okay bestie, welcome to the hx509_env(3) page from the Heimdal x509 library πŸ’–

hx509_env β€” hx509 environment functions.


🌸 SYNOPSIS 🌸

✨ Functions ✨

int hx509_env_add (hx509_context context, hx509_env *env, const char
    *key, const char *value)
int hx509_env_add_binding (hx509_context context, hx509_env *env, const
    char *key, hx509_env list)
const char * hx509_env_lfind (hx509_context context, hx509_env env,
    const char *key, size_t len)
const char * hx509_env_find (hx509_context context, hx509_env env, const
    char *key)
hx509_env hx509_env_find_binding (hx509_context context, hx509_env env,
    const char *key)
void hx509_env_free (hx509_env *env)

πŸ’… Detailed Description πŸ’…

This is the detailed description section, and it's giving "the actual tea is in the function docs below." No skipping, bestie β€” every function gets its own moment. πŸ‘‘


πŸ¦‹ Function Documentation πŸ¦‹

hx509_env_add ✨

int hx509_env_add (hx509_context context, hx509_env * env, const char * key,
       const char * value)

Adds a new key/value pair to the hx509_env. Slay. πŸ’–

Parameters

  • context β€” A hx509 context.
  • env β€” environment to add the environment variable too.
  • key β€” key to add
  • value β€” value to add

Returns

  • An hx509 error code, see hx509_get_error_string().

hx509_env_add_binding πŸŽ€

int hx509_env_add_binding (hx509_context context, hx509_env * env, const
       char * key, hx509_env list)

Adds a new key/binding pair to the hx509_env. Iconic behavior. ✨

Parameters

  • context β€” A hx509 context.
  • env β€” environment to add the environment variable too.
  • key β€” key to add
  • list β€” binding list to add

Returns

  • An hx509 error code, see hx509_get_error_string().

hx509_env_find πŸ”

const char* hx509_env_find (hx509_context context, hx509_env env, const char
       * key)

Searches the hx509_env for a key. It's giving detective energy, fr fr. πŸ•΅οΈ

Parameters

  • context β€” A hx509 context.
  • env β€” environment to add the environment variable too.
  • key β€” key to search for.

Returns

  • the value if the key is found, NULL otherwise.

hx509_env_find_binding πŸ¦‹

hx509_env hx509_env_find_binding (hx509_context context, hx509_env env,
       const char * key)

Searches the hx509_env for a binding. Lowkey the same detective vibe, but for bindings. πŸ’…

Parameters

  • context β€” A hx509 context.
  • env β€” environment to add the environment variable too.
  • key β€” key to search for.

Returns

  • the binding if the key is found, NULL if not found.

hx509_env_free 🌈

void hx509_env_free (hx509_env * env)

Frees an hx509_env environment context. Gotta let it go, bestie. 🫢

Parameters

  • env β€” the environment to free.

hx509_env_lfind ⭐

const char* hx509_env_lfind (hx509_context context, hx509_env env, const
       char * key, size_t len)

Searches the hx509_env for a length based key. Length-based key hunt? We love a specific queen. πŸ‘‘

Parameters

  • context β€” A hx509 context.
  • env β€” environment to add the environment variable too.
  • key β€” key to search for.
  • len β€” length of key.

Returns

  • the value if the key is found, NULL otherwise.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Heimdal x509 library from the source code. So no human author, just Doxygen doing its thing. πŸ€–βœ¨


That's the whole page, bestie. Version 7.8.0, Tue Nov 15 2022, hx509_env(3) β€” periodt πŸ’…πŸ’–

πŸ“¦ where this page comes from