aboutsummaryrefslogtreecommitdiff
path: root/src/lib/log/win32err.h
blob: 5c1386a64db9d1d427edbbbd987c7fecbca24091 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright (c) 2003-2004, Roger Dingledine
 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
 * Copyright (c) 2007-2020, 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) */