From Martin Mathieson:
[obnox/wireshark/wip.git] / wiretap / file_access.c
index 18b4b0172bc35d09a3d9982321d0714b8ad2ebc4..a972d645683b0ca9dc24f49e148dfbdee80978d7 100644 (file)
@@ -70,6 +70,7 @@
 #include "hcidump.h"
 #include "network_instruments.h"
 #include "k12.h"
+#include "catapult_dct2000.h"
 
 /* The open_file_* routines should return:
  *
@@ -107,6 +108,7 @@ static int (*const open_routines[])(wtap *, int *, char **) = {
        airopeek9_open,
        dbs_etherwatch_open,
        k12_open,
+       catapult_dct2000_open,
        
        /* Files that don't have magic bytes at a fixed location,
         * but that instead require a heuristic of some sort to
@@ -509,6 +511,9 @@ static const struct file_type_info {
        { "IBM iSeries communications trace (UNICODE)", NULL, FALSE,
          NULL, NULL },
 
+       /* WTAP_FILE_CATAPULT_DCT2000 */
+       { "Catapult DCT2000 trace (.out format)", "dct2000", FALSE,
+         catapult_dct2000_dump_can_write_encap, catapult_dct2000_dump_open },
 };
 
 /* Name that should be somewhat descriptive. */