more libs, more stubs... i'll get there one day

svn path=/trunk/; revision=21363
This commit is contained in:
Richard van der Hoff 2007-04-10 11:51:16 +00:00
parent 38b1e3f285
commit d72a70d653
2 changed files with 23 additions and 0 deletions

View File

@ -195,6 +195,8 @@ tvbtest: tvbtest.exe
# don't really understand why we need all this extra guff - shouldn't
# they be in libwireshark.lib, otherwise how does tshark.exe link?
REASSEMBLE_TEST_LIBS=\
$(NET_SNMP_LIBS) \
wsock32.lib user32.lib \
dissectors\dissectors.lib \
crypt\airpdcap.lib \
dfilter\dfilter.lib \
@ -204,6 +206,7 @@ REASSEMBLE_TEST_LIBS=\
$(ZLIB_LIBS) \
$(GLIB_LIBS) \
$(GNUTLS_LIBS) \
$(WSLUA_LIB) \
libwireshark.lib

View File

@ -1065,3 +1065,23 @@ const unsigned mpa_samples[3][3];
const unsigned mpa_bitrates[3][3][16];
const unsigned mpa_frequencies[3][4];
const unsigned mpa_padding[3];
#include "wiretap/file_util.h"
/* these are used by the wiretap file_util stuffs under win32 */
int eth_stdio_stat (const gchar *filename _U_, struct stat *buf _U_)
{ return -1; }
int eth_stdio_fopen (const gchar *filename _U_, const gchar *mode _U_)
{ return 0; }
int eth_stdio_mkdir (const gchar *filename _U_, int mode _U_)
{ return -1; }
int eth_stdio_unlink (const gchar *filename _U_)
{ return -1; }