summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_echo.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-19 22:22:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:00:47 -0500
commit8c79b4cbc152dd4df11d3916739bc851b6db2e86 (patch)
treef5da62c648b8e8bb0fbda769527fa8b69ec1860d /source3/librpc/gen_ndr/srv_echo.c
parent6ffa76d76e67610d303d0ac0273914f1ead05558 (diff)
downloadsamba-8c79b4cbc152dd4df11d3916739bc851b6db2e86.tar.gz
samba-8c79b4cbc152dd4df11d3916739bc851b6db2e86.tar.bz2
samba-8c79b4cbc152dd4df11d3916739bc851b6db2e86.zip
r18690: Regenerate RPC files after pidl changes.
(This used to be commit 87d34305374e867eeac9d75d5d690c6b15570e6e)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_echo.c')
-rw-r--r--source3/librpc/gen_ndr/srv_echo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_echo.c b/source3/librpc/gen_ndr/srv_echo.c
index d3dc7b9e1f..578760358e 100644
--- a/source3/librpc/gen_ndr/srv_echo.c
+++ b/source3/librpc/gen_ndr/srv_echo.c
@@ -31,6 +31,7 @@ static BOOL api_echo_AddOne(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.out_data = talloc_size(mem_ctx, sizeof(*r.out.out_data));
if (r.out.out_data == NULL) {
talloc_free(mem_ctx);
@@ -87,6 +88,7 @@ static BOOL api_echo_EchoData(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.out_data = talloc_array_size(mem_ctx, sizeof(*r.out.out_data), r.in.len);
if (r.out.out_data == NULL) {
talloc_free(mem_ctx);
@@ -193,6 +195,7 @@ static BOOL api_echo_SourceData(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.data = talloc_array_size(mem_ctx, sizeof(*r.out.data), r.in.len);
if (r.out.data == NULL) {
talloc_free(mem_ctx);
@@ -249,6 +252,7 @@ static BOOL api_echo_TestCall(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.s2 = talloc_size(mem_ctx, sizeof(*r.out.s2));
if (r.out.s2 == NULL) {
talloc_free(mem_ctx);
@@ -305,6 +309,7 @@ static BOOL api_echo_TestCall2(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.info = talloc_size(mem_ctx, sizeof(*r.out.info));
if (r.out.info == NULL) {
talloc_free(mem_ctx);
@@ -411,6 +416,7 @@ static BOOL api_echo_TestEnum(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.foo1 = r.in.foo1;
r.out.foo2 = r.in.foo2;
r.out.foo3 = r.in.foo3;
@@ -464,6 +470,7 @@ static BOOL api_echo_TestSurrounding(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.data = r.in.data;
_echo_TestSurrounding(p, r.in.data);