Declare "wrap_dissect_gssapi_verf()" in "packet-gssapi.h", and, in
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 18 Jul 2004 04:03:26 +0000 (04:03 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 18 Jul 2004 04:03:26 +0000 (04:03 +0000)
"packet-kerberos.c", get the declaration from that header.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11408 f5534014-38df-0310-8fa8-9805f1628bb7

packet-gssapi.h
packet-kerberos.c

index 17fef333177d79cbb2b78235de1ef4ed291111f0..761b8b4c1d72cf8ec4f329703e9676ab4c0eb83e 100644 (file)
@@ -45,4 +45,8 @@ gssapi_init_oid(char *oid, int proto, int ett, dissector_handle_t handle,
 gssapi_oid_value *
 gssapi_lookup_oid(subid_t *oid, guint oid_len);
 
+int wrap_dissect_gssapi_verf(tvbuff_t *tvb, int offset, 
+                            packet_info *pinfo, 
+                            proto_tree *tree, guint8 *drep);
+
 #endif /* __PACKET_GSSAPI_H */
index 20725952af9c696d344ce65d5ca9cfdde41d7ec1..a84046d1799ea57c33f74ac698376fdc3d01c77c 100644 (file)
@@ -68,6 +68,9 @@
 #include "packet-dcerpc-netlogon.h"
 #include "packet-dcerpc.h"
 
+#include "asn1.h"              /* for "subid_t" */
+#include "packet-gssapi.h"
+
 #define UDP_PORT_KERBEROS              88
 #define TCP_PORT_KERBEROS              88
 
@@ -3909,11 +3912,6 @@ static int wrap_dissect_gss_kerb(tvbuff_t *tvb, int offset, packet_info *pinfo,
 }
 
 
-/* from packet-gssapi.c */
-extern int wrap_dissect_gssapi_verf(tvbuff_t *tvb, int offset, 
-                                   packet_info *pinfo, 
-                                   proto_tree *tree, guint8 *drep);
-
 static dcerpc_auth_subdissector_fns gss_kerb_auth_fns = {
        wrap_dissect_gss_kerb,                  /* Bind */
        wrap_dissect_gss_kerb,                  /* Bind ACK */