Let routines from the Kerberos dissector be called from C++.

Wrap its declarations in the usual "extern "C"" stuff.

Change-Id: I353ab334bc08a69fdacaaab5672edf758b14766a
Reviewed-on: https://code.wireshark.org/review/6201
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2015-01-01 04:13:05 -08:00
parent 0a64b55971
commit 219d37e2d1
2 changed files with 17 additions and 5 deletions

View File

@ -26,6 +26,10 @@
#include "ws_symbol_export.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* This is a list of callback functions a caller can use to specify that
octet strings in kerberos to be passed back to application specific
dissectors, outside of kerberos.
@ -96,6 +100,8 @@ void read_keytab_file_from_preferences(void);
#include "packet-kerberos-exp.h"
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __PACKET_KERBEROS_H */

View File

@ -34,6 +34,10 @@
#include "ws_symbol_export.h"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* This is a list of callback functions a caller can use to specify that
octet strings in kerberos to be passed back to application specific
dissectors, outside of kerberos.
@ -108,8 +112,10 @@ void read_keytab_file_from_preferences(void);
int dissect_kerberos_ChangePasswdData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
/*--- End of included file: packet-kerberos-exp.h ---*/
#line 98 "../../asn1/kerberos/packet-kerberos-template.h"
#line 102 "../../asn1/kerberos/packet-kerberos-template.h"
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __PACKET_KERBEROS_H */