Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
hx509_env(3)		     Heimdal x509 library		  hx509_env(3)

NAME
       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
Function Documentation
   int hx509_env_add (hx509_context context, hx509_env * env, const char *
       key, const char * value)
       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().

   int hx509_env_add_binding (hx509_context context, hx509_env * env, const
       char * key, hx509_env list)
       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().

   const char* hx509_env_find (hx509_context context, hx509_env	env, const
       char * key)
       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.

   hx509_env hx509_env_find_binding (hx509_context context, hx509_env env,
       const char * key)
       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.

   void	hx509_env_free (hx509_env * env)
       Free an hx509_env environment context.

       Parameters
	   env the environment to free.

   const char* hx509_env_lfind (hx509_context context, hx509_env env, const
       char * key, size_t len)
       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.

Author
       Generated automatically by Doxygen for Heimdal x509 library from	the
       source code.

Version	7.8.0			Tue Nov	15 2022			  hx509_env(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=hx509_env_add_binding&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help