Tor  0.4.7.0-alpha-dev
uname.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 uname.h
8  * \brief Header for uname.c
9  **/
10 
11 #ifndef HAVE_TOR_UNAME_H
12 #define HAVE_TOR_UNAME_H
13 
15 
16 MOCK_DECL(const char *, get_uname,(void));
17 
18 #endif /* !defined(HAVE_TOR_UNAME_H) */
Macros to implement mocking and selective exposure for the test code.
#define MOCK_DECL(rv, funcname, arglist)
Definition: testsupport.h:127
const char * get_uname(void)
Definition: uname.c:67