1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00

r8073: a successful rpc call from ejs!

the ejs_echo.c code is the stuff that needs to be auto-generated by
pidl. It only does echo_AddOne so far.

We also need a table for registering these calls. The code is
hard-wired for echo_AddOne for now.
This commit is contained in:
Andrew Tridgell
2005-07-02 11:12:33 +00:00
committed by Gerald (Jerry) Carter
parent c03753faa4
commit b1ea58ddc4
7 changed files with 306 additions and 13 deletions

View File

@@ -218,9 +218,9 @@ struct MprVar mprWERROR(WERROR status)
/*
set a pointer in a existing MprVar
*/
void mprSetPtr(struct MprVar *v, const char *propname, void *p)
void mprSetPtr(struct MprVar *v, const char *propname, const void *p)
{
struct MprVar val = mprCreatePtrVar(p, talloc_get_name(p));
struct MprVar val = mprCreatePtrVar(discard_const(p), NULL);
mprCreateProperty(v, propname, &val);
}