]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: re-run make samba3-idl.
authorGünther Deschner <gd@samba.org>
Thu, 9 Apr 2009 14:41:32 +0000 (16:41 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 9 Apr 2009 14:41:56 +0000 (16:41 +0200)
Guenther

librpc/gen_ndr/cli_svcctl.c
librpc/gen_ndr/cli_svcctl.h
librpc/gen_ndr/ndr_svcctl.c
librpc/gen_ndr/svcctl.h

index 1d9de55d707c7415c433e69f27d2a4de14a7fa5f..f6cedfbc7cfe56e7704358f84c050d07fa13d78a 100644 (file)
@@ -647,7 +647,7 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli,
 NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli,
                                              TALLOC_CTX *mem_ctx,
                                              struct policy_handle *service /* [in] [ref] */,
-                                             uint32_t state /* [in]  */,
+                                             enum svcctl_ServiceState state /* [in]  */,
                                              uint8_t *service_status /* [out] [ref,size_is(offered)] */,
                                              uint32_t offered /* [in] [range(0,0x40000)] */,
                                              uint32_t *needed /* [out] [ref,range(0,0x40000)] */,
@@ -1288,7 +1288,7 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli,
 NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli,
                                              TALLOC_CTX *mem_ctx,
                                              struct policy_handle *service /* [in] [ref] */,
-                                             uint32_t state /* [in]  */,
+                                             enum svcctl_ServiceState state /* [in]  */,
                                              struct ENUM_SERVICE_STATUSA *service_status /* [out] [unique] */,
                                              uint32_t offered /* [in]  */,
                                              uint32_t *needed /* [out] [ref] */,
index 0bd5f53a6a482434772419c622da6cffac356d1c..c656eba530f4c7bf5720e6a1ae974557ca658314 100644 (file)
@@ -93,7 +93,7 @@ NTSTATUS rpccli_svcctl_CreateServiceW(struct rpc_pipe_client *cli,
 NTSTATUS rpccli_svcctl_EnumDependentServicesW(struct rpc_pipe_client *cli,
                                              TALLOC_CTX *mem_ctx,
                                              struct policy_handle *service /* [in] [ref] */,
-                                             uint32_t state /* [in]  */,
+                                             enum svcctl_ServiceState state /* [in]  */,
                                              uint8_t *service_status /* [out] [ref,size_is(offered)] */,
                                              uint32_t offered /* [in] [range(0,0x40000)] */,
                                              uint32_t *needed /* [out] [ref,range(0,0x40000)] */,
@@ -198,7 +198,7 @@ NTSTATUS rpccli_svcctl_CreateServiceA(struct rpc_pipe_client *cli,
 NTSTATUS rpccli_svcctl_EnumDependentServicesA(struct rpc_pipe_client *cli,
                                              TALLOC_CTX *mem_ctx,
                                              struct policy_handle *service /* [in] [ref] */,
-                                             uint32_t state /* [in]  */,
+                                             enum svcctl_ServiceState state /* [in]  */,
                                              struct ENUM_SERVICE_STATUSA *service_status /* [out] [unique] */,
                                              uint32_t offered /* [in]  */,
                                              uint32_t *needed /* [out] [ref] */,
index 117d49794c5ac0d6891b50511172eba83b1e8736..ee828ee49d24973510ef627683ae7121b76acf61 100644 (file)
@@ -2689,7 +2689,7 @@ static enum ndr_err_code ndr_push_svcctl_EnumDependentServicesW(struct ndr_push
                        return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
                }
                NDR_CHECK(ndr_push_policy_handle(ndr, NDR_SCALARS, r->in.service));
-               NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.state));
+               NDR_CHECK(ndr_push_svcctl_ServiceState(ndr, NDR_SCALARS, r->in.state));
                NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.offered));
        }
        if (flags & NDR_OUT) {
@@ -2726,7 +2726,7 @@ static enum ndr_err_code ndr_pull_svcctl_EnumDependentServicesW(struct ndr_pull
                NDR_PULL_SET_MEM_CTX(ndr, r->in.service, LIBNDR_FLAG_REF_ALLOC);
                NDR_CHECK(ndr_pull_policy_handle(ndr, NDR_SCALARS, r->in.service));
                NDR_PULL_SET_MEM_CTX(ndr, _mem_save_service_0, LIBNDR_FLAG_REF_ALLOC);
-               NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.state));
+               NDR_CHECK(ndr_pull_svcctl_ServiceState(ndr, NDR_SCALARS, &r->in.state));
                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.offered));
                if (r->in.offered > 0x40000) {
                        return ndr_pull_error(ndr, NDR_ERR_RANGE, "value out of range");
@@ -2786,7 +2786,7 @@ _PUBLIC_ void ndr_print_svcctl_EnumDependentServicesW(struct ndr_print *ndr, con
                ndr->depth++;
                ndr_print_policy_handle(ndr, "service", r->in.service);
                ndr->depth--;
-               ndr_print_uint32(ndr, "state", r->in.state);
+               ndr_print_svcctl_ServiceState(ndr, "state", r->in.state);
                ndr_print_uint32(ndr, "offered", r->in.offered);
                ndr->depth--;
        }
@@ -4561,7 +4561,7 @@ static enum ndr_err_code ndr_push_svcctl_EnumDependentServicesA(struct ndr_push
                        return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
                }
                NDR_CHECK(ndr_push_policy_handle(ndr, NDR_SCALARS, r->in.service));
-               NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.state));
+               NDR_CHECK(ndr_push_svcctl_ServiceState(ndr, NDR_SCALARS, r->in.state));
                NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.offered));
        }
        if (flags & NDR_OUT) {
@@ -4599,7 +4599,7 @@ static enum ndr_err_code ndr_pull_svcctl_EnumDependentServicesA(struct ndr_pull
                NDR_PULL_SET_MEM_CTX(ndr, r->in.service, LIBNDR_FLAG_REF_ALLOC);
                NDR_CHECK(ndr_pull_policy_handle(ndr, NDR_SCALARS, r->in.service));
                NDR_PULL_SET_MEM_CTX(ndr, _mem_save_service_0, LIBNDR_FLAG_REF_ALLOC);
-               NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.state));
+               NDR_CHECK(ndr_pull_svcctl_ServiceState(ndr, NDR_SCALARS, &r->in.state));
                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.offered));
                NDR_PULL_ALLOC(ndr, r->out.needed);
                ZERO_STRUCTP(r->out.needed);
@@ -4652,7 +4652,7 @@ _PUBLIC_ void ndr_print_svcctl_EnumDependentServicesA(struct ndr_print *ndr, con
                ndr->depth++;
                ndr_print_policy_handle(ndr, "service", r->in.service);
                ndr->depth--;
-               ndr_print_uint32(ndr, "state", r->in.state);
+               ndr_print_svcctl_ServiceState(ndr, "state", r->in.state);
                ndr_print_uint32(ndr, "offered", r->in.offered);
                ndr->depth--;
        }
index 59bc0399d8f737e749c5da6a7cdbc1c7ae4bb647..c0daab43d5f39a63e67d300aa37e67ce250312fc 100644 (file)
@@ -478,7 +478,7 @@ struct svcctl_CreateServiceW {
 struct svcctl_EnumDependentServicesW {
        struct {
                struct policy_handle *service;/* [ref] */
-               uint32_t state;
+               enum svcctl_ServiceState state;
                uint32_t offered;/* [range(0,0x40000)] */
        } in;
 
@@ -682,7 +682,7 @@ struct svcctl_CreateServiceA {
 struct svcctl_EnumDependentServicesA {
        struct {
                struct policy_handle *service;/* [ref] */
-               uint32_t state;
+               enum svcctl_ServiceState state;
                uint32_t offered;
        } in;