summaryrefslogtreecommitdiffstats
path: root/source3/librpc/gen_ndr/cli_svcctl.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-05-31 15:46:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:01 -0500
commiteec5e026adb176ad48b1ebcb0ddf71bbb609ad95 (patch)
treebe895acdbe28c03505a9ad61a05b2edd0111ee4e /source3/librpc/gen_ndr/cli_svcctl.c
parentde51cbadfcac86fed062dbe728d3fa96435d1320 (diff)
downloadsamba-eec5e026adb176ad48b1ebcb0ddf71bbb609ad95.tar.gz
samba-eec5e026adb176ad48b1ebcb0ddf71bbb609ad95.tar.xz
samba-eec5e026adb176ad48b1ebcb0ddf71bbb609ad95.zip
r23269: Regenerate svcctl files after IDL fixes
(This used to be commit 92c505bf7f15a79c6e32a38b2d218f65b0283507)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_svcctl.c')
-rw-r--r--source3/librpc/gen_ndr/cli_svcctl.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/source3/librpc/gen_ndr/cli_svcctl.c b/source3/librpc/gen_ndr/cli_svcctl.c
index 5fb6f68b62b..ce1904f04f3 100644
--- a/source3/librpc/gen_ndr/cli_svcctl.c
+++ b/source3/librpc/gen_ndr/cli_svcctl.c
@@ -37,7 +37,7 @@ NTSTATUS rpccli_svcctl_CloseServiceHandle(struct rpc_pipe_client *cli, TALLOC_CT
return werror_to_ntstatus(r.out.result);
}
-NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t control, struct SERVICE_STATUS *status)
+NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t control, struct SERVICE_STATUS *service_status)
{
struct svcctl_ControlService r;
NTSTATUS status;
@@ -63,7 +63,7 @@ NTSTATUS rpccli_svcctl_ControlService(struct rpc_pipe_client *cli, TALLOC_CTX *m
}
/* Return variables */
- *status = *r.out.status;
+ *service_status = *r.out.service_status;
/* Return result */
return werror_to_ntstatus(r.out.result);
@@ -188,7 +188,7 @@ NTSTATUS rpccli_svcctl_SetServiceObjectSecurity(struct rpc_pipe_client *cli, TAL
return werror_to_ntstatus(r.out.result);
}
-NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, struct SERVICE_STATUS *status)
+NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, struct SERVICE_STATUS *service_status)
{
struct svcctl_QueryServiceStatus r;
NTSTATUS status;
@@ -213,7 +213,7 @@ NTSTATUS rpccli_svcctl_QueryServiceStatus(struct rpc_pipe_client *cli, TALLOC_CT
}
/* Return variables */
- *status = *r.out.status;
+ *service_status = *r.out.service_status;
/* Return result */
return werror_to_ntstatus(r.out.result);
@@ -429,7 +429,7 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli, TALLOC_CTX *m
return werror_to_ntstatus(r.out.result);
}
-NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *service, uint32_t state, struct ENUM_SERVICE_STATUS *status, uint32_t buf_size, uint32_t *bytes_needed, uint32_t *services_returned)
+NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *service, uint32_t state, struct ENUM_SERVICE_STATUS *service_status, uint32_t buf_size, uint32_t *bytes_needed, uint32_t *services_returned)
{
struct svcctl_EnumDependentServicesW r;
NTSTATUS status;
@@ -456,8 +456,8 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli, TALLO
}
/* Return variables */
- if ( status ) {
- *status = *r.out.status;
+ if ( service_status ) {
+ *service_status = *r.out.service_status;
}
*bytes_needed = *r.out.bytes_needed;
*services_returned = *r.out.services_returned;
@@ -605,7 +605,7 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigW(struct rpc_pipe_client *cli, TALLOC_C
return werror_to_ntstatus(r.out.result);
}
-NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t buf_size, struct SERVICE_LOCK_STATUS *status, uint32_t *required_buf_size)
+NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t buf_size, struct SERVICE_LOCK_STATUS *lock_status, uint32_t *required_buf_size)
{
struct svcctl_QueryServiceLockStatusW r;
NTSTATUS status;
@@ -631,7 +631,7 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusW(struct rpc_pipe_client *cli, TALL
}
/* Return variables */
- *status = *r.out.status;
+ *lock_status = *r.out.lock_status;
*required_buf_size = *r.out.required_buf_size;
/* Return result */
@@ -859,7 +859,7 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli, TALLOC_CTX *m
return werror_to_ntstatus(r.out.result);
}
-NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *service, uint32_t state, struct ENUM_SERVICE_STATUS *status, uint32_t buf_size, uint32_t *bytes_needed, uint32_t *services_returned)
+NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *service, uint32_t state, struct ENUM_SERVICE_STATUS *service_status, uint32_t buf_size, uint32_t *bytes_needed, uint32_t *services_returned)
{
struct svcctl_EnumDependentServicesA r;
NTSTATUS status;
@@ -886,8 +886,8 @@ NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli, TALLO
}
/* Return variables */
- if ( status ) {
- *status = *r.out.status;
+ if ( service_status ) {
+ *service_status = *r.out.service_status;
}
*bytes_needed = *r.out.bytes_needed;
*services_returned = *r.out.services_returned;
@@ -1034,7 +1034,7 @@ NTSTATUS rpccli_svcctl_QueryServiceConfigA(struct rpc_pipe_client *cli, TALLOC_C
return werror_to_ntstatus(r.out.result);
}
-NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t buf_size, struct SERVICE_LOCK_STATUS *status, uint32_t *required_buf_size)
+NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct policy_handle *handle, uint32_t buf_size, struct SERVICE_LOCK_STATUS *lock_status, uint32_t *required_buf_size)
{
struct svcctl_QueryServiceLockStatusA r;
NTSTATUS status;
@@ -1060,7 +1060,7 @@ NTSTATUS rpccli_svcctl_QueryServiceLockStatusA(struct rpc_pipe_client *cli, TALL
}
/* Return variables */
- *status = *r.out.status;
+ *lock_status = *r.out.lock_status;
*required_buf_size = *r.out.required_buf_size;
/* Return result */