summaryrefslogtreecommitdiff
path: root/signature.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-04-03 17:40:30 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-04-03 17:43:33 +0400
commit8863fc0e5d6cc6bf64875fa4156ddfd54c6cf9c9 (patch)
tree6536d6359ec0d217111427deed002abb32acb257 /signature.h
parentf274a23dc1767eca8f4c433f6bd11ac5dbf4f31e (diff)
downloadtcpdump-8863fc0e5d6cc6bf64875fa4156ddfd54c6cf9c9.tar.gz
NDOize some generic code
Diffstat (limited to 'signature.h')
-rw-r--r--signature.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/signature.h b/signature.h
index 3f664c5b..a052df86 100644
--- a/signature.h
+++ b/signature.h
@@ -15,10 +15,13 @@
* Original code by Hannes Gredler (hannes@juniper.net)
*/
+/* for netdissect_options */
+#include "netdissect.h"
+
/* signature checking result codes */
#define SIGNATURE_VALID 0
#define SIGNATURE_INVALID 1
#define CANT_CHECK_SIGNATURE 2
extern const struct tok signature_check_values[];
-extern int signature_verify (const u_char *, u_int, u_char *);
+extern int signature_verify(netdissect_options *, const u_char *, u_int, u_char *);