Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" as
authorGuy Harris <guy@alum.mit.edu>
Fri, 1 Apr 2005 09:08:27 +0000 (09:08 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 1 Apr 2005 09:08:27 +0000 (09:08 -0000)
commit80c1907a3650bd7ce3486deaf8bfe03998cc53cf
treef40c994e197238fcb60ea9206222296805d55dfb
parent0f8018692fed4def8c299c3c6485c416c986e717
Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" as
it's used to register a callback for a tap listener invoked if the
specified command line argument is specified to the "-z" flag.

Move it, along with routines to:

look up a "-z" argument in the table constructed by
"register_tap_listener_cmd_arg()" and either save the full
argument to "-z" and the corresponding listener if it's found or
return a failure indication if it isn't;

list the available tap listeners;

call the "init" routines for the tap listeners saved in the
table above;

and have Ethereal and Tethereal use those routines.

svn path=/trunk/; revision=13993
71 files changed:
epan/libethereal.def
epan/tap.c
epan/tap.h
gtk/ansi_a_stat.c
gtk/ansi_map_stat.c
gtk/bootp_stat.c
gtk/conversations_eth.c
gtk/conversations_fc.c
gtk/conversations_fddi.c
gtk/conversations_ip.c
gtk/conversations_ipx.c
gtk/conversations_sctp.c
gtk/conversations_tcpip.c
gtk/conversations_tr.c
gtk/conversations_udpip.c
gtk/conversations_wlan.c
gtk/dcerpc_stat.c
gtk/fc_stat.c
gtk/gsm_a_stat.c
gtk/gsm_map_stat.c
gtk/h225_counter.c
gtk/h225_ras_srt.c
gtk/hostlist_eth.c
gtk/hostlist_fc.c
gtk/hostlist_fddi.c
gtk/hostlist_ip.c
gtk/hostlist_ipx.c
gtk/hostlist_tcpip.c
gtk/hostlist_tr.c
gtk/hostlist_udpip.c
gtk/hostlist_wlan.c
gtk/http_stat.c
gtk/io_stat.c
gtk/isup_stat.c
gtk/ldap_stat.c
gtk/main.c
gtk/mgcp_stat.c
gtk/mtp3_stat.c
gtk/rpc_progs.c
gtk/rpc_stat.c
gtk/rtp_analysis.c
gtk/rtp_stream.c
gtk/sctp_chunk_stat.c
gtk/sctp_stat.c
gtk/sip_stat.c
gtk/smb_stat.c
gtk/stats_tree_stat.c
gtk/voip_calls_dlg.c
gtk/wsp_stat.c
register.h
tap-ansi_astat.c
tap-bootpstat.c
tap-dcerpcstat.c
tap-gsm_astat.c
tap-h225counter.c
tap-h225rassrt.c
tap-httpstat.c
tap-iostat.c
tap-iousers.c
tap-mgcpstat.c
tap-protocolinfo.c
tap-protohierstat.c
tap-rpcprogs.c
tap-rpcstat.c
tap-sctpchunkstat.c
tap-sipstat.c
tap-smbsids.c
tap-smbstat.c
tap-stats_tree.c
tap-wspstat.c
tethereal.c