mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
doxygen: add @file declarations for src/core/or
If a file doesn't use the file command (either \file or @file), Doxygen won't try to process it.
This commit is contained in:
parent
943fd734f9
commit
ff7a70ca09
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file addr_policy_st.h
|
||||
* @brief Address policy structures.
|
||||
**/
|
||||
|
||||
#ifndef TOR_ADDR_POLICY_ST_H
|
||||
#define TOR_ADDR_POLICY_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file cell_queue_st.h
|
||||
* @brief Cell queue structures
|
||||
**/
|
||||
|
||||
#ifndef PACKED_CELL_ST_H
|
||||
#define PACKED_CELL_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file cell_st.h
|
||||
* @brief Fixed-size cell structure.
|
||||
**/
|
||||
|
||||
#ifndef CELL_ST_H
|
||||
#define CELL_ST_H
|
||||
|
||||
@ -17,4 +22,3 @@ struct cell_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(CELL_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file channelpadding.c
|
||||
* @brief Link-level padding code.
|
||||
**/
|
||||
|
||||
/* TOR_CHANNEL_INTERNAL_ define needed for an O(1) implementation of
|
||||
* channelpadding_channel_to_channelinfo() */
|
||||
#define TOR_CHANNEL_INTERNAL_
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file circuit_st.h
|
||||
* @brief Base circuit structure.
|
||||
**/
|
||||
|
||||
#ifndef CIRCUIT_ST_H
|
||||
#define CIRCUIT_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file connection_st.h
|
||||
* @brief Base connection structure.
|
||||
**/
|
||||
|
||||
#ifndef CONNECTION_ST_H
|
||||
#define CONNECTION_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file cpath_build_state_st.h
|
||||
* @brief Circuit-build-stse structure
|
||||
**/
|
||||
|
||||
#ifndef CIRCUIT_BUILD_STATE_ST_ST_H
|
||||
#define CIRCUIT_BUILD_STATE_ST_ST_H
|
||||
|
||||
@ -35,4 +40,3 @@ struct cpath_build_state_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(CIRCUIT_BUILD_STATE_ST_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file crypt_path_reference_st.h
|
||||
* @brief reference-counting structure for crypt_path_t
|
||||
**/
|
||||
|
||||
#ifndef CRYPT_PATH_REFERENCE_ST_H
|
||||
#define CRYPT_PATH_REFERENCE_ST_H
|
||||
|
||||
@ -20,4 +25,3 @@ struct crypt_path_reference_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(CRYPT_PATH_REFERENCE_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file crypt_path_st.h
|
||||
* @brief Path structures for origin circuits.
|
||||
**/
|
||||
|
||||
#ifndef CRYPT_PATH_ST_H
|
||||
#define CRYPT_PATH_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file destroy_cell_queue_st.h
|
||||
* @brief Destroy-cell queue structures
|
||||
**/
|
||||
|
||||
#ifndef DESTROY_CELL_QUEUE_ST_H
|
||||
#define DESTROY_CELL_QUEUE_ST_H
|
||||
|
||||
@ -24,4 +29,3 @@ struct destroy_cell_queue_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(DESTROY_CELL_QUEUE_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file edge_connection_st.h
|
||||
* @brief Edge-connection structure.
|
||||
**/
|
||||
|
||||
#ifndef EDGE_CONNECTION_ST_H
|
||||
#define EDGE_CONNECTION_ST_H
|
||||
|
||||
@ -74,4 +79,3 @@ struct edge_connection_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(EDGE_CONNECTION_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file entry_connection_st.h
|
||||
* @brief Entry connection structure.
|
||||
**/
|
||||
|
||||
#ifndef ENTRY_CONNECTION_ST_H
|
||||
#define ENTRY_CONNECTION_ST_H
|
||||
|
||||
@ -97,4 +102,3 @@ struct entry_connection_t {
|
||||
#define ENTRY_TO_EDGE_CONN(c) (&(((c))->edge_))
|
||||
|
||||
#endif /* !defined(ENTRY_CONNECTION_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file entry_port_cfg_st.h
|
||||
* @brief Configuration structure for client ports.
|
||||
**/
|
||||
|
||||
#ifndef ENTRY_PORT_CFG_ST_H
|
||||
#define ENTRY_PORT_CFG_ST_H
|
||||
|
||||
@ -51,4 +56,3 @@ struct entry_port_cfg_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(ENTRY_PORT_CFG_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file extend_info_st.h
|
||||
* @brief Extend-info structure.
|
||||
**/
|
||||
|
||||
#ifndef EXTEND_INFO_ST_H
|
||||
#define EXTEND_INFO_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file half_edge_st.h
|
||||
* @brief Half-open connection structure.
|
||||
**/
|
||||
|
||||
#ifndef HALF_EDGE_ST_H
|
||||
#define HALF_EDGE_ST_H
|
||||
|
||||
@ -31,4 +36,3 @@ typedef struct half_edge_t {
|
||||
} half_edge_t;
|
||||
|
||||
#endif /* !defined(HALF_EDGE_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file listener_connection_st.h
|
||||
* @brief Listener connection structure.
|
||||
**/
|
||||
|
||||
#ifndef LISTENER_CONNECTION_ST_H
|
||||
#define LISTENER_CONNECTION_ST_H
|
||||
|
||||
@ -22,4 +27,3 @@ struct listener_connection_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(LISTENER_CONNECTION_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file or_connection_st.h
|
||||
* @brief OR connection structure.
|
||||
**/
|
||||
|
||||
#ifndef OR_CONNECTION_ST_H
|
||||
#define OR_CONNECTION_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file or_handshake_certs_st.h
|
||||
* @brief OR handshake certs structure
|
||||
**/
|
||||
|
||||
#ifndef OR_HANDSHAKE_CERTS_ST
|
||||
#define OR_HANDSHAKE_CERTS_ST
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file or_handshake_state_st.h
|
||||
* @brief OR handshake state structure
|
||||
**/
|
||||
|
||||
#ifndef OR_HANDSHAKE_STATE_ST
|
||||
#define OR_HANDSHAKE_STATE_ST
|
||||
|
||||
@ -75,4 +80,3 @@ struct or_handshake_state_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(OR_HANDSHAKE_STATE_ST) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file origin_circuit_st.h
|
||||
* @brief Origin circuit structure.
|
||||
**/
|
||||
|
||||
#ifndef ORIGIN_CIRCUIT_ST_H
|
||||
#define ORIGIN_CIRCUIT_ST_H
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file port_cfg_st.h
|
||||
* @brief Listener port configuration structure.
|
||||
**/
|
||||
|
||||
#ifndef PORT_CFG_ST_H
|
||||
#define PORT_CFG_ST_H
|
||||
|
||||
@ -32,4 +37,3 @@ struct port_cfg_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(PORT_CFG_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file relay_crypto_st.h
|
||||
* @brief Relay-cell encryption state structure.
|
||||
**/
|
||||
|
||||
#ifndef RELAY_CRYPTO_ST_H
|
||||
#define RELAY_CRYPTO_ST_H
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
/* Copyright (c) 2017-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file scheduler_kist.c
|
||||
* @brief Implements the KIST cell scheduler.
|
||||
**/
|
||||
|
||||
#define SCHEDULER_KIST_PRIVATE
|
||||
|
||||
#include "core/or/or.h"
|
||||
|
@ -1,6 +1,11 @@
|
||||
/* Copyright (c) 2017-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file scheduler_vanilla.c
|
||||
* @brief "Vanilla" (pre-KIST) cell scheduler code.
|
||||
**/
|
||||
|
||||
#include "core/or/or.h"
|
||||
#include "app/config/config.h"
|
||||
#define TOR_CHANNEL_INTERNAL_
|
||||
@ -172,4 +177,3 @@ get_vanilla_scheduler(void)
|
||||
{
|
||||
return &vanilla_scheduler;
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file server_port_cfg_st.h
|
||||
* @brief Cnfiguration structure for server ports.
|
||||
**/
|
||||
|
||||
#ifndef SERVER_PORT_CFG_ST_H
|
||||
#define SERVER_PORT_CFG_ST_H
|
||||
|
||||
@ -17,4 +22,3 @@ struct server_port_cfg_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(SERVER_PORT_CFG_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file socks_request_st.h
|
||||
* @brief Client request structure.
|
||||
**/
|
||||
|
||||
#ifndef SOCKS_REQUEST_ST_H
|
||||
#define SOCKS_REQUEST_ST_H
|
||||
|
||||
|
@ -1,6 +1,11 @@
|
||||
/* Copyright (c) 2010-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file status.h
|
||||
* @brief Header for status.c
|
||||
**/
|
||||
|
||||
#ifndef TOR_STATUS_H
|
||||
#define TOR_STATUS_H
|
||||
|
||||
@ -15,4 +20,3 @@ STATIC char *bytes_to_usage(uint64_t bytes);
|
||||
#endif
|
||||
|
||||
#endif /* !defined(TOR_STATUS_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file tor_version_st.h
|
||||
* @brief Parsed Tor version structure.
|
||||
**/
|
||||
|
||||
#ifndef TOR_VERSION_ST_H
|
||||
#define TOR_VERSION_ST_H
|
||||
|
||||
@ -29,4 +34,3 @@ struct tor_version_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(TOR_VERSION_ST_H) */
|
||||
|
||||
|
@ -4,6 +4,11 @@
|
||||
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
||||
/* See LICENSE for licensing information */
|
||||
|
||||
/**
|
||||
* @file var_cell_st.h
|
||||
* @brief Variable-length cell structure.
|
||||
**/
|
||||
|
||||
#ifndef VAR_CELL_ST_H
|
||||
#define VAR_CELL_ST_H
|
||||
|
||||
@ -20,4 +25,3 @@ struct var_cell_t {
|
||||
};
|
||||
|
||||
#endif /* !defined(VAR_CELL_ST_H) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user