From 7588a01cb6d387440d778e3bd77225b287cf48bc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Jan 2005 23:27:12 +0000 Subject: r4520: added a enum test function to the echo pipe (This used to be commit f9e0aa1ab1faac039893db241819907c9c4bb510) --- source4/rpc_server/echo/rpc_echo.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/rpc_server/echo') diff --git a/source4/rpc_server/echo/rpc_echo.c b/source4/rpc_server/echo/rpc_echo.c index f86ae6debf..543bca1073 100644 --- a/source4/rpc_server/echo/rpc_echo.c +++ b/source4/rpc_server/echo/rpc_echo.c @@ -107,6 +107,12 @@ static NTSTATUS echo_TestCall2(struct dcesrv_call_state *dce_call, TALLOC_CTX *m return NT_STATUS_OK; } +static NTSTATUS echo_TestEnum(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_TestEnum *r) +{ + r->out.foo2->e1 = ECHO_ENUM2; + return NT_STATUS_OK; +} + static long echo_TestSleep(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_TestSleep *r) { sleep(r->in.seconds); -- cgit