summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/ejsrpc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-21 00:42:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:02 -0500
commit9f43d96e3f64b9354cd2cc1685fab254f811eedf (patch)
treeb7e1a27a5dd921113cad81390f0945e309615687 /source4/scripting/ejs/ejsrpc.c
parent6a167124cdad339814ec6499aab30094e8cc43a6 (diff)
downloadsamba-9f43d96e3f64b9354cd2cc1685fab254f811eedf.tar.gz
samba-9f43d96e3f64b9354cd2cc1685fab254f811eedf.tar.bz2
samba-9f43d96e3f64b9354cd2cc1685fab254f811eedf.zip
r25266: Fix case.
(This used to be commit 935ac3189d93e53841dc47c0f9c7fcca5661a2bb)
Diffstat (limited to 'source4/scripting/ejs/ejsrpc.c')
-rw-r--r--source4/scripting/ejs/ejsrpc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/scripting/ejs/ejsrpc.c b/source4/scripting/ejs/ejsrpc.c
index 53660d433f..a5654e0f00 100644
--- a/source4/scripting/ejs/ejsrpc.c
+++ b/source4/scripting/ejs/ejsrpc.c
@@ -311,7 +311,7 @@ NTSTATUS ejs_push_null(struct ejs_rpc *ejs, struct MprVar *v, const char *name)
return mprSetVar(v, name, mprCreatePtrVar(NULL));
}
-BOOL ejs_pull_null(struct ejs_rpc *ejs, struct MprVar *v, const char *name)
+bool ejs_pull_null(struct ejs_rpc *ejs, struct MprVar *v, const char *name)
{
NTSTATUS status = mprGetVar(&v, name);
if (!NT_STATUS_IS_OK(status)) {
@@ -372,16 +372,16 @@ NTSTATUS ejs_push_DATA_BLOB(struct ejs_rpc *ejs,
return NT_STATUS_NOT_IMPLEMENTED;
}
-NTSTATUS ejs_pull_BOOL(struct ejs_rpc *ejs,
- struct MprVar *v, const char *name, BOOL *r)
+NTSTATUS ejs_pull_bool(struct ejs_rpc *ejs,
+ struct MprVar *v, const char *name, bool *r)
{
NDR_CHECK(mprGetVar(&v, name));
*r = mprVarToBool(v);
return NT_STATUS_OK;
}
-NTSTATUS ejs_push_BOOL(struct ejs_rpc *ejs,
- struct MprVar *v, const char *name, const BOOL *r)
+NTSTATUS ejs_push_bool(struct ejs_rpc *ejs,
+ struct MprVar *v, const char *name, const bool *r)
{
return mprSetVar(v, name, mprCreateBoolVar(*r));
}