From 1abeb277f5e6bd27fbaebfecc8184e37ba9d008a Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Thu, 8 May 2014 22:59:19 -0400 Subject: 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 --- wiretap/logcat.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'wiretap/logcat.h') diff --git a/wiretap/logcat.h b/wiretap/logcat.h index 4167bc21fb..268ab10fb0 100644 --- a/wiretap/logcat.h +++ b/wiretap/logcat.h @@ -25,16 +25,16 @@ #include "wtap.h" -int logcat_open(wtap *wth, int *err, gchar **err_info); - -gboolean logcat_binary_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_brief_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_process_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_tag_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_time_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_thread_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_threadtime_dump_open(wtap_dumper *wdh, int *err); -gboolean logcat_text_long_dump_open(wtap_dumper *wdh, int *err); +int logcat_open(wftap *wfth, int *err, gchar **err_info); + +gboolean logcat_binary_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_brief_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_process_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_tag_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_time_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_thread_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_threadtime_dump_open(wftap_dumper *wdh, int *err); +gboolean logcat_text_long_dump_open(wftap_dumper *wdh, int *err); int logcat_dump_can_write_encap(int encap); -- cgit v1.2.1