tor/src/lib/net/gethostname.h

20 lines
457 B
C
Raw Normal View History

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 */
/**
* \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));
#endif