aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/io_stat.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-02-04 18:44:44 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-02-04 18:44:44 +0000
commit0861927ce30146be75bcb57b6939c0fd9fee43b3 (patch)
treef2d0d9d8c5c3712358e4169b04391e0629dfd4af /gtk/io_stat.c
parentd7ad33dc51e0e51e6cc2903ff0ac3ce806550ce4 (diff)
downloadwireshark-0861927ce30146be75bcb57b6939c0fd9fee43b3.tar.gz
wireshark-0861927ce30146be75bcb57b6939c0fd9fee43b3.tar.bz2
wireshark-0861927ce30146be75bcb57b6939c0fd9fee43b3.zip
huge cleanup of capture file API (functions in file.c/file.h).
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
Diffstat (limited to 'gtk/io_stat.c')
-rw-r--r--gtk/io_stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/io_stat.c b/gtk/io_stat.c
index c05c22a450..8bb636789a 100644
--- a/gtk/io_stat.c
+++ b/gtk/io_stat.c
@@ -1110,7 +1110,7 @@ gtk_iostat_init(char *optarg _U_)
/* build the GUI */
init_io_stat_window(io);
- retap_packets(&cfile);
+ cf_retap_packets(&cfile);
io_stat_redraw(io);
}
@@ -1270,7 +1270,7 @@ tick_interval_select(GtkWidget *item, gpointer key)
val=(int)OBJECT_GET_DATA(item, "tick_interval");
io->interval=val;
- retap_packets(&cfile);
+ cf_retap_packets(&cfile);
io_stat_redraw(io);
}
@@ -1634,7 +1634,7 @@ filter_callback(GtkWidget *widget _U_, io_stat_graph_t *gio)
io_stat_reset(gio->io);
enable_graph(gio, filter, field);
- retap_packets(&cfile);
+ cf_retap_packets(&cfile);
io_stat_redraw(gio->io);
return 0;