aboutsummaryrefslogtreecommitdiff
path: root/src/platform/windows/win_debug.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-10-06 18:25:56 -0700
committerGarrett D'Amore <garrett@damore.org>2017-10-09 17:12:31 -0700
commitf14cdb705cc11f39a4702c28f22007ffaaf7c9e1 (patch)
tree8ca8b7b08e0ffc14a6c9283483bf1170fee31cd0 /src/platform/windows/win_debug.c
parent52d37858451ad23f077294fc78b1a3f56255c32f (diff)
downloadnng-f14cdb705cc11f39a4702c28f22007ffaaf7c9e1.tar.gz
nng-f14cdb705cc11f39a4702c28f22007ffaaf7c9e1.tar.bz2
nng-f14cdb705cc11f39a4702c28f22007ffaaf7c9e1.zip
New platform API for storage methods.
This includes converting the ZeroTier transport to use these. The new API supports file creation, retrieval, and deletion. It also supports directory methods for traversal, creation, and deletion. It also has a few methods to obtain well-known directories like $TMPDIR and $HOME. A rich test suite for this functionality is added as well.
Diffstat (limited to 'src/platform/windows/win_debug.c')
-rw-r--r--src/platform/windows/win_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/windows/win_debug.c b/src/platform/windows/win_debug.c
index 0113af58..00e327db 100644
--- a/src/platform/windows/win_debug.c
+++ b/src/platform/windows/win_debug.c
@@ -87,6 +87,7 @@ static struct {
{
// clang-format off
{ ERROR_FILE_NOT_FOUND, NNG_ENOENT },
+ { ERROR_PATH_NOT_FOUND, NNG_ENOENT },
{ ERROR_ACCESS_DENIED, NNG_EPERM },
{ ERROR_INVALID_HANDLE, NNG_ECLOSED },
{ ERROR_NOT_ENOUGH_MEMORY, NNG_ENOMEM },