diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-01-18 10:18:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:17:16 -0500 |
commit | d6b3fce078869de35334c0805ff141dc8bcf5f65 (patch) | |
tree | b33ec293937c32551f71595c08d25d7037e18278 /source3/librpc/gen_ndr/srv_echo.h | |
parent | e9c294b926c0b831fd936194342ec0564f935798 (diff) | |
download | samba-d6b3fce078869de35334c0805ff141dc8bcf5f65.tar.gz samba-d6b3fce078869de35334c0805ff141dc8bcf5f65.tar.bz2 samba-d6b3fce078869de35334c0805ff141dc8bcf5f65.zip |
r20875: Pass DCE/RPC server call arguments as a struct rather than as separate arguments.
This makes it a bit more similar to the Samba4 code.
(This used to be commit 0596badb410a58e7a715e2b17bc0bef0489a2448)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_echo.h')
-rw-r--r-- | source3/librpc/gen_ndr/srv_echo.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/librpc/gen_ndr/srv_echo.h b/source3/librpc/gen_ndr/srv_echo.h index aa06afb264..c3b0336652 100644 --- a/source3/librpc/gen_ndr/srv_echo.h +++ b/source3/librpc/gen_ndr/srv_echo.h @@ -1,16 +1,16 @@ #include "librpc/gen_ndr/ndr_echo.h" #ifndef __SRV_RPCECHO__ #define __SRV_RPCECHO__ -void _echo_AddOne(pipes_struct *p, uint32_t in_data, uint32_t *out_data); -void _echo_EchoData(pipes_struct *p, uint32_t len, uint8_t *in_data, uint8_t *out_data); -void _echo_SinkData(pipes_struct *p, uint32_t len, uint8_t *data); -void _echo_SourceData(pipes_struct *p, uint32_t len, uint8_t *data); -void _echo_TestCall(pipes_struct *p, const char *s1, const char **s2); -NTSTATUS _echo_TestCall2(pipes_struct *p, uint16_t level, union echo_Info *info); -uint32 _echo_TestSleep(pipes_struct *p, uint32_t seconds); -void _echo_TestEnum(pipes_struct *p, enum echo_Enum1 *foo1, struct echo_Enum2 *foo2, union echo_Enum3 *foo3); -void _echo_TestSurrounding(pipes_struct *p, struct echo_Surrounding *data); -uint16 _echo_TestDoublePointer(pipes_struct *p, uint16_t ***data); +void _echo_AddOne(pipes_struct *p, struct echo_AddOne *r); +void _echo_EchoData(pipes_struct *p, struct echo_EchoData *r); +void _echo_SinkData(pipes_struct *p, struct echo_SinkData *r); +void _echo_SourceData(pipes_struct *p, struct echo_SourceData *r); +void _echo_TestCall(pipes_struct *p, struct echo_TestCall *r); +NTSTATUS _echo_TestCall2(pipes_struct *p, struct echo_TestCall2 *r); +uint32 _echo_TestSleep(pipes_struct *p, struct echo_TestSleep *r); +void _echo_TestEnum(pipes_struct *p, struct echo_TestEnum *r); +void _echo_TestSurrounding(pipes_struct *p, struct echo_TestSurrounding *r); +uint16 _echo_TestDoublePointer(pipes_struct *p, struct echo_TestDoublePointer *r); void rpcecho_get_pipe_fns(struct api_struct **fns, int *n_fns); NTSTATUS rpc_rpcecho_init(void); #endif /* __SRV_RPCECHO__ */ |