summaryrefslogtreecommitdiff
path: root/source3/aparser/header.awk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-16 12:43:53 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-16 12:43:53 +0000
commit128026c9a2de83a8ac6214e733fa871440c6b77f (patch)
treefca86e76f0020a2b16549cb0ab2a9dae29d61ac6 /source3/aparser/header.awk
parentf3a3a05ade784ff6906e5c8b132c9440a8db44e5 (diff)
downloadsamba-128026c9a2de83a8ac6214e733fa871440c6b77f.tar.gz
samba-128026c9a2de83a8ac6214e733fa871440c6b77f.tar.bz2
samba-128026c9a2de83a8ac6214e733fa871440c6b77f.zip
added the ".trailer" type, to mark where a packet turns into a trailer
this now gives us enough to parse complete function calls, including the return values (This used to be commit ca8f1e92adf3603ad15f73277576cc9178bb4d74)
Diffstat (limited to 'source3/aparser/header.awk')
-rw-r--r--source3/aparser/header.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/aparser/header.awk b/source3/aparser/header.awk
index 406335c930..24232bacf0 100644
--- a/source3/aparser/header.awk
+++ b/source3/aparser/header.awk
@@ -13,6 +13,7 @@ function header_element(f, elnum,
LOCAL, type)
{
type=elements[elnum, "type"];
+ if (substr(type,1,1) == ".") return;
xprintf(f,"\t%s %s;\n", type, header_elstring(elnum));
}