summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/prs_array_remainder.tpl
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-31 13:48:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:02 -0500
commit049d6714cb5aa0811624666335995b4b3fd28254 (patch)
tree2aa3f2225bf88f40fa9af7c2f1e25a9148c7935f /source3/aparser/templates/prs_array_remainder.tpl
parentf24d88cf9da46680d52b42b92bd484e7b09ce99b (diff)
downloadsamba-049d6714cb5aa0811624666335995b4b3fd28254.tar.gz
samba-049d6714cb5aa0811624666335995b4b3fd28254.tar.bz2
samba-049d6714cb5aa0811624666335995b4b3fd28254.zip
r7140: removing aparser directory since it is obselete in light of pidl
(This used to be commit 38cad678b8058d5ac99b41c0be07f4c58a720cfc)
Diffstat (limited to 'source3/aparser/templates/prs_array_remainder.tpl')
-rw-r--r--source3/aparser/templates/prs_array_remainder.tpl17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/aparser/templates/prs_array_remainder.tpl b/source3/aparser/templates/prs_array_remainder.tpl
deleted file mode 100644
index c8b1e2ab5a..0000000000
--- a/source3/aparser/templates/prs_array_remainder.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
- if (UNMARSHALLING(ps))
- {
- int i;
- for (i=0;ps->data_offset < ps->buffer_size;i++) {
- if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*(i+1))) goto fail;
- if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
- }
- }
- else
- {
- int i = -1;
- /* HACK ALERT! */
- do {
- i++;
- if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
- } while (il->@ELEM@[i].tag2 != 0);
- }