mirror of
https://github.com/nmap/nmap.git
synced 2025-12-18 13:39:02 +00:00
27 lines
389 B
C
27 lines
389 B
C
#ifndef WINFIX_H
|
|
#define WINFIX_H
|
|
|
|
#include <winsock2.h>
|
|
#include <windows.h>
|
|
#include <ws2tcpip.h>
|
|
#include <iphlpapi.h>
|
|
|
|
#ifndef EXTERNC
|
|
# ifdef __cplusplus
|
|
# define EXTERNC extern "C"
|
|
# else
|
|
# define EXTERNC extern
|
|
# endif
|
|
#endif
|
|
|
|
// windows-specific options
|
|
|
|
#include <pcap.h>
|
|
|
|
/* (exported) functions */
|
|
EXTERNC void win_init();
|
|
EXTERNC void win_barf(const char *msg);
|
|
#endif
|
|
|
|
|