summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-15 06:03:22 +0000
committerMartin Pool <mbp@samba.org>2001-11-15 06:03:22 +0000
commitea40fa55f0c385dd714300a7dcf89393f831ca79 (patch)
treed9d66ee7df7627544b33c54375ef7b8a1af388a7 /source3/rpc_parse
parent05903e9f8cc7b61576353bb274190d2530593437 (diff)
downloadsamba-ea40fa55f0c385dd714300a7dcf89393f831ca79.tar.gz
samba-ea40fa55f0c385dd714300a7dcf89393f831ca79.tar.bz2
samba-ea40fa55f0c385dd714300a7dcf89393f831ca79.zip
Doxygen demo for Tim.
(This used to be commit 5c892badbcad43b8a2e002d1a42483c402f2d3e9)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_prs.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index 7b38e82f5a..89b0db4609 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -61,9 +61,14 @@ void prs_debug(prs_struct *ps, int depth, char *desc, char *fn_name)
}
-/*******************************************************************
- Initialise a parse structure - malloc the data if requested.
- ********************************************************************/
+/**
+ * Initialise an expandable parse structure.
+ *
+ * @param size Initial buffer size. If >0, a new buffer will be
+ * created with malloc().
+ *
+ * @return False if allocation fails, otherwise True.
+ **/
BOOL prs_init(prs_struct *ps, uint32 size, TALLOC_CTX *ctx, BOOL io)
{
ZERO_STRUCTP(ps);