summaryrefslogtreecommitdiff
path: root/source/aparser/templates/fn_start.tpl
blob: a5d58767a6ce17e7603b3eb67a24927c8656ba4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*******************************************************************
parse a @STRUCTNAME@ structure
********************************************************************/
BOOL @FUNCNAME@(char *desc, io_struct *ps, int depth,
		@STRUCTNAME@ *il, unsigned flags)
{
	io_debug(ps, depth, desc, "@FUNCNAME@");
	depth++;
	
	if (!(flags & PARSE_SCALARS)) goto buffers;

#if 0
	if (UNMARSHALLING(ps)) {
		ZERO_STRUCTP(il);
	}
#endif
	/* parse the scalars */