silc_global_get_var

SYNOPSIS

    void *silc_global_get_var(const char *name, SilcBool tls);

DESCRIPTION

Returns the variable from the global variable storage that has been stored under the name `name'. If `tls' is FALSE this fetches the variable from global storage, if it is TRUE it is fetched from the Thread-local storage. Returns NULL if such variable does not exist and sets silc_errno.