#include "common.h"
#include <sys/types.h>
Include dependency graph for xmalloc.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
void * | pd_realloc (void *ptr, size_t size) |
reallocs mem like realloc(). More... | |
void * | pd_malloc (size_t size) |
Allocates memory like malloc(), but exits the programm, if it fails! More... | |
void | pd_free (void *ptr) |
frees memory like free(), but not, if ptr == NULL. More... |
Definition in file xmalloc.h.
|
frees memory like free(), but not, if ptr == NULL.
Referenced by buildBasicHeader(), buildEntityHeader(), chTerminate(), getAbsPath(), getLine(), htAddData(), htMthdParse(), htRecvLine(), htSend(), htTerminate(), logTerminate(), logfilesInit(), main(), mimeInit(), readConfigFile(), resolvURI(), rhfSend(), rhfTerminate(), setEntry(), and terminateConftable().
|
|
Allocates memory like malloc(), but exits the programm, if it fails!
Referenced by appendHdrField(), buildBasicHeader(), buildEntityHeader(), chInit(), getAbsPath(), htAddData(), htInit(), htMthdParse(), htRecvLine(), logInitStream_int(), logfilesInit(), main(), mimeInit(), readConfigFile(), resolvURI(), rhfInit(), and setEntry().
|
|
reallocs mem like realloc().
Referenced by copyRequestLine(), and getLine().
|