Move the epan/filesystem.c routines to wsutil; they're not specific to

packet dissection, they're specific to the entire Wireshark suite of
programs.

svn path=/trunk/; revision=53377
This commit is contained in:
Guy Harris 2013-11-17 02:55:14 +00:00
parent dd1034e1f5
commit db25270df8
100 changed files with 114 additions and 104 deletions

View File

@ -747,7 +747,6 @@ endif()
set(WTAP_PLUGIN_SOURCES
epan/plugins.c
epan/filesystem.c
)
set(SHARK_COMMON_CAPTURE_SRC

View File

@ -312,8 +312,7 @@ plugin_ldadd = $(_CUSTOM_plugin_ldadd_) \
-dlopen plugins/wimaxmacphy/wimaxmacphy.la
WTAP_PLUGIN_SOURCES = \
epan/plugins.c \
epan/filesystem.c
epan/plugins.c
else # HAVE_PLUGINS

View File

@ -54,8 +54,7 @@ CFLAGS=$(WARNINGS_ARE_ERRORS) $(GENERATED_CFLAGS)
PLATFORM_SRC = capture-wpcap.c capture_wpcap_packet.c capture_win_ifnames.c
WTAP_PLUGIN_SOURCES = \
epan/plugins.c \
epan/filesystem.c
epan/plugins.c
include Makefile.common

View File

@ -76,16 +76,16 @@
#include <glib.h>
#include <wsutil/privileges.h>
#include <wsutil/filesystem.h>
/*
* The symbols declared in the below are exported from libwireshark,
* but we don't want to link whole libwireshark to editcap.
* but we don't want to link whole libwireshark to capinfos.
* We link the object directly instead and this needs a little trick
* with the WS_BUILD_DLL #define.
*/
#define WS_BUILD_DLL
#define RESET_SYMBOL_EXPORT
#include <epan/filesystem.h>
#include <epan/plugins.h>
#undef WS_BUILD_DLL
#define RESET_SYMBOL_EXPORT

View File

@ -32,7 +32,6 @@
/* XXX - try to remove this later */
#include <epan/prefs.h>
/* XXX - try to remove this later */
#include <epan/filesystem.h>
#include "capture_info.h"
@ -59,6 +58,8 @@
#include <epan/dissectors/packet-i2c.h>
#include <epan/dissectors/packet-ax25-kiss.h>
#include <wsutil/filesystem.h>
static void capture_info_packet(
packet_counts *counts, gint wtap_linktype, const guchar *pd, guint32 caplen, union wtap_pseudo_header *pseudo_header);

View File

@ -84,7 +84,6 @@
#include "globals.h"
#include "file.h"
#include <epan/filesystem.h>
#include "capture.h"
#include "capture_sync.h"
@ -97,6 +96,7 @@
#include "ui/ui_util.h"
#include <wsutil/filesystem.h>
#include <wsutil/file_util.h>
#include <wsutil/report_err.h>
#include "log.h"

View File

@ -33,7 +33,7 @@
#include <ctype.h>
#include <string.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <wsutil/file_util.h>
#include <epan/packet.h>

View File

@ -35,7 +35,7 @@
#include <epan/timestamp.h>
#include <epan/plugins.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <wsutil/privileges.h>
#include <epan/prefs.h>
#include "ui/util.h"

View File

@ -76,6 +76,7 @@
#endif
#include <wsutil/privileges.h>
#include <wsutil/filesystem.h>
#include <wsutil/report_err.h>
#include <wsutil/strnatcmp.h>
#include <wsutil/md5.h>
@ -89,7 +90,6 @@
#define WS_BUILD_DLL
#define RESET_SYMBOL_EXPORT /* wsutil/wsgetopt.h set export behavior above. */
#include "epan/plugins.h"
#include "epan/filesystem.h"
#undef WS_BUILD_DLL
#define RESET_SYMBOL_EXPORT

View File

@ -1480,7 +1480,6 @@ set(LIBWIRESHARK_FILES
except.c
expert.c
exported_pdu.c
filesystem.c
filter_expressions.c
follow.c
frame_data.c
@ -1682,8 +1681,6 @@ if(NOT ${ENABLE_STATIC})
)
endif()
add_definitions( -DTOP_SRCDIR=\"${CMAKE_SOURCE_DIR}\" )
#
# Editor modelines - http://www.wireshark.org/tools/modelines.html
#

View File

@ -62,8 +62,7 @@ include Makefile.common
AM_CPPFLAGS = -I$(srcdir)/.. -I$(srcdir)/$(LEMON) -I$(builddir)/wslua \
@LUA_INCLUDES@ $(LIBGNUTLS_CFLAGS) $(LIBGCRYPT_CFLAGS) \
$(LIBSMI_CFLAGS) $(LIBGEOIP_CFLAGS) $(PY_CFLAGS) \
-DTOP_SRCDIR=\"$(abs_top_srcdir)\"
$(LIBSMI_CFLAGS) $(LIBGEOIP_CFLAGS) $(PY_CFLAGS)
AM_NON_GENERATED_CFLAGS =-DWS_BUILD_DLL

View File

@ -51,7 +51,6 @@ LIBWIRESHARK_SRC = \
except.c \
expert.c \
exported_pdu.c \
filesystem.c \
filter_expressions.c \
follow.c \
frame_data.c \
@ -189,7 +188,6 @@ LIBWIRESHARK_INCLUDES = \
expert.h \
exported_pdu.h \
filter_expressions.h \
filesystem.h \
follow.h \
frame_data.h \
frame_data_sequence.h \

View File

@ -122,7 +122,7 @@
#include "addr_and_mask.h"
#include "ipv6-utils.h"
#include "addr_resolv.h"
#include "filesystem.h"
#include "wsutil/filesystem.h"
#include <wsutil/report_err.h>
#include <wsutil/file_util.h>

View File

@ -35,7 +35,7 @@
#include <glib.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/proto.h>
#include "disabled_protos.h"

View File

@ -52,7 +52,7 @@
#include <epan/packet.h>
#include <epan/exceptions.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include <epan/sminmpec.h>
#include <epan/wmem/wmem.h>

View File

@ -29,7 +29,7 @@
#include "config.h"
#include <glib.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/packet.h>
#include <epan/addr_resolv.h>
#include <epan/prefs.h>

View File

@ -69,7 +69,7 @@
#include <epan/exceptions.h>
#include <epan/prefs.h>
#include <epan/sminmpec.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/conversation.h>
#include <epan/tap.h>
#include <epan/addr_resolv.h>

View File

@ -103,7 +103,7 @@
#include <epan/dissectors/packet-x509af.h>
#include <epan/dissectors/packet-ocsp.h>
#include <epan/tap.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/expert.h>
#include "packet-x509if.h"
#include "packet-ssl.h"

View File

@ -40,7 +40,7 @@
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/emem.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/strutil.h>

View File

@ -45,7 +45,7 @@
#include <epan/packet.h>
#include <epan/tvbparse.h>
#include <epan/dtd.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include <epan/garrayfix.h>

View File

@ -39,7 +39,7 @@
#include "prefs.h"
#include "proto.h"
#include "packet.h"
#include "filesystem.h"
#include "wsutil/filesystem.h"
#include "dissectors/packet-ber.h"
#ifdef HAVE_LIBSMI

View File

@ -50,7 +50,7 @@ wslua_plugin *wslua_plugin_list = NULL;
#include <unistd.h>
#endif
#include "filesystem.h"
#include "wsutil/filesystem.h"
#include <wsutil/privileges.h>
#include <wsutil/file_util.h>
#include <wsutil/report_err.h>

View File

@ -36,7 +36,7 @@
#include <glib.h>
#include <stdio.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/address.h>
#include <epan/addr_resolv.h>
#include <epan/oids.h>

View File

@ -50,7 +50,7 @@
#include <epan/charsets.h>
#include <epan/dissectors/packet-data.h>
#include <epan/dissectors/packet-frame.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#define PDML_VERSION "0"
#define PSML_VERSION "0"

View File

@ -42,7 +42,7 @@
#include <wsutil/report_err.h>
#include <epan/emem.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/packet.h>
#include <epan/range.h>

View File

@ -50,7 +50,7 @@
#include <epan/proto.h>
#include <epan/epan_dissect.h>
#include <epan/tap.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/funnel.h>
#include <epan/tvbparse.h>
#include <epan/epan.h>

2
file.c
View File

@ -43,6 +43,7 @@
#include <wsutil/tempfile.h>
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include <wiretap/merge.h>
@ -53,7 +54,6 @@
#include <epan/packet.h>
#include <epan/column-utils.h>
#include <epan/expert.h>
#include <epan/filesystem.h>
#include <epan/prefs.h>
#include <epan/dfilter/dfilter.h>
#include <epan/epan_dissect.h>

View File

@ -51,9 +51,9 @@
#include <glib.h>
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include "globals.h"
#include <epan/filesystem.h>
#include <epan/strutil.h>
#include "fileset.h"

View File

@ -35,10 +35,10 @@
#include <glib.h>
#include <epan/filesystem.h>
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include "filters.h"
#include <wsutil/file_util.h>
/*
* Old filter file name.

View File

@ -76,7 +76,7 @@
#include <epan/exceptions.h>
#include <epan/addr_resolv.h>
#include <epan/prefs.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/dissectors/packet-tcp.h>
#include <epan/oids.h>
#include <epan/emem.h>

View File

@ -50,7 +50,7 @@
#include <epan/proto.h>
#include <epan/epan_dissect.h>
#include <epan/tap.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "mate_util.h"

View File

@ -43,7 +43,7 @@
#include <epan/addr_resolv.h>
#include <epan/ipproto.h>
#include <epan/expert.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/eap.h>
#include "wimaxasncp_dict.h"

View File

@ -66,10 +66,10 @@
#include <glib.h>
#include <epan/epan-int.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/crash_info.h>
#include <wsutil/privileges.h>
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include "globals.h"
#include <epan/packet.h>

View File

@ -62,10 +62,10 @@
#include <epan/exceptions.h>
#include <epan/epan-int.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/crash_info.h>
#include <wsutil/privileges.h>
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include "globals.h"
#include <epan/timestamp.h>

View File

@ -29,7 +29,7 @@
#include <glib.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/dfilter/dfilter.h>
#include "ui/alert_box.h"

View File

@ -27,7 +27,7 @@
#include <glib.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/dfilter/dfilter.h>
#include "ui/follow.h"

View File

@ -29,7 +29,7 @@
#include <string.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/plugins.h>
#ifdef HAVE_LIBSMI
#include <epan/oids.h>

View File

@ -31,7 +31,7 @@
#include <gtk/gtk.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/addr_resolv.h>
#include "../cfile.h"

View File

@ -32,7 +32,7 @@
#include <string.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/emem.h>
#include <epan/prefs.h>
#include <epan/frequency-utils.h>

View File

@ -35,7 +35,7 @@
#include <stdlib.h>
#include <string.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/strutil.h>
#include <epan/frequency-utils.h>
#include <epan/crypt/airpdcap_ws.h>

View File

@ -36,7 +36,7 @@
#include <epan/packet.h>
#include <epan/addr_resolv.h>
#include <epan/prefs.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "../capture.h"
#include "../capture_ifinfo.h"

View File

@ -32,7 +32,7 @@
#include <gtk/gtk.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/addr_resolv.h>
#include <epan/prefs.h>

View File

@ -31,7 +31,7 @@
#include <gtk/gtk.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/conversation.h>
#include "ui/main_statusbar.h"

View File

@ -33,7 +33,7 @@
#include <epan/packet.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include <epan/prefs-int.h>

View File

@ -34,7 +34,7 @@
#include "ui/gtk/stock_icons.h"
#include "ui/gtk/old-gtk-compat.h"
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
static void

View File

@ -30,7 +30,7 @@
#include <gtk/gtk.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "ui/main_statusbar.h"

View File

@ -45,7 +45,7 @@
# include <gdk/gdkkeysyms-compat.h>
#endif
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/packet.h>
#include <epan/epan_dissect.h>
#include <epan/charsets.h>

View File

@ -47,7 +47,7 @@
#include <wsutil/file_util.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "ui/last_open_dir.h"
#include "ui/util.h"

View File

@ -33,7 +33,7 @@
#include <gtk/gtk.h>
#include "file.h"
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "../fileset.h"

View File

@ -28,7 +28,7 @@
#include <gtk/gtk.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include <epan/proto.h>

View File

@ -52,7 +52,7 @@
#include <epan/packet.h>
#include <epan/addr_resolv.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/dissectors/packet-ipv6.h>
#include <ui/alert_box.h>

View File

@ -31,7 +31,7 @@
#include <epan/epan.h>
#include <epan/packet.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/stat_cmd_args.h>
#include <epan/to_str.h>
#include <epan/strutil.h>

View File

@ -41,7 +41,7 @@
#include <epan/prefs.h>
#include <epan/addr_resolv.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/tap.h>
#include <ui/alert_box.h>

View File

@ -35,7 +35,7 @@
#include <epan/addr_resolv.h>
#include <epan/follow.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include <epan/charsets.h>

View File

@ -42,7 +42,7 @@
#include <epan/addr_resolv.h>
#include <epan/charsets.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/ipproto.h>
#include <epan/charsets.h>

View File

@ -48,7 +48,7 @@
#include <epan/tap.h>
#include <epan/dissectors/packet-rtp.h>
#include <epan/addr_resolv.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "ui/util.h"

View File

@ -42,7 +42,7 @@
#include <GeoIP.h>
#include <epan/geoip_db.h>
#include <wsutil/pint.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#endif
#include <wsutil/file_util.h>

View File

@ -57,7 +57,7 @@
#include <wsutil/pint.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/tap.h>
#include <epan/tap-voip.h>
#include <epan/dissectors/packet-iax2.h>

View File

@ -71,7 +71,7 @@
#include <wiretap/merge.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/epan_dissect.h>
#include <epan/timestamp.h>
#include <epan/plugins.h>

View File

@ -44,7 +44,7 @@
#include <epan/epan_dissect.h>
#include <epan/column.h>
#include <epan/stats_tree_priv.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/print.h>
#include "cfile.h"

View File

@ -31,7 +31,7 @@
#include <gtk/gtk.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/epan_dissect.h>
#include <epan/expert.h>
#include <epan/prefs.h>

View File

@ -37,7 +37,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include <epan/address.h>
#include <epan/addr_resolv.h>
#include <epan/strutil.h>

View File

@ -50,7 +50,7 @@
#include <epan/packet.h>
#include <epan/charsets.h>
#include <epan/prefs.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "../isprint.h"

View File

@ -29,7 +29,7 @@
#include <gtk/gtk.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "ui/last_open_dir.h"
#include "ui/simple_dialog.h"

View File

@ -30,7 +30,7 @@
#include <epan/prefs.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/print.h>
#include "ui/alert_box.h"

View File

@ -31,7 +31,7 @@
# include <gdk/gdkkeysyms-compat.h>
#endif
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include "ui/profile.h"

View File

@ -33,7 +33,7 @@
#endif
#include <epan/prefs.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/disabled_protos.h>
#include "ui/util.h"

View File

@ -40,7 +40,7 @@
#include "../file.h"
#include <epan/prefs.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/strutil.h>
#include <epan/proto.h>

View File

@ -57,7 +57,7 @@
#include <wsutil/pint.h>
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/tap.h>
#include <epan/dissectors/packet-rtp.h>
#include <epan/rtp_pt.h>

View File

@ -35,7 +35,7 @@
#include <epan/address.h>
#include <epan/addr_resolv.h>
#include <epan/strutil.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "../globals.h"
#include "../stat_menu.h"

View File

@ -27,7 +27,7 @@
#include <gtk/gtk.h>
#include <epan/epan_dissect.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include <epan/to_str.h>
#include <epan/strutil.h>

View File

@ -31,7 +31,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include <epan/strutil.h>
#include "../globals.h"

View File

@ -28,7 +28,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "epan/to_str.h"
#include "../globals.h"

View File

@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "../globals.h"
#include "ui/simple_dialog.h"

View File

@ -32,7 +32,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include <epan/strutil.h>
#include "../globals.h"

View File

@ -27,7 +27,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "epan/to_str.h"
#include "../globals.h"

View File

@ -31,7 +31,7 @@
#include <gtk/gtk.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "ui/simple_dialog.h"
#include <wsutil/file_util.h>

View File

@ -56,7 +56,7 @@
#include <epan/packet.h>
#include <epan/uat-int.h>
#include <epan/value_string.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "../stat_menu.h"

View File

@ -43,7 +43,7 @@
#include <epan/epan.h>
#include <epan/packet.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include <epan/tap.h>
#include <epan/stat_cmd_args.h>
#include <epan/to_str.h>

View File

@ -109,7 +109,7 @@
#include <gtk/gtk.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include "ui/simple_dialog.h"

View File

@ -30,7 +30,7 @@
#include <glib.h>
#include "help_url.h"
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#ifdef HHC_DIR
#include <windows.h>

View File

@ -30,7 +30,7 @@
#include <epan/column-info.h>
#include <epan/column.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include <epan/prefs-int.h>

View File

@ -31,7 +31,7 @@
#include <glib.h>
#include <epan/emem.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#include "profile.h"

View File

@ -36,7 +36,7 @@
#include "file.h"
#include "../../epan/addr_resolv.h"
#include "../../epan/prefs.h"
#include "../../epan/filesystem.h"
#include "../../wsutil/filesystem.h"
#include "../../wsutil/nstime.h"
#include <wireshark_application.h>

View File

@ -34,7 +34,7 @@
#include "ui/util.h"
#include <epan/print.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include "qt_ui_utils.h"

View File

@ -32,7 +32,7 @@
#include <ui/alert_box.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <wsutil/str_util.h>

View File

@ -43,7 +43,7 @@
#include <wiretap/merge.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <wsutil/privileges.h>
#include <epan/epan_dissect.h>
#include <epan/timestamp.h>

View File

@ -26,7 +26,7 @@
#include <glib.h>
#include "epan/expert.h"
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "ui/main_statusbar.h"
#include "ui/profile.h"

View File

@ -27,7 +27,7 @@
#include "globals.h"
#include <epan/epan_dissect.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/ipproto.h>
#include <epan/prefs.h>

View File

@ -36,7 +36,7 @@
#include "globals.h"
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/prefs.h>
#ifdef _WIN32

View File

@ -24,7 +24,7 @@
#include "config.h"
#include <glib.h>
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "epan/prefs.h"
#include "ui/profile.h"

View File

@ -23,7 +23,7 @@
#include "wireshark_application.h"
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/timestamp.h>
#include <epan/disabled_protos.h>

View File

@ -31,7 +31,7 @@
#include <errno.h>
#include <epan/epan.h>
#include <epan/filesystem.h>
#include <wsutil/filesystem.h>
#include <epan/emem.h>
#include <epan/prefs.h>
#include <epan/prefs-int.h>

View File

@ -45,7 +45,7 @@
#include "wiretap/merge.h"
#include "epan/filesystem.h"
#include "wsutil/filesystem.h"
#include "epan/addr_resolv.h"
#include "epan/prefs.h"
#include "epan/print.h"

View File

@ -30,7 +30,6 @@
#include <epan/prefs.h>
#include <epan/prefs-int.h>
#include <epan/filesystem.h>
#include "simple_dialog.h"
#include "version_info.h"
@ -40,6 +39,7 @@
#endif
#include <wsutil/file_util.h>
#include <wsutil/filesystem.h>
#include <wininet.h>
#include "nio-ie5.h"

View File

@ -52,6 +52,7 @@ set(WSUTIL_FILES
crcdrm.c
des.c
eax.c
filesystem.c
g711.c
md4.c
md5.c
@ -121,3 +122,17 @@ if(NOT ${ENABLE_STATIC})
)
endif()
add_definitions( -DTOP_SRCDIR=\"${CMAKE_SOURCE_DIR}\" )
#
# Editor modelines - http://www.wireshark.org/tools/modelines.html
#
# Local variables:
# c-basic-offset: 8
# tab-width: 8
# indent-tabs-mode: t
# End:
#
# vi: set shiftwidth=8 tabstop=8 noexpandtab:
# :indentSize=8:tabSize=8:noTabs=false:
#

View File

@ -65,7 +65,8 @@ lib_LTLIBRARIES = libwsutil.la
libwsutil_la_LDFLAGS = -version-info 0:0:0 @LDFLAGS_SHAREDLIB@
AM_CPPFLAGS = -I$(srcdir)/.. \
$(LIBGCRYPT_CFLAGS)
$(LIBGCRYPT_CFLAGS) \
-DTOP_SRCDIR=\"$(abs_top_srcdir)\"
libwsutil_la_SOURCES = \
$(LIBWSUTIL_SRC) \

View File

@ -45,6 +45,7 @@ LIBWSUTIL_SRC = \
crcdrm.c \
des.c \
eax.c \
filesystem.c \
g711.c \
md4.c \
md5.c \
@ -79,6 +80,7 @@ LIBWSUTIL_INCLUDES = \
crcdrm.h \
des.h \
eax.h \
filesystem.h \
g711.h \
md4.h \
md5.h \