gethostname.h 389 B

1234567891011121314
  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. #ifndef TOR_GETHOSTNAME_H
  6. #define TOR_GETHOSTNAME_H
  7. #include "lib/testsupport/testsupport.h"
  8. #include <stddef.h>
  9. MOCK_DECL(int,tor_gethostname,(char *name, size_t namelen));
  10. #endif