mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Rectify include paths (automated)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
//#include <sys/sockio.h>
|
||||
#include "orconfig.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/compat.h"
|
||||
#include "common/container.h"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#define TOR_ADDRESS_SET_H
|
||||
|
||||
#include "orconfig.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
/**
|
||||
* An address_set_t represents a set of tor_addr_t values. The implementation
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "common/compat.h"
|
||||
#include "lib/compress/compress.h"
|
||||
#include "common/util.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/torlog.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define TOR_BUFFERS_H
|
||||
|
||||
#include "common/compat.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/testsupport.h"
|
||||
|
||||
typedef struct buf_t buf_t;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "common/compat.h"
|
||||
#include "lib/compress/compress.h"
|
||||
#include "common/util.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/torlog.h"
|
||||
#include "common/tortls.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
|
||||
+2
-2
@@ -14,7 +14,7 @@
|
||||
#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747b
|
||||
#endif
|
||||
#endif
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/testsupport.h"
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <netinet6/in6.h>
|
||||
#endif
|
||||
|
||||
#include "common/compat_compiler.h"
|
||||
#include "lib/cc/compat_compiler.h"
|
||||
#include "common/compat_time.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define TOR_COMPAT_THREADS_H
|
||||
|
||||
#include "orconfig.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/testsupport.h"
|
||||
|
||||
#if defined(HAVE_PTHREAD_H) && !defined(_WIN32)
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ ENABLE_GCC_WARNING(redundant-decls)
|
||||
#endif
|
||||
|
||||
#include "common/torlog.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/aes.h"
|
||||
#include "common/util.h"
|
||||
#include "common/container.h"
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
#include "orconfig.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/compat.h"
|
||||
#include "common/util.h"
|
||||
#include "common/crypto_rsa.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#define TOR_CRYPTO_CURVE25519_H
|
||||
|
||||
#include "common/testsupport.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/crypto_digest.h"
|
||||
#include "common/crypto_openssl_mgt.h"
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "common/container.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
/** Length of the output of our message digest. */
|
||||
#define DIGEST_LEN 20
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#define TOR_CRYPTO_ED25519_H
|
||||
|
||||
#include "common/testsupport.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/crypto_curve25519.h"
|
||||
#include "common/util.h"
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define TOR_CRYPTO_FORMAT_H
|
||||
|
||||
#include "common/testsupport.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/crypto_ed25519.h"
|
||||
|
||||
int crypto_write_tagged_contents_to_file(const char *fname,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef CRYPTO_PWBOX_H_INCLUDED_
|
||||
#define CRYPTO_PWBOX_H_INCLUDED_
|
||||
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
#define UNPWBOX_OKAY 0
|
||||
#define UNPWBOX_BAD_SECRET -1
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#ifndef TOR_CRYPTO_RAND_H
|
||||
#define TOR_CRYPTO_RAND_H
|
||||
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/util.h"
|
||||
|
||||
/* random numbers */
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "common/crypto_digest.h"
|
||||
#include <stdio.h>
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/testsupport.h"
|
||||
#include "common/compat.h"
|
||||
#include "common/util.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define TOR_CRYPTO_S2K_H_INCLUDED
|
||||
|
||||
#include <stdio.h>
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
/** Length of RFC2440-style S2K specifier: the first 8 bytes are a salt, the
|
||||
* 9th describes how much iteration to do. */
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#ifndef TOR_CRYPTO_UTIL_H
|
||||
#define TOR_CRYPTO_UTIL_H
|
||||
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
/** OpenSSL-based utility functions. */
|
||||
void memwipe(void *mem, uint8_t byte, size_t sz);
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "common/container.h"
|
||||
#include "lib/err/torerr.h"
|
||||
#include "common/torlog.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/util.h"
|
||||
#include "tor_queue.h"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#define SANDBOX_H_
|
||||
|
||||
#include "orconfig.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
#ifndef SYS_SECCOMP
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef TOR_TOKEN_BUCKET_H
|
||||
#define TOR_TOKEN_BUCKET_H
|
||||
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/testsupport.h"
|
||||
|
||||
/** Largest allowable burst value for a token buffer. */
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
#include "common/util.h"
|
||||
#include "common/torlog.h"
|
||||
#include "common/crypto_digest.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/container.h"
|
||||
#include "common/address.h"
|
||||
#include "common/sandbox.h"
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
#define TOR_UTIL_H
|
||||
|
||||
#include "orconfig.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "common/compat.h"
|
||||
#include "lib/ctime/di_ops.h"
|
||||
#include "common/testsupport.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "common/torlog.h"
|
||||
#include "common/util.h"
|
||||
#include "common/util_format.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#define TOR_UTIL_FORMAT_H
|
||||
|
||||
#include "common/testsupport.h"
|
||||
#include "common/torint.h"
|
||||
#include "lib/cc/torint.h"
|
||||
|
||||
/** @{ */
|
||||
/** These macros don't check for overflow. Use them only for constant inputs
|
||||
|
||||
Reference in New Issue
Block a user