]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print.h
Add program_name field in the netdissect_options structure
[tcpdump] / print.h
diff --git a/print.h b/print.h
index 048359da47ed2bb16b7d0374368c82b5e37b52d6..f69c2ff4e23e4621dcd0769dd7078b254dec8315 100644 (file)
--- a/print.h
+++ b/print.h
@@ -33,12 +33,12 @@ struct print_info {
        if_printer printer;
 };
 
-void   init_print(u_int32_t localnet, u_int32_t mask,
+void   init_print(netdissect_options *ndo, u_int32_t localnet, u_int32_t mask,
            uint32_t timezone_offset);
 
 int    has_printer(int type);
 
-struct print_info      get_print_info(int type);
+struct print_info      get_print_info(netdissect_options *ndo, int type);
 
 void   pretty_print_packet(struct print_info *print_info,
            const struct pcap_pkthdr *h, const u_char *sp,