tor  0.4.0.1-alpha
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-2019, The Tor Project, Inc. */
4 /* See LICENSE for licensing information */
5 
11 #ifndef TOR_GETTIMEOFDAY_H
12 #define TOR_GETTIMEOFDAY_H
13 
15 
16 struct timeval;
17 
18 MOCK_DECL(void, tor_gettimeofday, (struct timeval *timeval));
19 
20 #endif
Macros to implement mocking and selective exposure for the test code.
#define MOCK_DECL(rv, funcname, arglist)
Definition: testsupport.h:94