]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect.h
add a maxlen boundary check to safeputs, print unprintable chars as hex in safeputchar
[tcpdump] / netdissect.h
index dfc03d3cae62b628cc76e840339dcd63e9a1ddde..1f1c1bbe092e7e132d13d36a401b5dda9af6dc92 100644 (file)
@@ -21,7 +21,7 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/netdissect.h,v 1.20 2005-10-20 07:43:51 hannes Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/netdissect.h,v 1.21 2006-02-08 01:38:17 hannes Exp $ (LBL)
  */
 
 #ifndef netdissect_h
@@ -234,7 +234,7 @@ extern char *copy_argv(netdissect_options *, char **);
 #endif
 
 extern void safeputchar(int);
-extern void safeputs(const char *);
+extern void safeputs(const char *, int);
 
 #if 0
 extern const char *isonsap_string(netdissect_options *, const u_char *);