Pull the invocation of the Lex scanner into common code.
authorGuy Harris <guy@alum.mit.edu>
Sun, 27 Mar 2016 02:20:51 +0000 (19:20 -0700)
committerGuy Harris <guy@alum.mit.edu>
Sun, 27 Mar 2016 02:21:19 +0000 (02:21 +0000)
commitdd6a74894f5cac1c3b2a3706e1e2e219b3440c0c
treebb20249371caaccdd3ff6c1de0490c777c59ad03
parentf0ada20a91b2f8aeb785dfd121060af0442dd307
Pull the invocation of the Lex scanner into common code.

Instead of text_import_setup() and text_import_cleanup() routines, and
the actual scanner invocation being done in the dialog box, have a
text_import() routine that does all the work.

Change-Id: Ifd8a999618dbb411d613e6596484e4c2e013431d
Reviewed-on: https://code.wireshark.org/review/14647
Reviewed-by: Guy Harris <guy@alum.mit.edu>
ui/gtk/file_import_dlg.c
ui/qt/import_text_dialog.cpp
ui/text_import.c
ui/text_import.h