mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
sr: Rename shared_random_common.{c|h} to shared_random_client.{c|h}
No code behavior change. Pars of #25988 Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
parent
2d79d0155e
commit
70c92c3366
@ -76,7 +76,7 @@
|
|||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "routerlist.h"
|
#include "routerlist.h"
|
||||||
#include "routerparse.h"
|
#include "routerparse.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
@ -96,7 +96,7 @@
|
|||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "routerlist.h"
|
#include "routerlist.h"
|
||||||
#include "shared_random_state.h"
|
#include "shared_random_state.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "voting_schedule.h"
|
#include "voting_schedule.h"
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "networkstatus.h"
|
#include "networkstatus.h"
|
||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "shared_random_state.h"
|
#include "shared_random_state.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
|
|
||||||
#include "dirauth/dirvote.h"
|
#include "dirauth/dirvote.h"
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
#include "rendservice.h"
|
#include "rendservice.h"
|
||||||
#include "routerset.h"
|
#include "routerset.h"
|
||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
#include "dirauth/shared_random_state.h"
|
#include "dirauth/shared_random_state.h"
|
||||||
|
|
||||||
/* Trunnel */
|
/* Trunnel */
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "routerkeys.h"
|
#include "routerkeys.h"
|
||||||
#include "routerlist.h"
|
#include "routerlist.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
#include "statefile.h"
|
#include "statefile.h"
|
||||||
|
|
||||||
#include "hs_circuit.h"
|
#include "hs_circuit.h"
|
||||||
|
@ -103,7 +103,7 @@ LIBTOR_A_SOURCES = \
|
|||||||
src/or/scheduler.c \
|
src/or/scheduler.c \
|
||||||
src/or/scheduler_kist.c \
|
src/or/scheduler_kist.c \
|
||||||
src/or/scheduler_vanilla.c \
|
src/or/scheduler_vanilla.c \
|
||||||
src/or/shared_random_common.c \
|
src/or/shared_random_client.c \
|
||||||
src/or/statefile.c \
|
src/or/statefile.c \
|
||||||
src/or/status.c \
|
src/or/status.c \
|
||||||
src/or/torcert.c \
|
src/or/torcert.c \
|
||||||
@ -265,7 +265,7 @@ ORHEADERS = \
|
|||||||
src/or/routerset.h \
|
src/or/routerset.h \
|
||||||
src/or/routerparse.h \
|
src/or/routerparse.h \
|
||||||
src/or/scheduler.h \
|
src/or/scheduler.h \
|
||||||
src/or/shared_random_common.h \
|
src/or/shared_random_client.h \
|
||||||
src/or/statefile.h \
|
src/or/statefile.h \
|
||||||
src/or/status.h \
|
src/or/status.h \
|
||||||
src/or/torcert.h \
|
src/or/torcert.h \
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
#include "entrynodes.h"
|
#include "entrynodes.h"
|
||||||
#include "torcert.h"
|
#include "torcert.h"
|
||||||
#include "sandbox.h"
|
#include "sandbox.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
#include "voting_schedule.h"
|
#include "voting_schedule.h"
|
||||||
#include "dirauth/shared_random.h"
|
#include "dirauth/shared_random.h"
|
||||||
|
|
||||||
|
@ -2,14 +2,14 @@
|
|||||||
/* See LICENSE for licensing information */
|
/* See LICENSE for licensing information */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file shared_random_common.c
|
* \file shared_random_client.c
|
||||||
* \brief This file contains functions that are from the shared random
|
* \brief This file contains functions that are from the shared random
|
||||||
* subsystem but used by many part of tor. The full feature is built
|
* subsystem but used by many part of tor. The full feature is built
|
||||||
* as part of the dirauth module.
|
* as part of the dirauth module.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#define SHARED_RANDOM_COMMON_PRIVATE
|
#define SHARED_RANDOM_CLIENT_PRIVATE
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "voting_schedule.h"
|
#include "voting_schedule.h"
|
@ -2,12 +2,12 @@
|
|||||||
/* See LICENSE for licensing information */
|
/* See LICENSE for licensing information */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file shared_random_common.h
|
* \file shared_random_client.h
|
||||||
* \brief Header file for shared_random_common.c.
|
* \brief Header file for shared_random_client.c.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#ifndef TOR_SHARED_RANDOM_COMMON_H
|
#ifndef TOR_SHARED_RANDOM_CLIENT_H
|
||||||
#define TOR_SHARED_RANDOM_COMMON_H
|
#define TOR_SHARED_RANDOM_CLIENT_H
|
||||||
|
|
||||||
/* Dirauth module. */
|
/* Dirauth module. */
|
||||||
#include "dirauth/shared_random.h"
|
#include "dirauth/shared_random.h"
|
||||||
@ -43,5 +43,5 @@ time_t get_start_time_of_current_round(void);
|
|||||||
|
|
||||||
#endif /* TOR_UNIT_TESTS */
|
#endif /* TOR_UNIT_TESTS */
|
||||||
|
|
||||||
#endif /* TOR_SHARED_RANDOM_COMMON_H */
|
#endif /* TOR_SHARED_RANDOM_CLIENT_H */
|
||||||
|
|
@ -16,7 +16,7 @@
|
|||||||
#include "routerlist.h"
|
#include "routerlist.h"
|
||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "routerparse.h"
|
#include "routerparse.h"
|
||||||
#include "shared_random_common.h"
|
#include "shared_random_client.h"
|
||||||
#include "networkstatus.h"
|
#include "networkstatus.h"
|
||||||
#include "log_test_helpers.h"
|
#include "log_test_helpers.h"
|
||||||
#include "voting_schedule.h"
|
#include "voting_schedule.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user