summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/cli_lsa.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-07-17 13:09:26 +0200
committerGünther Deschner <gd@samba.org>2009-07-17 13:50:33 +0200
commit9ac5f5c8ce6b82d26ed6efc4632e08182d2fda39 (patch)
tree93fa3f752836d65affc353ad1690fb76dfde5302 /librpc/gen_ndr/cli_lsa.c
parentb180fe34a71a595d0dea8e72877149361b531e02 (diff)
downloadsamba-9ac5f5c8ce6b82d26ed6efc4632e08182d2fda39.tar.gz
samba-9ac5f5c8ce6b82d26ed6efc4632e08182d2fda39.tar.bz2
samba-9ac5f5c8ce6b82d26ed6efc4632e08182d2fda39.zip
lsa: fill in lsa_StorePrivateData and lsa_RetrievePrivateData and rerun make samba3-idl.
Guenther
Diffstat (limited to 'librpc/gen_ndr/cli_lsa.c')
-rw-r--r--librpc/gen_ndr/cli_lsa.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/librpc/gen_ndr/cli_lsa.c b/librpc/gen_ndr/cli_lsa.c
index 93362537b4..04cf38aaf3 100644
--- a/librpc/gen_ndr/cli_lsa.c
+++ b/librpc/gen_ndr/cli_lsa.c
@@ -1796,12 +1796,18 @@ NTSTATUS rpccli_lsa_DeleteTrustedDomain(struct rpc_pipe_client *cli,
}
NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx)
+ TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *name /* [in] [ref] */,
+ struct lsa_DATA_BUF *val /* [in] [unique] */)
{
struct lsa_StorePrivateData r;
NTSTATUS status;
/* In parameters */
+ r.in.handle = handle;
+ r.in.name = name;
+ r.in.val = val;
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(lsa_StorePrivateData, &r);
@@ -1832,12 +1838,18 @@ NTSTATUS rpccli_lsa_StorePrivateData(struct rpc_pipe_client *cli,
}
NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli,
- TALLOC_CTX *mem_ctx)
+ TALLOC_CTX *mem_ctx,
+ struct policy_handle *handle /* [in] [ref] */,
+ struct lsa_String *name /* [in] [ref] */,
+ struct lsa_DATA_BUF **val /* [in,out] [ref] */)
{
struct lsa_RetrievePrivateData r;
NTSTATUS status;
/* In parameters */
+ r.in.handle = handle;
+ r.in.name = name;
+ r.in.val = val;
if (DEBUGLEVEL >= 10) {
NDR_PRINT_IN_DEBUG(lsa_RetrievePrivateData, &r);
@@ -1862,6 +1874,7 @@ NTSTATUS rpccli_lsa_RetrievePrivateData(struct rpc_pipe_client *cli,
}
/* Return variables */
+ *val = *r.out.val;
/* Return result */
return r.out.result;