diff options
author | Michael Mann <mmann78@netscape.net> | 2014-05-08 22:59:19 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-05-09 03:04:39 +0000 |
commit | 1abeb277f5e6bd27fbaebfecc8184e37ba9d008a (patch) | |
tree | 8cc6eaa5a6982454a00adc600fa4aab02bec3d73 /wiretap/netmon.h | |
parent | aa3a968eb6e85c47014a4cec4a2b955357b0e77f (diff) | |
download | wireshark-1abeb277f5e6bd27fbaebfecc8184e37ba9d008a.tar.gz |
Refactor Wiretap
Start of refactoring Wiretap and breaking structures down into "generally useful fields for dissection" and "capture specific". Since this in intended as a "base" for Wiretap and Filetap, the "wft" prefix is used for "common" functionality.
The "architectural" changes can be found in cfile.h, wtap.h, wtap-int.h and (new file) wftap-int.h. Most of the other (painstaking) changes were really just the result of compiling those new architecture changes.
bug:9607
Change-Id: Ife858a61760d7a8a03be073546c0e7e582cab2ae
Reviewed-on: https://code.wireshark.org/review/1485
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wiretap/netmon.h')
-rw-r--r-- | wiretap/netmon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/netmon.h b/wiretap/netmon.h index 5f5f05ef11..9c14af0af7 100644 --- a/wiretap/netmon.h +++ b/wiretap/netmon.h @@ -24,8 +24,8 @@ #include <glib.h> #include <wtap.h> -int netmon_open(wtap *wth, int *err, gchar **err_info); -gboolean netmon_dump_open(wtap_dumper *wdh, int *err); +int netmon_open(wftap *wfth, int *err, gchar **err_info); +gboolean netmon_dump_open(wftap_dumper *wdh, int *err); int netmon_dump_can_write_encap_1_x(int encap); int netmon_dump_can_write_encap_2_x(int encap); |