OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
mem.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <openssl/crypto.h>
#include "cryptlib.h"

Go to the source code of this file.

Functions

int CRYPTO_set_mem_functions (void *(*m)(size_t), void *(*r)(void *, size_t), void(*f)(void *))
 
int CRYPTO_set_mem_ex_functions (void *(*m)(size_t, const char *, int), void *(*r)(void *, size_t, const char *, int), void(*f)(void *))
 
int CRYPTO_set_locked_mem_functions (void *(*m)(size_t), void(*f)(void *))
 
int CRYPTO_set_locked_mem_ex_functions (void *(*m)(size_t, const char *, int), void(*f)(void *))
 
int CRYPTO_set_mem_debug_functions (void(*m)(void *, int, const char *, int, int), void(*r)(void *, void *, int, const char *, int, int), void(*f)(void *, int), void(*so)(long), long(*go)(void))
 
void CRYPTO_get_mem_functions (void *(**m)(size_t), void *(**r)(void *, size_t), void(**f)(void *))
 
void CRYPTO_get_mem_ex_functions (void *(**m)(size_t, const char *, int), void *(**r)(void *, size_t, const char *, int), void(**f)(void *))
 
void CRYPTO_get_locked_mem_functions (void *(**m)(size_t), void(**f)(void *))
 
void CRYPTO_get_locked_mem_ex_functions (void *(**m)(size_t, const char *, int), void(**f)(void *))
 
void CRYPTO_get_mem_debug_functions (void(**m)(void *, int, const char *, int, int), void(**r)(void *, void *, int, const char *, int, int), void(**f)(void *, int), void(**so)(long), long(**go)(void))
 
voidCRYPTO_malloc_locked (int num, const char *file, int line)
 
void CRYPTO_free_locked (void *str)
 
voidCRYPTO_malloc (int num, const char *file, int line)
 
char * CRYPTO_strdup (const char *str, const char *file, int line)
 
voidCRYPTO_realloc (void *str, int num, const char *file, int line)
 
voidCRYPTO_realloc_clean (void *str, int old_len, int num, const char *file, int line)
 
void CRYPTO_free (void *str)
 
voidCRYPTO_remalloc (void *a, int num, const char *file, int line)
 
void CRYPTO_set_mem_debug_options (long bits)
 
long CRYPTO_get_mem_debug_options (void)
 

Function Documentation

void CRYPTO_free ( void str)

Definition at line 390 of file mem.c.

void CRYPTO_free_locked ( void str)

Definition at line 284 of file mem.c.

void CRYPTO_get_locked_mem_ex_functions ( void *(**)(size_t, const char *, int)  m,
void(**)(void *)  f 
)

Definition at line 229 of file mem.c.

void CRYPTO_get_locked_mem_functions ( void *(**)(size_t)  m,
void(**)(void *)  f 
)

Definition at line 222 of file mem.c.

void CRYPTO_get_mem_debug_functions ( void(**)(void *, int, const char *, int, int)  m,
void(**)(void *, void *, int, const char *, int, int)  r,
void(**)(void *, int)  f,
void(**)(long)  so,
long(**)(void go 
)

Definition at line 238 of file mem.c.

long CRYPTO_get_mem_debug_options ( void  )

Definition at line 415 of file mem.c.

void CRYPTO_get_mem_ex_functions ( void *(**)(size_t, const char *, int)  m,
void *(**)(void *, size_t, const char *, int)  r,
void(**)(void *)  f 
)

Definition at line 210 of file mem.c.

void CRYPTO_get_mem_functions ( void *(**)(size_t)  m,
void *(**)(void *, size_t)  r,
void(**)(void *)  f 
)

Definition at line 200 of file mem.c.

void* CRYPTO_malloc ( int  num,
const char *  file,
int  line 
)

Definition at line 296 of file mem.c.

void* CRYPTO_malloc_locked ( int  num,
const char *  file,
int  line 
)

Definition at line 252 of file mem.c.

void* CRYPTO_realloc ( void str,
int  num,
const char *  file,
int  line 
)

Definition at line 335 of file mem.c.

void* CRYPTO_realloc_clean ( void str,
int  old_len,
int  num,
const char *  file,
int  line 
)

Definition at line 356 of file mem.c.

void* CRYPTO_remalloc ( void a,
int  num,
const char *  file,
int  line 
)

Definition at line 402 of file mem.c.

int CRYPTO_set_locked_mem_ex_functions ( void *(*)(size_t, const char *, int)  m,
void(*)(void *)  f 
)

Definition at line 169 of file mem.c.

int CRYPTO_set_locked_mem_functions ( void *(*)(size_t)  m,
void(*)(void *)  f 
)

Definition at line 158 of file mem.c.

int CRYPTO_set_mem_debug_functions ( void(*)(void *, int, const char *, int, int)  m,
void(*)(void *, void *, int, const char *, int, int)  r,
void(*)(void *, int)  f,
void(*)(long)  so,
long(*)(void go 
)

Definition at line 182 of file mem.c.

void CRYPTO_set_mem_debug_options ( long  bits)

Definition at line 409 of file mem.c.

int CRYPTO_set_mem_ex_functions ( void *(*)(size_t, const char *, int)  m,
void *(*)(void *, size_t, const char *, int)  r,
void(*)(void *)  f 
)

Definition at line 141 of file mem.c.

int CRYPTO_set_mem_functions ( void *(*)(size_t)  m,
void *(*)(void *, size_t)  r,
void(*)(void *)  f 
)

Definition at line 125 of file mem.c.

char* CRYPTO_strdup ( const char *  str,
const char *  file,
int  line 
)

Definition at line 327 of file mem.c.