mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-14 07:03:44 +01:00
Expunge container.h
This commit is contained in:
parent
de508c5f50
commit
c2a558a346
@ -15,7 +15,6 @@
|
|||||||
#include "orconfig.h"
|
#include "orconfig.h"
|
||||||
#include "lib/cc/torint.h"
|
#include "lib/cc/torint.h"
|
||||||
#include "common/compat.h"
|
#include "common/compat.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "common/util_bug.h"
|
#include "common/util_bug.h"
|
||||||
|
|
||||||
#ifdef ADDRESS_PRIVATE
|
#ifdef ADDRESS_PRIVATE
|
||||||
|
@ -37,7 +37,6 @@
|
|||||||
#include "lib/err/torerr.h"
|
#include "lib/err/torerr.h"
|
||||||
#include "common/torlog.h"
|
#include "common/torlog.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
|
|
||||||
#ifndef HAVE_GETTIMEOFDAY
|
#ifndef HAVE_GETTIMEOFDAY
|
||||||
#ifdef HAVE_FTIME
|
#ifdef HAVE_FTIME
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "common/torlog.h"
|
#include "common/torlog.h"
|
||||||
|
|
||||||
/* This value is more or less total cargo-cult */
|
/* This value is more or less total cargo-cult */
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "common/compat.h"
|
#include "common/compat.h"
|
||||||
#include "common/torlog.h"
|
#include "common/torlog.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
|
|
||||||
#ifndef DISABLE_MEMORY_SENTINELS
|
#ifndef DISABLE_MEMORY_SENTINELS
|
||||||
|
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
/* Copyright (c) 2003-2004, Roger Dingledine
|
|
||||||
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
|
||||||
* Copyright (c) 2007-2018, The Tor Project, Inc. */
|
|
||||||
/* See LICENSE for licensing information */
|
|
||||||
|
|
||||||
#ifndef TOR_CONTAINER_H
|
|
||||||
#define TOR_CONTAINER_H
|
|
||||||
|
|
||||||
#endif /* !defined(TOR_CONTAINER_H) */
|
|
@ -19,7 +19,6 @@ src_lib_libtor_container_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|||||||
noinst_HEADERS += \
|
noinst_HEADERS += \
|
||||||
src/lib/container/bitarray.h \
|
src/lib/container/bitarray.h \
|
||||||
src/lib/container/bloomfilt.h \
|
src/lib/container/bloomfilt.h \
|
||||||
src/lib/container/container.h \
|
|
||||||
src/lib/container/map.h \
|
src/lib/container/map.h \
|
||||||
src/lib/container/order.h \
|
src/lib/container/order.h \
|
||||||
src/lib/container/smartlist.h
|
src/lib/container/smartlist.h
|
||||||
|
@ -158,7 +158,7 @@ digest256map_assign_key(digest256map_entry_t *ent, const uint8_t *key)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Macro: implement all the functions for a map that are declared in
|
* Macro: implement all the functions for a map that are declared in
|
||||||
* container.h by the DECLARE_MAP_FNS() macro. You must additionally define a
|
* map.h by the DECLARE_MAP_FNS() macro. You must additionally define a
|
||||||
* prefix_entry_free_() function to free entries (and their keys), a
|
* prefix_entry_free_() function to free entries (and their keys), a
|
||||||
* prefix_assign_tmp_key() function to temporarily set a stack-allocated
|
* prefix_assign_tmp_key() function to temporarily set a stack-allocated
|
||||||
* entry to hold a key, and a prefix_assign_key() function to set a
|
* entry to hold a key, and a prefix_assign_key() function to set a
|
||||||
|
@ -66,7 +66,6 @@ ENABLE_GCC_WARNING(redundant-decls)
|
|||||||
#include "lib/cc/torint.h"
|
#include "lib/cc/torint.h"
|
||||||
#include "lib/crypt_ops/aes.h"
|
#include "lib/crypt_ops/aes.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "common/compat.h"
|
#include "common/compat.h"
|
||||||
#include "common/sandbox.h"
|
#include "common/sandbox.h"
|
||||||
#include "common/util_format.h"
|
#include "common/util_format.h"
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
#ifdef HAVE_SYS_STAT_H
|
#ifdef HAVE_SYS_STAT_H
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#endif
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "lib/crypt_ops/crypto_curve25519.h"
|
#include "lib/crypt_ops/crypto_curve25519.h"
|
||||||
#include "lib/crypt_ops/crypto_digest.h"
|
#include "lib/crypt_ops/crypto_digest.h"
|
||||||
#include "lib/crypt_ops/crypto_format.h"
|
#include "lib/crypt_ops/crypto_format.h"
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include "or/config.h"
|
#include "or/config.h"
|
||||||
#include "or/connection.h"
|
#include "or/connection.h"
|
||||||
#include "or/connection_edge.h"
|
#include "or/connection_edge.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "lib/crypt_ops/crypto_rand.h"
|
#include "lib/crypt_ops/crypto_rand.h"
|
||||||
#include "lib/crypt_ops/crypto_util.h"
|
#include "lib/crypt_ops/crypto_util.h"
|
||||||
#include "or/directory.h"
|
#include "or/directory.h"
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
#include "or/or.h"
|
#include "or/or.h"
|
||||||
#include "common/address.h"
|
#include "common/address.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "lib/crypt_ops/crypto.h"
|
#include "lib/crypt_ops/crypto.h"
|
||||||
#include "lib/crypt_ops/crypto_ed25519.h"
|
#include "lib/crypt_ops/crypto_ed25519.h"
|
||||||
#include "trunnel/ed25519_cert.h" /* needed for trunnel */
|
#include "trunnel/ed25519_cert.h" /* needed for trunnel */
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include "common/address.h"
|
#include "common/address.h"
|
||||||
#include "or/bridges.h"
|
#include "or/bridges.h"
|
||||||
#include "or/config.h"
|
#include "or/config.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "or/transports.h"
|
#include "or/transports.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
|
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
#include "orconfig.h"
|
#include "orconfig.h"
|
||||||
#define DIRVOTE_PRIVATE
|
#define DIRVOTE_PRIVATE
|
||||||
#include "test/test.h"
|
#include "test/test.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "or/or.h"
|
#include "or/or.h"
|
||||||
#include "or/dirauth/dirvote.h"
|
#include "or/dirauth/dirvote.h"
|
||||||
#include "or/nodelist.h"
|
#include "or/nodelist.h"
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
#include "or/or.h"
|
#include "or/or.h"
|
||||||
#include "or/config.h"
|
#include "or/config.h"
|
||||||
#include "or/dirserv.h"
|
#include "or/dirserv.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "or/entrynodes.h"
|
#include "or/entrynodes.h"
|
||||||
#include "common/util.h"
|
#include "common/util.h"
|
||||||
#include "or/routerparse.h"
|
#include "or/routerparse.h"
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include "or/or.h"
|
#include "or/or.h"
|
||||||
#include "or/config.h"
|
#include "or/config.h"
|
||||||
#include "or/connection.h"
|
#include "or/connection.h"
|
||||||
#include "lib/container/container.h"
|
|
||||||
#include "or/control.h"
|
#include "or/control.h"
|
||||||
#include "lib/crypt_ops/crypto_rand.h"
|
#include "lib/crypt_ops/crypto_rand.h"
|
||||||
#include "or/directory.h"
|
#include "or/directory.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user