dhcpd-pools  3.0
ISC dhcpd lease usage analyser
Macros | Enumerations | Functions
xmalloc.c File Reference
#include <config.h>
#include "xalloc.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for xmalloc.c:

Macros

#define XALLOC_INLINE   _GL_EXTERN_INLINE
 

Enumerations

enum  { HAVE_GNU_CALLOC = 0 }
 

Functions

void * xmalloc (size_t n)
 
void * xrealloc (void *p, size_t n)
 
void * x2realloc (void *p, size_t *pn)
 
void * xzalloc (size_t s)
 
void * xcalloc (size_t n, size_t s)
 
void * xmemdup (void const *p, size_t s)
 
char * xstrdup (char const *string)
 

Macro Definition Documentation

◆ XALLOC_INLINE

#define XALLOC_INLINE   _GL_EXTERN_INLINE

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HAVE_GNU_CALLOC 

Function Documentation

◆ x2realloc()

void* x2realloc ( void *  p,
size_t *  pn 
)

Referenced by xcharalloc().

Here is the call graph for this function:

◆ xcalloc()

void* xcalloc ( size_t  n,
size_t  s 
)
Here is the call graph for this function:

◆ xmalloc()

void* xmalloc ( size_t  n)

◆ xmemdup()

void* xmemdup ( void const *  p,
size_t  s 
)

Referenced by clone_quoting_options(), xcharalloc(), and xstrdup().

Here is the call graph for this function:

◆ xrealloc()

void* xrealloc ( void *  p,
size_t  n 
)

Referenced by parse_config(), quotearg_n_options(), x2nrealloc(), xcharalloc(), and xnrealloc().

Here is the call graph for this function:

◆ xstrdup()

char* xstrdup ( char const *  string)

Referenced by cidr_last_v4(), cidr_last_v6(), parse_config(), parse_leases(), and prepare_memory().

Here is the call graph for this function:

◆ xzalloc()

void* xzalloc ( size_t  s)
Here is the call graph for this function: