gnutls_certificate_allocate_credentials(3) API function

SYNOPSIS

#include <gnutls/gnutls.h>

int gnutls_certificate_allocate_credentials(gnutls_certificate_credentials_t * res);

ARGUMENTS

gnutls_certificate_credentials_t * res
is a pointer to a gnutls_certificate_credentials_t type.

DESCRIPTION

This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it.

RETURNS

GNUTLS_E_SUCCESS on success, or an error code.

REPORTING BUGS

Report bugs to <[email protected]>.
Home page: http://www.gnutls.org

COPYRIGHT

Copyright © 2001-2016 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.