Declare "wrap_dissect_gssapi_verf()" in "packet-gssapi.h", and, in

"packet-kerberos.c", get the declaration from that header.

svn path=/trunk/; revision=11408
This commit is contained in:
Guy Harris 2004-07-18 04:03:26 +00:00
parent fbd37e5c16
commit d11757d5b3
2 changed files with 7 additions and 5 deletions

View 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 */

View 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 */