diff options
author | Will Thompson <will@willthompson.co.uk> | 2012-01-13 10:08:17 +0000 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2012-01-13 10:08:59 +0000 |
commit | bd5957f6bb522dae3e7fd591fab8859b72bab149 (patch) | |
tree | 77d861755e16652274c2f2a440fc79a3ac04f5d4 /c-sources/bustle-pcap.c | |
parent | a2eb070375be30d7621cf7194e2dad9c43de2824 (diff) |
Rename BustlePcap to BustlePcapMonitor
This is a clearer name, matches the Haskell binding better, and means we
don't include two different headers called pcap.h.
Diffstat (limited to 'c-sources/bustle-pcap.c')
-rw-r--r-- | c-sources/bustle-pcap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c-sources/bustle-pcap.c b/c-sources/bustle-pcap.c index 785a2e4..67f6e53 100644 --- a/c-sources/bustle-pcap.c +++ b/c-sources/bustle-pcap.c @@ -23,7 +23,7 @@ #include <glib/gprintf.h> #include <gio/gunixinputstream.h> -#include "pcap.h" +#include "pcap-monitor.h" static gboolean verbose = FALSE; static gboolean quiet = FALSE; @@ -152,12 +152,12 @@ main ( GBusType bus_type; gchar *filename; GError *error = NULL; - BustlePcap *pcap; + BustlePcapMonitor *pcap; g_type_init (); parse_arguments (&argc, &argv, &bus_type, &filename); - pcap = bustle_pcap_new (bus_type, filename, verbose, &error); + pcap = bustle_pcap_monitor_new (bus_type, filename, verbose, &error); if (pcap == NULL) { fprintf (stderr, "%s", error->message); @@ -173,7 +173,7 @@ main ( g_main_loop_run (loop); g_main_loop_unref (loop); - bustle_pcap_stop (pcap); + bustle_pcap_monitor_stop (pcap); g_object_unref (pcap); return 0; |