forked from osmocom/wireshark
We can't really have conformant strings they are always conformant and
varying but pidl insists on having a different function. Bug 9306 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9306) From Matthieu Patou. svn path=/trunk/; revision=52742
This commit is contained in:
parent
ac7caf7007
commit
772fb97f76
|
@ -1732,6 +1732,14 @@ dissect_ndr_cvstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|||
return offset;
|
||||
}
|
||||
|
||||
int
|
||||
dissect_ndr_cstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep, int size_is,
|
||||
int hfindex, gboolean add_subtree, char **data)
|
||||
{
|
||||
return dissect_ndr_cvstring(tvb, offset, pinfo, tree, drep, size_is, hfindex, add_subtree, data);
|
||||
}
|
||||
|
||||
/* Dissect an conformant varying string of chars.
|
||||
This corresponds to IDL of the form '[string] char *foo'.
|
||||
|
||||
|
|
|
@ -284,7 +284,10 @@ int dissect_ndr_wchar_cvstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|||
proto_tree *tree, guint8 *drep);
|
||||
int PIDL_dissect_cvstring(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, guint8 *drep, int chsize, int hfindex, guint32 param);
|
||||
|
||||
int dissect_ndr_vstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
||||
int dissect_ndr_cstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep, int size_is,
|
||||
int hfindex, gboolean add_subtree, char **data);
|
||||
int dissect_ndr_vstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
|
||||
proto_tree *tree, guint8 *drep, int size_is,
|
||||
int hfinfo, gboolean add_subtree,
|
||||
char **data);
|
||||
|
|
Loading…
Reference in New Issue