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:
David Goulet 2018-05-01 11:31:33 -04:00
parent 2d79d0155e
commit 70c92c3366
10 changed files with 17 additions and 17 deletions

View File

@ -76,7 +76,7 @@
#include "router.h"
#include "routerlist.h"
#include "routerparse.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#ifndef _WIN32
#include <pwd.h>

View File

@ -96,7 +96,7 @@
#include "router.h"
#include "routerlist.h"
#include "shared_random_state.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#include "util.h"
#include "voting_schedule.h"

View File

@ -18,7 +18,7 @@
#include "networkstatus.h"
#include "router.h"
#include "shared_random_state.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#include "dirauth/dirvote.h"

View File

@ -28,7 +28,7 @@
#include "rendservice.h"
#include "routerset.h"
#include "router.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#include "dirauth/shared_random_state.h"
/* Trunnel */

View File

@ -24,7 +24,7 @@
#include "router.h"
#include "routerkeys.h"
#include "routerlist.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#include "statefile.h"
#include "hs_circuit.h"

View File

@ -103,7 +103,7 @@ LIBTOR_A_SOURCES = \
src/or/scheduler.c \
src/or/scheduler_kist.c \
src/or/scheduler_vanilla.c \
src/or/shared_random_common.c \
src/or/shared_random_client.c \
src/or/statefile.c \
src/or/status.c \
src/or/torcert.c \
@ -265,7 +265,7 @@ ORHEADERS = \
src/or/routerset.h \
src/or/routerparse.h \
src/or/scheduler.h \
src/or/shared_random_common.h \
src/or/shared_random_client.h \
src/or/statefile.h \
src/or/status.h \
src/or/torcert.h \

View File

@ -74,7 +74,7 @@
#include "entrynodes.h"
#include "torcert.h"
#include "sandbox.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#include "voting_schedule.h"
#include "dirauth/shared_random.h"

View File

@ -2,14 +2,14 @@
/* 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
* subsystem but used by many part of tor. The full feature is built
* as part of the dirauth module.
**/
#define SHARED_RANDOM_COMMON_PRIVATE
#include "shared_random_common.h"
#define SHARED_RANDOM_CLIENT_PRIVATE
#include "shared_random_client.h"
#include "config.h"
#include "voting_schedule.h"

View File

@ -2,12 +2,12 @@
/* See LICENSE for licensing information */
/**
* \file shared_random_common.h
* \brief Header file for shared_random_common.c.
* \file shared_random_client.h
* \brief Header file for shared_random_client.c.
**/
#ifndef TOR_SHARED_RANDOM_COMMON_H
#define TOR_SHARED_RANDOM_COMMON_H
#ifndef TOR_SHARED_RANDOM_CLIENT_H
#define TOR_SHARED_RANDOM_CLIENT_H
/* Dirauth module. */
#include "dirauth/shared_random.h"
@ -43,5 +43,5 @@ time_t get_start_time_of_current_round(void);
#endif /* TOR_UNIT_TESTS */
#endif /* TOR_SHARED_RANDOM_COMMON_H */
#endif /* TOR_SHARED_RANDOM_CLIENT_H */

View File

@ -16,7 +16,7 @@
#include "routerlist.h"
#include "router.h"
#include "routerparse.h"
#include "shared_random_common.h"
#include "shared_random_client.h"
#include "networkstatus.h"
#include "log_test_helpers.h"
#include "voting_schedule.h"