2014-09-24 10:51:39 -04:00
|
|
|
|
|
|
|
#ifndef TRUNNEL_LOCAL_H_INCLUDED
|
|
|
|
#define TRUNNEL_LOCAL_H_INCLUDED
|
|
|
|
|
2018-06-21 12:47:48 -04:00
|
|
|
#include "lib/crypt_ops/crypto_util.h"
|
2018-07-10 15:16:57 -04:00
|
|
|
#include "lib/malloc/malloc.h"
|
2018-06-29 11:42:34 -04:00
|
|
|
#include "lib/log/util_bug.h"
|
2014-09-24 10:51:39 -04:00
|
|
|
|
|
|
|
#define trunnel_malloc tor_malloc
|
|
|
|
#define trunnel_calloc tor_calloc
|
|
|
|
#define trunnel_strdup tor_strdup
|
|
|
|
#define trunnel_free_ tor_free_
|
|
|
|
#define trunnel_realloc tor_realloc
|
|
|
|
#define trunnel_reallocarray tor_reallocarray
|
|
|
|
#define trunnel_assert tor_assert
|
|
|
|
#define trunnel_memwipe(mem, len) memwipe((mem), 0, (len))
|
|
|
|
|
|
|
|
#endif
|