tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

gethostname.h (491B)


      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 gethostname.h
      8 * \brief Header for gethostname.c
      9 **/
     10 
     11 #ifndef TOR_GETHOSTNAME_H
     12 #define TOR_GETHOSTNAME_H
     13 
     14 #include "lib/testsupport/testsupport.h"
     15 #include <stddef.h>
     16 
     17 MOCK_DECL(int,tor_gethostname,(char *name, size_t namelen));
     18 
     19 #endif /* !defined(TOR_GETHOSTNAME_H) */