$NetBSD: patch-sniffit_h,v 1.2 2012/04/07 09:23:11 obache Exp $ - move strlower to sn_cfgfile.h to make it visible in the right places - my_exit should be file-static - update const to match changes to sniffit.0.3.5.c --- sniffit.h.orig 1997-04-18 09:33:58.000000000 +0000 +++ sniffit.h @@ -9,20 +9,18 @@ pcap_handler packethandler(unsigned char const unsigned char *); int check_mask (const struct packetheader *,const unsigned char *, char *, char *,struct unwrap *); -pcap_handler interactive_packethandler( char *, const struct packetheader *, +pcap_handler interactive_packethandler( unsigned char *, const struct packetheader *, const unsigned char *); void print_iphead (struct IP_header *, char); unsigned long getaddrbyname(char *); void quit (char *); void reset_all (void); -char *strlower (char *); struct file_info *add_dynam (char *, char, char, unsigned long, int); void delete_dynam (char *, char, char); -void record_buf(struct file_info *, unsigned long, char *, int, int); +void record_buf(struct file_info *, unsigned long, const char *, int, int); void sb_shift(struct file_info *); -void sbuf_update(struct file_info *, unsigned long, char *, int); +void sbuf_update(struct file_info *, unsigned long, const char *, int); struct file_info *search_dynam(char *, char); -void my_exit (void); /**** Sniffit functions (plugins) *******************************************/ void start_plugin (int, struct Plugin_data *);