This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[jra/samba/.git] / source3 / aparser / templates / fn_start.tpl
1 /*******************************************************************
2 parse a @STRUCTNAME@ structure
3 ********************************************************************/
4 BOOL @FUNCNAME@(char *desc, io_struct *ps, int depth,
5                 @STRUCTNAME@ *il, unsigned flags)
6 {
7         io_debug(ps, depth, desc, "@FUNCNAME@");
8         depth++;
9         
10         if (!(flags & PARSE_SCALARS)) goto buffers;
11
12 #if 0
13         if (UNMARSHALLING(ps)) {
14                 ZERO_STRUCTP(il);
15         }
16 #endif
17         /* parse the scalars */