diff options
author | Martin Pool <mbp@samba.org> | 2001-11-15 06:03:22 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2001-11-15 06:03:22 +0000 |
commit | 5c892badbcad43b8a2e002d1a42483c402f2d3e9 (patch) | |
tree | 03deffda41c3d43d1c3df93288d39d300dffced4 /source/rpc_parse | |
parent | 9f9d4cae1d19d930e8d8a6a879899560c089b878 (diff) | |
download | samba-5c892badbcad43b8a2e002d1a42483c402f2d3e9.tar.gz samba-5c892badbcad43b8a2e002d1a42483c402f2d3e9.tar.xz samba-5c892badbcad43b8a2e002d1a42483c402f2d3e9.zip |
Doxygen demo for Tim.
Diffstat (limited to 'source/rpc_parse')
-rw-r--r-- | source/rpc_parse/parse_prs.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/rpc_parse/parse_prs.c b/source/rpc_parse/parse_prs.c index 7b38e82f5a6..89b0db46095 100644 --- a/source/rpc_parse/parse_prs.c +++ b/source/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); |