syslog-ng source
nondumpable-allocator.h File Reference
#include "compat/glib.h"
Include dependency graph for nondumpable-allocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PUBLIC   __attribute__ ((visibility ("default")))
 
#define INTERNAL   __attribute__ ((visibility ("hidden")))
 

Typedefs

typedef void(* NonDumpableLogger) (gchar *summary, gchar *reason)
 

Functions

gpointer nondumpable_buffer_alloc (gsize len) PUBLIC
 
void nondumpable_buffer_free (gpointer buffer) PUBLIC
 
gpointer nondumpable_buffer_realloc (gpointer buffer, gsize len) PUBLIC
 
gpointer nondumpable_memcpy (gpointer dest, gpointer src, gsize len) PUBLIC
 
void nondumpable_mem_zero (gpointer s, gsize len) PUBLIC
 
void nondumpable_setlogger (NonDumpableLogger _debug, NonDumpableLogger _fatal) PUBLIC
 

Macro Definition Documentation

◆ INTERNAL

volatile gint secret_manager_uninitialized INTERNAL   __attribute__ ((visibility ("hidden")))

◆ PUBLIC

#define PUBLIC   __attribute__ ((visibility ("default")))

Typedef Documentation

◆ NonDumpableLogger

typedef void(* NonDumpableLogger) (gchar *summary, gchar *reason)

Function Documentation

◆ nondumpable_buffer_alloc()

gpointer nondumpable_buffer_alloc ( gsize  len)

◆ nondumpable_buffer_free()

void nondumpable_buffer_free ( gpointer  buffer)

◆ nondumpable_buffer_realloc()

gpointer nondumpable_buffer_realloc ( gpointer  buffer,
gsize  len 
)

◆ nondumpable_mem_zero()

void nondumpable_mem_zero ( gpointer  s,
gsize  len 
)

◆ nondumpable_memcpy()

gpointer nondumpable_memcpy ( gpointer  dest,
gpointer  src,
gsize  len 
)

◆ nondumpable_setlogger()

void nondumpable_setlogger ( NonDumpableLogger  _debug,
NonDumpableLogger  _fatal 
)