another two steps towards privilege seperation:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 6 Feb 2005 21:20:35 +0000 (21:20 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 6 Feb 2005 21:20:35 +0000 (21:20 +0000)
commit96fabeeccd641f39fd111449dfcae39911179510
tree0ed850112dc342fd11812f8dba14fa2cb1a08b33
parent52cf3bd14b0efec832eed195520e6e83f9fd292d
another two steps towards privilege seperation:

move another two capture related fields (iface and cfilter) from cfile to capture_opts

also move the handling of capture related command line options from main.c to capture.c, that way a future privilege seperated capture program can use the same code to parse it's command line than Ethereal.
It might be even possible to share this parser code even with Tethereal, didn't took a closer look at this.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13320 f5534014-38df-0310-8fa8-9805f1628bb7
15 files changed:
capture.c
capture.h
capture_loop.c
capture_sync.c
cfile.c
cfile.h
file.c
file.h
gtk/capture_dlg.c
gtk/capture_if_dlg.c
gtk/main.c
gtk/summary_dlg.c
summary.c
summary.h
tethereal.c