dhcpd-pools  2.28
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

#define XALLOC_INLINE   _GL_EXTERN_INLINE

Enumeration Type Documentation

anonymous enum
Enumerator
HAVE_GNU_CALLOC 

Function Documentation

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

Here is the call graph for this function:

void* xcalloc ( size_t  n,
size_t  s 
)

Here is the call graph for this function:

void* xmalloc ( size_t  n)

Referenced by add_lease_v4(), add_lease_v6(), main(), parse_config(), parse_leases(), prepare_memory(), xmemdup(), xnmalloc(), and xzalloc().

Here is the call graph for this function:

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

Referenced by clone_quoting_options(), and xstrdup().

Here is the call graph for this function:

void* xrealloc ( void *  p,
size_t  n 
)

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

Here is the call graph for this function:

char* xstrdup ( char const *  string)

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

Here is the call graph for this function:

void* xzalloc ( size_t  s)

Here is the call graph for this function: