aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/trunnel-local.h
blob: 80da371560c237a25e3db55540ff0ba20e6fd633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef TRUNNEL_LOCAL_H_INCLUDED
#define TRUNNEL_LOCAL_H_INCLUDED

#include "lib/crypt_ops/crypto_util.h"
#include "lib/malloc/malloc.h"
#include "lib/log/util_bug.h"

#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))
#define trunnel_abort tor_abort_

#endif