PolarSSL v1.3.8
Main Page
Modules
Data Structures
Files
File List
Globals
include
polarssl
memory.h
Go to the documentation of this file.
1
27
#ifndef POLARSSL_MEMORY_H
28
#define POLARSSL_MEMORY_H
29
30
#if !defined(POLARSSL_CONFIG_FILE)
31
#include "
config.h
"
32
#else
33
#include POLARSSL_CONFIG_FILE
34
#endif
35
36
#include <stdlib.h>
37
38
#if defined(POLARSSL_MEMORY_C) && !defined(POLARSSL_PLATFORM_MEMORY)
39
#define POLARSSL_PLATFORM_MEMORY
40
#endif
41
42
#include "
platform.h
"
43
#include "
memory_buffer_alloc.h
"
44
45
int
memory_set_own
(
void
* (*malloc_func)(
size_t
),
46
void
(*free_func)(
void
* ) )
47
{
48
return
platform_set_malloc_free( malloc_func, free_func );
49
}
50
51
52
#endif
/* memory.h */
Generated on Thu Jul 31 2014 11:36:46 for PolarSSL v1.3.8 by
1.8.3