summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/fn_start.tpl
blob: 017f894f7834c00ac8f1d9618913ee869bb6cb34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*******************************************************************
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 */