wintun/api
Jason A. Donenfeld 1201c9f346 api: ensure more code compiles by using dead code elimination
It'd be nicer to do this via

if (is_defined(HAVE_WHATEVER))

But MSVC won't work with the linux kernel macros for this. Ongoing
research.

Nevertheless, this makes most of the program always pass through the
compiler's type checker, only to have dead code removed later.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-03 02:25:57 +01:00
..
adapter.c api: ensure more code compiles by using dead code elimination 2020-11-03 02:25:57 +01:00
adapter.h api: install driver on demand 2020-11-02 23:33:20 +01:00
api.vcxproj api: begin to separate rundll32 jumps 2020-11-03 02:25:20 +01:00
api.vcxproj.filters api: begin to separate rundll32 jumps 2020-11-03 02:25:20 +01:00
elevate.c api: get rid of pch and make headers sane 2020-10-31 19:11:51 +01:00
elevate.h api: get rid of pch and make headers sane 2020-10-31 19:11:51 +01:00
entry.c api: ensure more code compiles by using dead code elimination 2020-11-03 02:25:57 +01:00
entry.h api: ensure more code compiles by using dead code elimination 2020-11-03 02:25:57 +01:00
exports.def api: install driver on demand 2020-11-02 23:33:20 +01:00
logger.c api: consistancy in exported interface 2020-11-02 23:33:20 +01:00
logger.h api: check for duplicate adapter status 2020-11-02 09:17:47 +01:00
namespace.c api: serialize driver installation 2020-11-02 12:07:05 +01:00
namespace.h api: serialize driver installation 2020-11-02 12:07:05 +01:00
nci.def api: make nci.lib work on x86 2020-11-02 11:38:02 +01:00
nci.h api: make nci.lib work on x86 2020-11-02 11:38:02 +01:00
ntldr.h api: check for duplicate adapter status 2020-11-02 09:17:47 +01:00
pch.c api: add pre-compiled header support 2020-10-30 16:50:58 +01:00
registry.c api: check buffer overflows in runtime 2020-10-31 19:11:57 +01:00
registry.h api: check buffer overflows in runtime 2020-10-31 19:11:57 +01:00
resource.c api: simplify and unify error messages 2020-11-02 12:19:36 +01:00
resource.h api: use standard C void 2020-10-30 16:51:01 +01:00
resources.rc api: simplify driver selection by always including EV driver 2020-10-31 10:41:49 +01:00
rundll32.c api: ensure more code compiles by using dead code elimination 2020-11-03 02:25:57 +01:00
rundll32.h api: begin to separate rundll32 jumps 2020-11-03 02:25:20 +01:00
session.c example: rewrite and replace api's debug rundll32 functionality 2020-11-02 23:42:43 +01:00
wintun.h api: pass around NET_LUID instead of LUID 2020-11-02 23:33:20 +01:00