From 9f43d96e3f64b9354cd2cc1685fab254f811eedf Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 21 Sep 2007 00:42:51 +0000 Subject: r25266: Fix case. (This used to be commit 935ac3189d93e53841dc47c0f9c7fcca5661a2bb) --- source4/scripting/ejs/ejsrpc.c | 10 +++++----- source4/scripting/ejs/ejsrpc.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source4/scripting') 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)); } diff --git a/source4/scripting/ejs/ejsrpc.h b/source4/scripting/ejs/ejsrpc.h index ef920b816a..6723fb4107 100644 --- a/source4/scripting/ejs/ejsrpc.h +++ b/source4/scripting/ejs/ejsrpc.h @@ -113,9 +113,9 @@ NTSTATUS ejs_pull_DATA_BLOB(struct ejs_rpc *ejs, struct MprVar *v, const char *name, DATA_BLOB *r); NTSTATUS ejs_push_DATA_BLOB(struct ejs_rpc *ejs, struct MprVar *v, const char *name, const DATA_BLOB *r); -NTSTATUS ejs_pull_BOOL(struct ejs_rpc *ejs, +NTSTATUS ejs_pull_bool(struct ejs_rpc *ejs, struct MprVar *v, const char *name, bool *r); -NTSTATUS ejs_push_BOOL(struct ejs_rpc *ejs, +NTSTATUS ejs_push_bool(struct ejs_rpc *ejs, struct MprVar *v, const char *name, const bool *r); NTSTATUS ejs_pull_array_uint8(struct ejs_rpc *ejs, -- cgit