Ethereal-dev: [ethereal-dev] function list

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gramirez@xxxxxxxxxx>
Date: Sun, 11 Apr 1999 09:06:59 -0500
I have prepared a list showing the functions in each file in ethereal
(except for the dissect() routines). I checked each to see if it relies
on or uses GTK+. This is in preparation for moving code around so that
we can isolate the generic code from the GTK+-specific code.

enjoy!

--gilbert

						GTK?
capture.c
=========
GList*	get_interface_list()
void	capture_prep_cb()			Y
void	capture_prep_file_cb()			Y
void	cap_prep_fs_ok_cb()			Y
void	cap_prep_fs_cancel_cb()			Y
void	capture_prep_ok_cb()			Y
void	capture_prep_close_cb()			Y
void	capture(void)				Y
float	pct()
void	capture_stop_cb()			Y
void	capture_pcap_cb()

column.c
========
static gchar* col_format_to_string()
static gchar* col_format_desc()
void	get_column_format_matches()
gint	get_column_width()			Y
gint	get_column_format()
static gint get_column_format_from_str()
gchar *	get_column_title()
gchar * col_format_to_pref_str()
GtkWidget * column_prefs_show()			Y
static void column_sel_list_cb()		Y
static void column_sel_new_cb()			Y
static void column_sel_chg_cb()			Y
static void column_sel_del_cb()			Y
static void column_sel_arrow_cb()		Y
void column_set_fmt_cb()			Y
void column_prefs_ok()				Y
void column_prefs_save()			Y
void column_prefs_cancel()			Y

ethereal.c
==========
void about_ethereal()				Y
void file_sel_ok_cb()				Y
gint file_progress_cb()				Y
void follow_stream_cb()				Y
void file_open_cmd_cb()				Y
void file_close_cmd_cb()			Y
void file_save_cmd_cb()				Y
void file_save_as_cmd_cb()			Y
static void file_save_ok_cb()			Y
static void file_save_as_ok_cb()		Y
void file_reload_cmd_cb()			Y
void file_print_cmd_cb()			Y
void packet_list_select_cb()			Y
void packet_list_unselect_cb()			Y
void tree_view_cb()				Y
void file_quit_cmd_cb()				Y
void blank_packetinfo()
void main_realize_cb()				Y
static void ethereal_proto_init()
void print_usage()
int main()					Y

ethertype.c
===========
gchar* ethertype_to_str()
void capture_ethertype()
void ethertype()

file.c
======
int open_cap_file()
void close_cap_file()				Y
int load_cap_file()				Y
static void wtap_dispatch_cb()			Y

filter.c
========
void get_filter_list()
GtkWidget * filter_prefs_show()			Y
void filter_sel_list_cb()			Y
void filter_sel_new_cb()			Y
void filter_sel_chg_cb()			Y
void filter_sel_copy_cb()			Y
void filter_sel_del_cb()			Y
void filter_prefs_ok()				Y
void filter_prefs_save()			Y
void filter_prefs_cancel()			Y

follow.c
========
char* build_follow_filter()
void reassemble_tcp()
int check_fragments()
void reset_tcp_reassembly()
void write_packet_data()

gtkpacket.c
===========
void packet_hex_print()				Y
static void expand_tree()			Y
static void collapse_tree()			Y
static void set_item_style()			Y
proto_item* proto_tree_add_item()		Y
void proto_item_set_len()			Y
void proto_item_add_subtree()			Y
proto_tree* proto_tree_new()			Y

menu.c
======
void get_main_menu()				Y
void menus_init()				Y
void set_menu_sensitivity()			Y
void set_menu_object_data()			Y
void menus_create()				Y
static gint menus_install_accel()		Y
static void menus_remove_accel()		Y

packet.c
========
gchar* ether_to_str()
gchar* ip_to_str()
gchar* time_secs_to_str()
const u_char * find_line_end()
int get_token_len()
gchar * format_text()
gchar* val_to_str()
gchar* match_strval()
static char * decode_bitfield_value()
const char * decode_boolean_bitfield()
const char * decode_enumerated_bitfield()
const char * decode_numeric_bitfield()
gint check_col()
void col_add_fstr()
void col_add_str()
void dissect_packet()

prefs.c
=======
void prefs_cb()					Y
void prefs_main_ok_cb()				Y
void prefs_main_save_cb()			Y
void prefs_main_cancel_cb()			Y
static GList * get_string_list()
void clear_string_list()
e_prefs* read_prefs()
int set_pref()
void write_prefs()

print.c
=======
GtkWidget* printer_prefs_show()			Y
static void printer_opts_file_cb()		Y
static void printer_opts_fs_ok_cb()		Y
static void printer_opts_fs_cancel_cb()		Y
void printer_prefs_ok()				Y
void printer_prefs_save()			Y
void printer_prefs_cancel()			Y
static void printer_opts_toggle_format()	Y
static void printer_opts_toggle_dest()		Y
void print_tree()				Y
void print_tree_text()				Y
static void dumpit()
static void dumpit_ps()
void print_tree_ps()				Y
static void ps_clean_string()

resolv.c
========
static u_char *serv_name_lookup()
static void abort_network_query()
static u_char *host_name_lookup()
static u_char *host_name_lookup6()
static int fgetline()
static int parse_ether_line()
static void set_ethent()
static void end_ethent()
static ether_t *get_ethent()
static ether_t *get_ethbyname()
static ether_t *get_ethbyaddr()
static void add_manuf_name()
static hashmanuf_t *manuf_name_lookup()
static hashether_t *add_eth_name()
static u_char *eth_name_lookup()
static u_char *eth_addr_lookup()
static void initialize_ethers()
extern u_char *get_hostname()
extern gchar *get_hostname6()
extern void add_host_name()
extern u_char *get_udp_port()
extern u_char *get_tcp_port()
extern u_char *get_ether_name()
extern u_char *get_ether_addr()
extern u_char *get_manuf_name()

util.c
======
void simple_dialog()				Y
static void simple_dialog_cancel_cb()		Y
int file_mv()
int file_cp()