gnutls_global_set_mem_functions − API function
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);
it’s the default memory allocation function. Like malloc().
This is the memory allocation function that will be used for sensitive data.
a function that returns 0 if the memory given is not secure. May be NULL.
A realloc function
The function that frees allocated data. Must accept a NULL pointer.
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.
Report bugs to <email@example.com>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
© 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.
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
should give you access to the complete manual.
More Linux Commands
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
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
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
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
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
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
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
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
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
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
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
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