summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/smbcalls.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-10 08:35:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:31 -0500
commit056096c30ba73cbc5304c99af5d5a08d89111aab (patch)
tree411dade1ba4bbfc5a958515d300e0227893a86e1 /source4/scripting/ejs/smbcalls.h
parente43e8fcf55e55fa2cc54b83c8a4111f3a6e4eae7 (diff)
downloadsamba-056096c30ba73cbc5304c99af5d5a08d89111aab.tar.gz
samba-056096c30ba73cbc5304c99af5d5a08d89111aab.tar.bz2
samba-056096c30ba73cbc5304c99af5d5a08d89111aab.zip
r8284: - fixed some uninitialised variables in the irpc code
- added code to send multiple irpc calls in parallel, to all servers that have registered the given name, with output going in io.results[i]. This allows you to make rpc calls to multiple servers at once, which is needed for clients like smbstatus (This used to be commit 061e20e509d95ffe16d7dd6fba7db39fc7a165ed)
Diffstat (limited to 'source4/scripting/ejs/smbcalls.h')
-rw-r--r--source4/scripting/ejs/smbcalls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbcalls.h b/source4/scripting/ejs/smbcalls.h
index c16b65b3c1..5bd7d4e448 100644
--- a/source4/scripting/ejs/smbcalls.h
+++ b/source4/scripting/ejs/smbcalls.h
@@ -25,5 +25,7 @@
void mpr_Return(int eid, struct MprVar);
NTSTATUS mprSetVar(struct MprVar *v, const char *name, struct MprVar val);
NTSTATUS mprGetVar(struct MprVar **v, const char *name);
+void mprAddArray(struct MprVar *var, int i, struct MprVar v);
+