/
githubmirror
/
nmap
Обзор
Документация
Войти
/
githubmirror
/
nmap
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
nping/winfix.h
31 строка
795 B
dmiller
Remove unneeded includes of pcap.h on Windows
29 май 2019, 18:22
29 май 2019, 18:22
9037c94
Код
Авторство
О чём код?
#ifndef WINFIX_H #define WINFIX_H #include <winsock2.h> #include <windows.h> #include <iphlpapi.h> #ifndef EXTERNC # ifdef __cplusplus # define EXTERNC extern "C" # else # define EXTERNC extern # endif #endif // windows-specific options /* (exported) functions */ /* The code that has no preconditions to being called, so it can be executed before even Nmap options parsing (so o.debugging and the like don't need to be used. Its main function is to do WSAStartup() as some of the option parsing code does DNS resolution */ EXTERNC void win_pre_init(); /* Requires that win_pre_init() has already been called, also that options processing has been done so that o.debugging is available */ EXTERNC void win_init(); EXTERNC void win_barf(const char *msg); #endif