Separated main code from UI and PLATform support code, plus other generally small fixes here and there.

This commit is contained in:
waltje
2017-10-10 03:07:29 -04:00
parent e88899bb3c
commit bd89e66b7b
47 changed files with 924 additions and 872 deletions

View File

@@ -10,16 +10,18 @@
*
* Based on the "libpcap" examples.
*
* Version: @(#)pcap_if.c 1.0.3 2017/06/04
* Version: @(#)pcap_if.c 1.0.4 2017/10/09
*
* Author: Fred N. van Kempen, <decwiz@yahoo.com>
*
* Copyright 2017 Fred N. van Kempen.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <pcap.h>
#include "plat_dynld.h"
#include "../win/plat_dynld.h"
static void *pcap_handle; /* handle to WinPcap DLL */