WireGuardKit: Add swift package scaffolding
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright © 2018-2019 WireGuard LLC. All Rights Reserved.
|
||||
|
||||
import Foundation
|
||||
import libwg_go
|
||||
|
||||
public func getWireGuardVersion() -> String {
|
||||
return String(cString: wgVersion()!)
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
// Empty
|
||||
@@ -0,0 +1 @@
|
||||
#include "../../../../wireguard-go-bridge/wireguard.h"
|
||||
@@ -0,0 +1,5 @@
|
||||
module libwg_go {
|
||||
umbrella header "include/libwg_go.h"
|
||||
link "wg-go"
|
||||
export *
|
||||
}
|
||||
Reference in New Issue
Block a user