diff options
author | Günther Deschner <gd@samba.org> | 2008-01-08 18:07:55 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-01-08 18:08:15 +0100 |
commit | 791fe3119ef1756fc476b17b8c590241bee5de2e (patch) | |
tree | 606c1d57a176c795bb00ef987fd290b4a08a9b90 /source3/librpc/gen_ndr/cli_echo.c | |
parent | bfab6ab14bd2ba69fde8bbe32f56f308010c8ea7 (diff) | |
download | samba-791fe3119ef1756fc476b17b8c590241bee5de2e.tar.gz samba-791fe3119ef1756fc476b17b8c590241bee5de2e.tar.bz2 samba-791fe3119ef1756fc476b17b8c590241bee5de2e.zip |
Pedantic cosmetics: rerun make idl.
Guenther
(This used to be commit d1fa8049b1c0a3cebbc2c64e245e8055c8d3e84b)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_echo.c')
-rw-r--r-- | source3/librpc/gen_ndr/cli_echo.c | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/source3/librpc/gen_ndr/cli_echo.c b/source3/librpc/gen_ndr/cli_echo.c index 4da2d7a209..2d6187a937 100644 --- a/source3/librpc/gen_ndr/cli_echo.c +++ b/source3/librpc/gen_ndr/cli_echo.c @@ -10,29 +10,29 @@ NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, ui { struct echo_AddOne r; NTSTATUS status; - + /* In parameters */ r.in.in_data = in_data; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_AddOne, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_ADDONE, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_AddOne, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ *out_data = *r.out.out_data; - + /* Return result */ return NT_STATUS_OK; } @@ -41,30 +41,30 @@ NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, { struct echo_EchoData r; NTSTATUS status; - + /* In parameters */ r.in.len = len; r.in.in_data = in_data; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_EchoData, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_ECHODATA, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_EchoData, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ memcpy(out_data, r.out.out_data, r.in.len); - + /* Return result */ return NT_STATUS_OK; } @@ -73,29 +73,29 @@ NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, { struct echo_SinkData r; NTSTATUS status; - + /* In parameters */ r.in.len = len; r.in.data = data; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_SinkData, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_SINKDATA, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_SinkData, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ - + /* Return result */ return NT_STATUS_OK; } @@ -104,29 +104,29 @@ NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx { struct echo_SourceData r; NTSTATUS status; - + /* In parameters */ r.in.len = len; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_SourceData, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_SOURCEDATA, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_SourceData, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ memcpy(data, r.out.data, r.in.len); - + /* Return result */ return NT_STATUS_OK; } @@ -135,29 +135,29 @@ NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, { struct echo_TestCall r; NTSTATUS status; - + /* In parameters */ r.in.s1 = s1; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestCall, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTCALL, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_TestCall, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ *s2 = *r.out.s2; - + /* Return result */ return NT_STATUS_OK; } @@ -166,29 +166,29 @@ NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, { struct echo_TestCall2 r; NTSTATUS status; - + /* In parameters */ r.in.level = level; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestCall2, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTCALL2, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_TestCall2, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ *info = *r.out.info; - + /* Return result */ return r.out.result; } @@ -197,28 +197,28 @@ NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, { struct echo_TestSleep r; NTSTATUS status; - + /* In parameters */ r.in.seconds = seconds; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestSleep, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTSLEEP, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_TestSleep, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ - + /* Return result */ return NT_STATUS_OK; } @@ -227,33 +227,33 @@ NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, { struct echo_TestEnum r; NTSTATUS status; - + /* In parameters */ r.in.foo1 = foo1; r.in.foo2 = foo2; r.in.foo3 = foo3; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestEnum, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTENUM, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_TestEnum, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ *foo1 = *r.out.foo1; *foo2 = *r.out.foo2; *foo3 = *r.out.foo3; - + /* Return result */ return NT_STATUS_OK; } @@ -262,29 +262,29 @@ NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, TALLOC_CTX *me { struct echo_TestSurrounding r; NTSTATUS status; - + /* In parameters */ r.in.data = data; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestSurrounding, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTSURROUNDING, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_TestSurrounding, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ *data = *r.out.data; - + /* Return result */ return NT_STATUS_OK; } @@ -293,28 +293,28 @@ NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, TALLOC_CTX * { struct echo_TestDoublePointer r; NTSTATUS status; - + /* In parameters */ r.in.data = data; - + if (DEBUGLEVEL >= 10) NDR_PRINT_IN_DEBUG(echo_TestDoublePointer, &r); - + status = cli_do_rpc_ndr(cli, mem_ctx, PI_RPCECHO, &ndr_table_rpcecho, NDR_ECHO_TESTDOUBLEPOINTER, &r); - + if (!NT_STATUS_IS_OK(status)) { return status; } - + if (DEBUGLEVEL >= 10) NDR_PRINT_OUT_DEBUG(echo_TestDoublePointer, &r); - + if (NT_STATUS_IS_ERR(status)) { return status; } - + /* Return variables */ - + /* Return result */ return NT_STATUS_OK; } |