mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
f3a3a05ade
we can now handle arrays of structures, pointers to structures,
pointers in unions etc
(This used to be commit 1df80cd1e8
)
14 lines
408 B
Smarty
14 lines
408 B
Smarty
/*******************************************************************
|
|
parse a @STRUCTNAME@ structure
|
|
********************************************************************/
|
|
BOOL @FUNCNAME@(char *desc, prs_struct *ps, int depth,
|
|
@STRUCTNAME@ *il, unsigned flags)
|
|
{
|
|
prs_debug(ps, depth, desc, "@FUNCNAME@");
|
|
depth++;
|
|
|
|
if (!(flags & PARSE_SCALARS)) goto buffers;
|
|
|
|
ZERO_STRUCTP(il);
|
|
/* parse the scalars */
|