1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

some templates needed for the new aparser stuff

This commit is contained in:
Andrew Tridgell -
parent 6b888d600d
commit e13089b040
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,12 @@
/* the parse is OK */
return True;
fail:
if (UNMARSHALLING(ps)) {
ZERO_STRUCTP(il);
}
return False;
} /* @FUNCNAME@ */

View File

@ -0,0 +1,15 @@
/*******************************************************************
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 0
if (UNMARSHALLING(ps)) {
ZERO_STRUCTP(il);
}
#endif
/* parse the scalars */