| Main index | Section 3 | Options |
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)
Add a new key/value pair to the hx509_env.
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().
Add a new key/binding pair to the hx509_env.
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().
Search the hx509_env for a key.
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.
Search the hx509_env for a binding.
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.
Free an hx509_env environment context.
Parameters:
env the environment to free.
Search the hx509_env for a length based key.
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.
| 11 Jan 2012 | hx509 environment functions (3) | Version 1.5.2 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Never write it in C if you can do it in `awk'; Never do it in `awk' if `sed' can handle it; Never use `sed' when `tr' can do the job; Never invoke `tr' when `cat' is sufficient; Avoid using `cat' whenever possible. |
” |
| — Taylor's Laws of Programming | ||