trunnel-local.h 486 B

123456789101112131415161718
  1. #ifndef TRUNNEL_LOCAL_H_INCLUDED
  2. #define TRUNNEL_LOCAL_H_INCLUDED
  3. #include "lib/crypt_ops/crypto_util.h"
  4. #include "lib/malloc/malloc.h"
  5. #include "lib/log/util_bug.h"
  6. #define trunnel_malloc tor_malloc
  7. #define trunnel_calloc tor_calloc
  8. #define trunnel_strdup tor_strdup
  9. #define trunnel_free_ tor_free_
  10. #define trunnel_realloc tor_realloc
  11. #define trunnel_reallocarray tor_reallocarray
  12. #define trunnel_assert tor_assert
  13. #define trunnel_memwipe(mem, len) memwipe((mem), 0, (len))
  14. #endif