Wireshark-bugs: [Wireshark-bugs] [Bug 6207] Add the ability to save filters from the Filter Tool
Date: Fri, 5 Aug 2011 05:00:33 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6207

--- Comment #1 from Edwin Groothuis <wireshark@xxxxxxxxxxx> 2011-08-05 05:00:32 PDT ---
Files and their relations:

epan/filter_expressions.h
|\_ struct filter_expression definition
 \_ filter_expression_head definition
epan/filter_expressions.c
|\_ filter_expression_init(...)         # from prefs.c
|\_ filter_expression_new(label, expr)  # from filter_expression_save_dlg and
|                                       # prefs.c and prefs_dlg.c
 \_ filter_expression_erase(label)      # from prefs_dlg.c


epan/prefs.h
 \_ prefs.filter_expressions definition
epan/prefs.c
|\_ converting config into new filter_expressions
 \_ converting filter_expressions into config

gtk/prefs_dlg.c
 \_ create a filter_expressions_prefs_show edit page

gtk/prefs_filter_expressions.c
 \_ implement filter_expressions_prefs_show edit page
    calling filter_expression_new() and filter_expression_erase()

gtk/main_filter_toolbar.c
|\_ calls filter_expression_save_dlg_init() with toolbar info
 \_ calls filter_expression_save_dlg() when save button clicked

gtk/filter_expression_save_dlg.h
gtk/filter_expression_save_dlg.c
|\_ gets label and expression, calls filter_expression_new()
 \_ implements filter_expression_save_dlg_init to keep toolbar info

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.