]> git.sur5r.net Git - openldap/blob - libraries/liblber/memory.c
39e19c5c111f37a0be81e52bcd7f69613fbbbfb1
[openldap] / libraries / liblber / memory.c
1 /*
2  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
3  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
4  */
5 #include "portable.h"
6
7 #include <stdlib.h>
8
9 #include "lber-int.h"
10
11 void
12 ber_memfree( void *p )
13 {
14         LBER_FREE( p );
15 }
16
17 void *
18 ber_memalloc( size_t s )
19 {
20         return LBER_MALLOC( s );
21 }
22
23 void *
24 ber_memcalloc( size_t n, size_t s )
25 {
26         return LBER_CALLOC( n, s );
27 }
28
29 void *
30 ber_memrealloc( void* p, size_t s )
31 {
32         return LBER_REALLOC( p, s );
33 }
34