Re-run make idl.
authorGünther Deschner <gd@samba.org>
Thu, 27 Mar 2008 10:04:01 +0000 (11:04 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 27 Mar 2008 10:04:56 +0000 (11:04 +0100)
Guenther
(This used to be commit e16ca32b8e0485ceafee6a2ff62dc88e96329ec4)

source3/librpc/gen_ndr/cli_netlogon.c
source3/librpc/gen_ndr/cli_netlogon.h
source3/librpc/gen_ndr/ndr_netlogon.c
source3/librpc/gen_ndr/netlogon.h

index 0ad1d03f66fd40e19ddb17302326664295c83ca9..6743601c94f50c584a1787beeb6a303a4b407b49 100644 (file)
@@ -745,7 +745,7 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli,
 NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
                                   TALLOC_CTX *mem_ctx,
                                   const char *logon_server /* [in] [unique,charset(UTF16)] */,
-                                  uint32_t function_code /* [in]  */,
+                                  enum netr_LogonControlCode function_code /* [in]  */,
                                   uint32_t level /* [in]  */,
                                   union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
                                   union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
index 31171ffd7de2a99840a0dec90247e3836cd51d85..82c51fb2b8e86c932d2f609326c08875ef66c165 100644 (file)
@@ -127,7 +127,7 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli,
 NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
                                   TALLOC_CTX *mem_ctx,
                                   const char *logon_server /* [in] [unique,charset(UTF16)] */,
-                                  uint32_t function_code /* [in]  */,
+                                  enum netr_LogonControlCode function_code /* [in]  */,
                                   uint32_t level /* [in]  */,
                                   union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
                                   union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
index a898be6fbb75980bd6dd856e2eae2b1f1dff65e5..1a18fea948318e7f7cc647bb0a581e86685a4917 100644 (file)
@@ -10237,7 +10237,7 @@ static enum ndr_err_code ndr_push_netr_LogonControl2(struct ndr_push *ndr, int f
                        NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, ndr_charset_length(r->in.logon_server, CH_UTF16)));
                        NDR_CHECK(ndr_push_charset(ndr, NDR_SCALARS, r->in.logon_server, ndr_charset_length(r->in.logon_server, CH_UTF16), sizeof(uint16_t), CH_UTF16));
                }
-               NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.function_code));
+               NDR_CHECK(ndr_push_netr_LogonControlCode(ndr, NDR_SCALARS, r->in.function_code));
                NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.level));
                if (r->in.data == NULL) {
                        return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
@@ -10283,7 +10283,7 @@ static enum ndr_err_code ndr_pull_netr_LogonControl2(struct ndr_pull *ndr, int f
                        NDR_CHECK(ndr_pull_charset(ndr, NDR_SCALARS, &r->in.logon_server, ndr_get_array_length(ndr, &r->in.logon_server), sizeof(uint16_t), CH_UTF16));
                        NDR_PULL_SET_MEM_CTX(ndr, _mem_save_logon_server_0, 0);
                }
-               NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.function_code));
+               NDR_CHECK(ndr_pull_netr_LogonControlCode(ndr, NDR_SCALARS, &r->in.function_code));
                NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.level));
                if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
                        NDR_PULL_ALLOC(ndr, r->in.data);
@@ -10326,7 +10326,7 @@ _PUBLIC_ void ndr_print_netr_LogonControl2(struct ndr_print *ndr, const char *na
                        ndr_print_string(ndr, "logon_server", r->in.logon_server);
                }
                ndr->depth--;
-               ndr_print_uint32(ndr, "function_code", r->in.function_code);
+               ndr_print_netr_LogonControlCode(ndr, "function_code", r->in.function_code);
                ndr_print_uint32(ndr, "level", r->in.level);
                ndr_print_ptr(ndr, "data", r->in.data);
                ndr->depth++;
index 434e989e95b077fc5c1769877e9be15bac77edab..fa2d9c0d5121be55f59b35fe5b733fbba14d1275 100644 (file)
@@ -1071,7 +1071,7 @@ struct netr_GetAnyDCName {
 struct netr_LogonControl2 {
        struct {
                const char *logon_server;/* [unique,charset(UTF16)] */
-               uint32_t function_code;
+               enum netr_LogonControlCode function_code;
                uint32_t level;
                union netr_CONTROL_DATA_INFORMATION *data;/* [ref,switch_is(function_code)] */
        } in;