win32err.h 456 B

12345678910111213141516171819202122
  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 win32err.h
  7. * \brief Header for win32err.c
  8. **/
  9. #ifndef TOR_WIN32ERR_H
  10. #define TOR_WIN32ERR_H
  11. #include "orconfig.h"
  12. /* Platform-specific helpers. */
  13. #ifdef _WIN32
  14. #include <windef.h>
  15. char *format_win32_error(DWORD err);
  16. #endif
  17. #endif