| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.3 GnuTLS-extra Functions
These functions are only available in the GPL version of the library
called gnutls-extra. The prototypes for this library lie in
‘gnutls/extra.h’.
gnutls_extra_check_version
- Function: const char * gnutls_extra_check_version (const char * req_version)
req_version: the version to check
Check that the version of the gnutls-extra library is at minimum the requested one and return the version string; return NULL if the condition is not satisfied. If a NULL is passed to this function, no check is done, but the version string is simply returned.
gnutls_global_init_extra
- Function: int gnutls_global_init_extra ( void)
This function initializes the global state of gnutls-extra library to defaults. Returns zero on success.
Note that
gnutls_global_init()has to be called before this function. If this function is not called then the gnutls-extra library will not be usable.
