summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_lsa.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-08 22:54:18 +0200
committerGünther Deschner <gd@samba.org>2008-04-08 22:54:18 +0200
commitceec50446ba7ceb68efe9cd2496e2730e8e98d17 (patch)
tree776a8800666e1d4d93930053caf1da49f808b33c /source3/librpc/gen_ndr/cli_lsa.c
parentd1790aa50d79a8e7c05fda4add11ae35be34a8bb (diff)
downloadsamba-ceec50446ba7ceb68efe9cd2496e2730e8e98d17.tar.gz
samba-ceec50446ba7ceb68efe9cd2496e2730e8e98d17.tar.bz2
samba-ceec50446ba7ceb68efe9cd2496e2730e8e98d17.zip
Re-run make idl.
Guenther (This used to be commit 83dc2e1477333480511b8948d4e3e8e90ff86e25)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_lsa.c')
-rw-r--r--source3/librpc/gen_ndr/cli_lsa.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/source3/librpc/gen_ndr/cli_lsa.c b/source3/librpc/gen_ndr/cli_lsa.c
index 2b673054dc..475dd1e602 100644
--- a/source3/librpc/gen_ndr/cli_lsa.c
+++ b/source3/librpc/gen_ndr/cli_lsa.c
@@ -1709,7 +1709,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
struct policy_handle *handle /* [in] [ref] */,
struct dom_sid2 *dom_sid /* [in] [ref] */,
enum lsa_TrustDomInfoEnum level /* [in] */,
- union lsa_TrustedDomainInfo *info /* [out] [unique,switch_is(level)] */)
+ union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */)
{
struct lsa_QueryTrustedDomainInfoBySid r;
NTSTATUS status;
@@ -1743,9 +1743,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoBySid(struct rpc_pipe_client *cli,
}
/* Return variables */
- if (info && r.out.info) {
- *info = *r.out.info;
- }
+ *info = *r.out.info;
/* Return result */
return r.out.result;
@@ -2086,7 +2084,7 @@ NTSTATUS rpccli_lsa_QueryTrustedDomainInfoByName(struct rpc_pipe_client *cli,
struct policy_handle *handle /* [in] [ref] */,
struct lsa_String *trusted_domain /* [in] [ref] */,
enum lsa_TrustDomInfoEnum level /* [in] */,
- union lsa_TrustedDomainInfo *info /* [out] [ref,switch_is(level)] */)
+ union lsa_TrustedDomainInfo **info /* [out] [ref,switch_is(level)] */)
{
struct lsa_QueryTrustedDomainInfoByName r;
NTSTATUS status;
@@ -2298,7 +2296,7 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *handle /* [in] [ref] */,
uint16_t level /* [in] */,
- union lsa_DomainInformationPolicy *info /* [out] [unique,switch_is(level)] */)
+ union lsa_DomainInformationPolicy **info /* [out] [ref,switch_is(level)] */)
{
struct lsa_QueryDomainInformationPolicy r;
NTSTATUS status;
@@ -2331,9 +2329,7 @@ NTSTATUS rpccli_lsa_QueryDomainInformationPolicy(struct rpc_pipe_client *cli,
}
/* Return variables */
- if (info && r.out.info) {
- *info = *r.out.info;
- }
+ *info = *r.out.info;
/* Return result */
return r.out.result;