gethostname.h 457 B

12345678910111213141516171819
  1. /* Copyright (c) 2003-2004, Roger Dingledine
  2. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  3. * Copyright (c) 2007-2018, The Tor Project, Inc. */
  4. /* See LICENSE for licensing information */
  5. /**
  6. * \file gethostname.h
  7. * \brief Header for gethostname.c
  8. **/
  9. #ifndef TOR_GETHOSTNAME_H
  10. #define TOR_GETHOSTNAME_H
  11. #include "lib/testsupport/testsupport.h"
  12. #include <stddef.h>
  13. MOCK_DECL(int,tor_gethostname,(char *name, size_t namelen));
  14. #endif