forked from osmocom/wireshark
Move capture_session.h to capchild; what it declares is defined there.
Change-Id: I8b1407839390b7ac0b45bf6f583c1a509073f002 Reviewed-on: https://code.wireshark.org/review/2709 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
df5833723c
commit
b33512b704
|
@ -62,18 +62,9 @@ SHARK_COMMON_INCLUDES = \
|
|||
version_info.h \
|
||||
ws_symbol_export.h
|
||||
|
||||
# sources common for wireshark and tshark, but not rawshark;
|
||||
# these are for programs that capture traffic by running dumpcap
|
||||
SHARK_COMMON_CAPTURE_SRC =
|
||||
|
||||
# corresponding headers
|
||||
SHARK_COMMON_CAPTURE_INCLUDES = \
|
||||
capture_session.h
|
||||
|
||||
# wireshark specifics
|
||||
WIRESHARK_COMMON_SRC = \
|
||||
$(SHARK_COMMON_SRC) \
|
||||
$(SHARK_COMMON_CAPTURE_SRC) \
|
||||
airpcap_loader.c \
|
||||
capture.c \
|
||||
capture_info.c \
|
||||
|
@ -108,7 +99,6 @@ WIRESHARK_COMMON_INCLUDES = \
|
|||
# tshark specifics
|
||||
tshark_SOURCES = \
|
||||
$(SHARK_COMMON_SRC) \
|
||||
$(SHARK_COMMON_CAPTURE_SRC) \
|
||||
capture_opts.c \
|
||||
tshark.c
|
||||
|
||||
|
@ -185,6 +175,5 @@ dumpcap_INCLUDES = \
|
|||
# this target needed for distribution only
|
||||
noinst_HEADERS = \
|
||||
$(SHARK_COMMON_INCLUDES) \
|
||||
$(SHARK_COMMON_CAPTURE_INCLUDES) \
|
||||
$(WIRESHARK_COMMON_INCLUDES) \
|
||||
$(dumpcap_INCLUDES)
|
||||
|
|
|
@ -27,4 +27,5 @@ CAPCHILD_SRC = \
|
|||
|
||||
noinst_HEADERS = \
|
||||
capture_ifinfo.h \
|
||||
capture_session.h \
|
||||
capture_sync.h
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
#include <glib.h>
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include <capchild/capture_sync.h>
|
||||
#include "log.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef __CAPTURE_SESSION_H__
|
||||
#define __CAPTURE_SESSION_H__
|
||||
#ifndef __CAPCHILD_CAPTURE_SESSION_H__
|
||||
#define __CAPCHILD_CAPTURE_SESSION_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -67,4 +67,4 @@ typedef struct {int dummy;} capture_session;
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* __CAPTURE_SESSION_H__ */
|
||||
#endif /* __CAPCHILD_CAPTURE_SESSION_H__ */
|
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#define __CAPTURE_INFO_H__
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
#include "sync_pipe.h"
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include <capchild/capture_ifinfo.h>
|
||||
#include <capchild/capture_sync.h>
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include <capchild/capture_ifinfo.h>
|
||||
#include <capchild/capture_sync.h>
|
||||
#include "version_info.h"
|
||||
|
|
2
tshark.c
2
tshark.c
|
@ -111,7 +111,7 @@
|
|||
#include "capture-wpcap.h"
|
||||
#include <wsutil/unicode-utils.h>
|
||||
#endif /* _WIN32 */
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include <capchild/capture_sync.h>
|
||||
#include "capture_opts.h"
|
||||
#endif /* HAVE_LIBPCAP */
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#ifndef __CAPTURE_GLOBALS_H__
|
||||
#define __CAPTURE_GLOBALS_H__
|
||||
|
||||
#include "../capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <epan/to_str.h>
|
||||
|
||||
#include "../capture_opts.h"
|
||||
#include "../capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include <capchild/capture_ifinfo.h>
|
||||
#include "../capture.h"
|
||||
#include "../capture-pcap-util.h"
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "ui/gtk/main_80211_toolbar.h"
|
||||
|
||||
#include "ws80211_utils.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include <capchild/capture_sync.h>
|
||||
|
||||
static GtkWidget *tb80211_tb, *tb80211_iface_list_box, *tb80211_freq_list_box, *tb80211_chan_type_box, *tb80211_info_label;
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "../file.h"
|
||||
#ifdef HAVE_LIBPCAP
|
||||
#include "../capture_opts.h"
|
||||
#include "../capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include "../capture.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#ifdef HAVE_LIBPCAP
|
||||
#include "capture.h"
|
||||
#include "capture-pcap-util.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#endif
|
||||
|
||||
#include "ui/alert_box.h"
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#ifdef HAVE_LIBPCAP
|
||||
#include "capture_opts.h"
|
||||
#endif
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QSplitter>
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include "epan/prefs.h"
|
||||
|
||||
#include "capture_opts.h"
|
||||
#include "capture_session.h"
|
||||
#include <capchild/capture_session.h>
|
||||
#include "file.h"
|
||||
#include "register.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue