2018-06-28 17:57:01 +02:00
|
|
|
/* Copyright (c) 2003-2004, Roger Dingledine
|
|
|
|
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
|
2019-01-16 18:33:22 +01:00
|
|
|
* Copyright (c) 2007-2019, The Tor Project, Inc. */
|
2018-06-28 17:57:01 +02:00
|
|
|
/* See LICENSE for licensing information */
|
|
|
|
|
2018-07-10 18:22:01 +02:00
|
|
|
/**
|
|
|
|
* \file gethostname.h
|
|
|
|
* \brief Header for gethostname.c
|
|
|
|
**/
|
|
|
|
|
2018-06-28 17:57:01 +02:00
|
|
|
#ifndef TOR_GETHOSTNAME_H
|
|
|
|
#define TOR_GETHOSTNAME_H
|
|
|
|
|
|
|
|
#include "lib/testsupport/testsupport.h"
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
MOCK_DECL(int,tor_gethostname,(char *name, size_t namelen));
|
|
|
|
|
2019-06-05 15:33:35 +02:00
|
|
|
#endif /* !defined(TOR_GETHOSTNAME_H) */
|