ucspi-ssl  0.99e
TLS encryption for IPv6 communication
Data Structures | Macros | Functions
alloc.c File Reference
#include <stdlib.h>
#include "alloc.h"
#include "error.h"
Include dependency graph for alloc.c:

Go to the source code of this file.

Data Structures

union  aligned
 

Macros

#define ALIGNMENT   16 /* XXX: assuming that this alignment is enough */
 
#define SPACE   2048 /* must be multiple of ALIGNMENT */
 
#define space   ((char *) realspace)
 

Functions

char * alloc (unsigned int n)
 
void alloc_free (char *x)
 

Macro Definition Documentation

◆ ALIGNMENT

#define ALIGNMENT   16 /* XXX: assuming that this alignment is enough */

Definition at line 7 of file alloc.c.

◆ SPACE

#define SPACE   2048 /* must be multiple of ALIGNMENT */

Definition at line 8 of file alloc.c.

◆ space

#define space   ((char *) realspace)

Definition at line 12 of file alloc.c.

Function Documentation

◆ alloc()

char* alloc ( unsigned int  n)

Definition at line 15 of file alloc.c.

Here is the caller graph for this function:

◆ alloc_free()

void alloc_free ( char *  x)

Definition at line 25 of file alloc.c.

Here is the caller graph for this function: