gnutls_global_set_mem_functions
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_global_set_mem_functions − API function
SYNOPSIS
#include <gnutls/gnutls.h>
void gnutls_global_set_mem_functions(gnutls_alloc_function alloc_func, gnutls_alloc_function secure_alloc_func, gnutls_is_secure_function is_secure_func, gnutls_realloc_function realloc_func, gnutls_free_function free_func);
ARGUMENTS
gnutls_alloc_function alloc_func
it’s the default memory allocation function. Like malloc().
gnutls_alloc_function secure_alloc_func
This is the memory allocation function that will be used for sensitive data.
gnutls_is_secure_function is_secure_func
a function that returns 0 if the memory given is not secure. May be NULL.
gnutls_realloc_function realloc_func
A realloc function
gnutls_free_function free_func
The function that frees allocated data. Must accept a NULL pointer.
DESCRIPTION
This is the function were you set the memory allocation functions gnutls is going to use. By default the libc’s allocation functions (malloc(), free()), are used by gnutls, to allocate both sensitive and not sensitive data. This function is provided to set the memory allocation functions to something other than the defaults
This function must be called before gnutls_global_init() is called. This function is not thread safe.
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
COPYRIGHT
Copyright
© 2008 Free Software Foundation.
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.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command
info gnutls
should give you access to the complete manual.
More Linux Commands
manpages/y4mtoppm.1.html
y4mtoppm(1) - Convert YUV4MPEG2 stream to PPM images........
y4mtoppm converts a YUV4MPEG2 stream into a sequence of raw PPM images. Output is to stdout (but feel free to have the shell redirect to a file). Input is read
manpages/ati.4.html
ati(4) - ATI video driver (Special files - Linux man page)
ati is an Xorg wrapper driver for ATI video cards. It autodetects whether your hardware has a Radeon, Rage 128, or Mach64 or earlier class of chipset, and loads
manpages/fgetgrent_r.3.html
fgetgrent_r(3) - get group file entry reentrantly (ManPage)
The functions getgrent_r() and fgetgrent_r() are the reentrant versions of getgrent(3) and fgetgrent(3). The former reads the next group entry from the stream i
manpages/virtual.8.html
virtual(8) - Postfix virtual domain mail delivery agent.....
The virtual(8) delivery agent is designed for virtual mail hosting services. Originally based on the Postfix local(8) delivery agent, this agent looks up recipi
manpages/intro3.html
intro(3) - Introduction to library functions (Man Page).....
Section 3 of the manual describes all library functions excluding the library functions (system call wrappers) described in Section 2, which implement system ca
manpages/resize_term_sp.3ncurses.html
resize_term_sp(3ncurses) - curses screen-pointer extension
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th
manpages/xdr_enum.3.html
xdr_enum(3) - library routines for external data representat
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using
manpages/ausyscall.8.html
ausyscall(8) a program that allows mapping syscall names and
ausyscall is a program that prints out the mapping from syscall name to number and reverse for the given arch. The arch can be anything returned by uname -m. If
manpages/opaque.3ncurses.html
opaque(3ncurses) - curses window properties - Linux man page
This implementation provides functions which return properties set in the WINDOW structure, allowing it to be opaque if the symbol NCURSES_OPAQUE is defined: is
manpages/wenclose.3ncurses.html
wenclose(3ncurses) - mouse interface through curses.........
These functions provide an interface to mouse events from ncurses(3NCURSES). Mouse events are represented by KEY_MOUSE pseudo-key values in the wgetch input str
manpages/XRRQueryExtension.3.html
XRRQueryExtension(3) - X Resize, Rotate and Reflection exten
Xrandr is a simple library designed to interface the X Resize and Rotate Extension. This allows clients to change the size and rotation of the root window of a
manpages/Tcl_RegisterConfig.3.html
Tcl_RegisterConfig(3) - procedures to register embedded conf
The function described here has its base in TIP 59 and provides extensions with support for the embedding of configuration information into their binary library
