X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/dcfd7c43ad68dcaf9863201d339efab0bf4afada..1fb50928ce27360c1c987312774f686b23c69b51:/print.h diff --git a/print.h b/print.h index f69c2ff4..9632694e 100644 --- a/print.h +++ b/print.h @@ -28,19 +28,14 @@ #ifndef print_h #define print_h -struct print_info { - netdissect_options *ndo; - if_printer printer; -}; - -void init_print(netdissect_options *ndo, u_int32_t localnet, u_int32_t mask, +void init_print(netdissect_options *ndo, uint32_t localnet, uint32_t mask, uint32_t timezone_offset); int has_printer(int type); -struct print_info get_print_info(netdissect_options *ndo, int type); +if_printer get_if_printer(netdissect_options *ndo, int type); -void pretty_print_packet(struct print_info *print_info, +void pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *sp, u_int packets_captured);