aboutsummaryrefslogtreecommitdiffstats
path: root/api/nci.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* api: make nci.lib work on x86Jason A. Donenfeld2020-11-021-3/+14
| | | | | | | | | | This is an appalling hack. We need the lib tool to generate a coff lib with the "undecorate" parameter. And apparently the only way to do this with the MSVC tools is by making a stub object, and then rewriting the symbols using the def file. See Q131313 for Microsoft-sanctioned details. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* api: link to nci.dll at compile timeJason A. Donenfeld2020-10-311-10/+3
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Simon Rozman <simon@rozman.si>
* api: refuse to load DLL on init failureSimon Rozman2020-10-311-1/+2
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* api: fix zero-parameter C function prototypesSimon Rozman2020-10-311-2/+2
| | | | | Reported-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Simon Rozman <simon@rozman.si>
* api: split api.hSimon Rozman2020-10-301-0/+22
As the project grew, api.h got bloated. Signed-off-by: Simon Rozman <simon@rozman.si>