Tor
0.4.7.0-alpha-dev
lib
wallclock
tor_gettimeofday.h
Go to the documentation of this file.
1
/* Copyright (c) 2003-2004, Roger Dingledine
2
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3
* Copyright (c) 2007-2021, The Tor Project, Inc. */
4
/* See LICENSE for licensing information */
5
6
/**
7
* \file tor_gettimeofday.h
8
* \brief Header for tor_gettimeofday.c
9
**/
10
11
#ifndef TOR_GETTIMEOFDAY_H
12
#define TOR_GETTIMEOFDAY_H
13
14
#include "
lib/testsupport/testsupport.h
"
15
16
struct
timeval
;
17
18
MOCK_DECL
(
void
,
tor_gettimeofday
, (
struct
timeval
*
timeval
));
19
20
#endif
/* !defined(TOR_GETTIMEOFDAY_H) */
timeval
Definition:
compat_time.h:151
testsupport.h
Macros to implement mocking and selective exposure for the test code.
MOCK_DECL
#define MOCK_DECL(rv, funcname, arglist)
Definition:
testsupport.h:127
tor_gettimeofday
void tor_gettimeofday(struct timeval *timeval)
Definition:
tor_gettimeofday.c:42
Generated by
1.9.1