1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/aparser/templates/fn_start.tpl
Andrew Tridgell f3a3a05ade another awk parser update
we can now handle arrays of structures, pointers to structures,
pointers in unions etc
(This used to be commit 1df80cd1e8)
2000-05-16 11:55:06 +00:00

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 */