diff options
author | Simon Rozman <simon@rozman.si> | 2020-07-07 15:42:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-10-30 16:50:58 +0100 |
commit | d3a63116bae420db751bb2243f72baaa3b61c441 (patch) | |
tree | f6efa29387261a51750861e98acc66d9b85974be /api/exports.def | |
parent | api: port nci package from wireguard-go (diff) | |
download | wintun-d3a63116bae420db751bb2243f72baaa3b61c441.tar.xz wintun-d3a63116bae420db751bb2243f72baaa3b61c441.zip |
api: port GetInterface member from wireguard-go
Mind that this also fixes the order of adapter detection checks. A fast
test to eliminate non-Wintun adapters from iteration to speed things up
rendered the method incapable of detecting a non-Wintun adapter with the
name we are looking for.
ERROR_OBJECT_NOT_FOUND was replaced with ERROR_FILE_NOT_FOUND.
Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'api/exports.def')
-rw-r--r-- | api/exports.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/exports.def b/api/exports.def index e69de29..83903fc 100644 --- a/api/exports.def +++ b/api/exports.def @@ -0,0 +1,3 @@ +EXPORTS + WintunFreeAdapter + WintunGetAdapter |