aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/uapi_windows.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ipc/uapi_windows.go (renamed from uapi_windows.go)10
1 files changed, 5 insertions, 5 deletions
diff --git a/uapi_windows.go b/ipc/uapi_windows.go
index 64917f5..209d0d2 100644
--- a/uapi_windows.go
+++ b/ipc/uapi_windows.go
@@ -3,7 +3,7 @@
* Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved.
*/
-package main
+package ipc
import (
"github.com/Microsoft/go-winio"
@@ -12,10 +12,10 @@ import (
//TODO: replace these with actual standard windows error numbers from the win package
const (
- ipcErrorIO = -int64(5)
- ipcErrorProtocol = -int64(71)
- ipcErrorInvalid = -int64(22)
- ipcErrorPortInUse = -int64(98)
+ IpcErrorIO = -int64(5)
+ IpcErrorProtocol = -int64(71)
+ IpcErrorInvalid = -int64(22)
+ IpcErrorPortInUse = -int64(98)
)
type UAPIListener struct {