tor/src/lib/log/win32err.h
2019-06-05 09:33:35 -04:00

22 lines
487 B
C

/* 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 win32err.h
* \brief Header for win32err.c
**/
#ifndef TOR_WIN32ERR_H
#define TOR_WIN32ERR_H
#include "orconfig.h"
/* Platform-specific helpers. */
#ifdef _WIN32
#include <windef.h>
char *format_win32_error(DWORD err);
#endif
#endif /* !defined(TOR_WIN32ERR_H) */