aboutsummaryrefslogtreecommitdiff
path: root/src/lib/net/gethostname.h
blob: 69b0528bc0ffb4e8cd1b4ad2692f933a30cfa015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright (c) 2003-2004, Roger Dingledine
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2019, The Tor Project, Inc. */
/* See LICENSE for licensing information */

/**
 * \file gethostname.h
 * \brief Header for gethostname.c
 **/

#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