aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-windows-common.h
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-03-31 11:59:59 +0000
committerBill Meier <wmeier@newsguy.com>2009-03-31 11:59:59 +0000
commit6d740b3d0003ec3b08f58c67031fa3e9ab285e45 (patch)
treed486b10eb069f51ef8e95fdbe65b50c1aaad1fe3 /epan/dissectors/packet-windows-common.h
parent2776974a355779328e8e9e72a40f264ae1b419e1 (diff)
From: yami <yamisoe [AT] gmail.com>: Update comment in .c file; copy same to .h file
svn path=/trunk/; revision=27909
Diffstat (limited to 'epan/dissectors/packet-windows-common.h')
-rw-r--r--epan/dissectors/packet-windows-common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-windows-common.h b/epan/dissectors/packet-windows-common.h
index 88b957e3c4..f24843f2c5 100644
--- a/epan/dissectors/packet-windows-common.h
+++ b/epan/dissectors/packet-windows-common.h
@@ -203,6 +203,14 @@ extern const value_string ms_country_codes[];
int dissect_nt_64bit_time(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_date);
+/* Dissect a NT SID. Label it with 'name' and return a string version
+ * of the SID in the 'sid_str' parameter which has a packet lifetime
+ * scope and should NOT be freed by the caller. hf_sid can be -1 if
+ * the caller doesnt care what name is used and then "nt.sid" will be
+ * the default instead. If the caller wants a more appropriate hf
+ * field, it will just pass a FT_STRING hf field here
+ */
+
int dissect_nt_sid(tvbuff_t *tvb, int offset, proto_tree *parent_tree,
const char *name, char **sid_str, int hf_sid);