]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-int.h
Support AirPcap devices with a pcap module.
[libpcap] / pcap-int.h
index f07dc22fe9f5ef52a32fc36c19878f25265c3157..d67decefc398e2e730f4a579c9839aac468c57c1 100644 (file)
@@ -545,6 +545,17 @@ FILE       *charset_fopen(const char *path, const char *mode);
 #define charset_fopen(path, mode)      fopen((path), (mode))
 #endif
 
+/*
+ * Internal interfaces for loading code at run time.
+ */
+#ifdef _WIN32
+#define pcap_code_handle_t     HMODULE
+#define pcap_funcptr_t         FARPROC
+
+pcap_code_handle_t     pcap_load_code(const char *);
+pcap_funcptr_t         pcap_find_function(pcap_code_handle_t, const char *);
+#endif
+
 /*
  * Internal interfaces for doing user-mode filtering of packets and
  * validating filter programs.