mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
Re-run make idl.
Guenther (This used to be commit e16ca32b8e0485ceafee6a2ff62dc88e96329ec4)
This commit is contained in:
parent
6f16288a70
commit
5b3f28f152
@ -745,7 +745,7 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli,
|
|||||||
NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
|
NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
const char *logon_server /* [in] [unique,charset(UTF16)] */,
|
const char *logon_server /* [in] [unique,charset(UTF16)] */,
|
||||||
uint32_t function_code /* [in] */,
|
enum netr_LogonControlCode function_code /* [in] */,
|
||||||
uint32_t level /* [in] */,
|
uint32_t level /* [in] */,
|
||||||
union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
|
union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
|
||||||
union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
|
union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
|
||||||
|
@ -127,7 +127,7 @@ NTSTATUS rpccli_netr_GetAnyDCName(struct rpc_pipe_client *cli,
|
|||||||
NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
|
NTSTATUS rpccli_netr_LogonControl2(struct rpc_pipe_client *cli,
|
||||||
TALLOC_CTX *mem_ctx,
|
TALLOC_CTX *mem_ctx,
|
||||||
const char *logon_server /* [in] [unique,charset(UTF16)] */,
|
const char *logon_server /* [in] [unique,charset(UTF16)] */,
|
||||||
uint32_t function_code /* [in] */,
|
enum netr_LogonControlCode function_code /* [in] */,
|
||||||
uint32_t level /* [in] */,
|
uint32_t level /* [in] */,
|
||||||
union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
|
union netr_CONTROL_DATA_INFORMATION *data /* [in] [ref,switch_is(function_code)] */,
|
||||||
union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
|
union netr_CONTROL_QUERY_INFORMATION *query /* [out] [ref,switch_is(level)] */,
|
||||||
|
@ -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_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_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));
|
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.level));
|
||||||
if (r->in.data == NULL) {
|
if (r->in.data == NULL) {
|
||||||
return ndr_push_error(ndr, NDR_ERR_INVALID_POINTER, "NULL [ref] pointer");
|
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_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_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));
|
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.level));
|
||||||
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
if (ndr->flags & LIBNDR_FLAG_REF_ALLOC) {
|
||||||
NDR_PULL_ALLOC(ndr, r->in.data);
|
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_print_string(ndr, "logon_server", r->in.logon_server);
|
||||||
}
|
}
|
||||||
ndr->depth--;
|
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_uint32(ndr, "level", r->in.level);
|
||||||
ndr_print_ptr(ndr, "data", r->in.data);
|
ndr_print_ptr(ndr, "data", r->in.data);
|
||||||
ndr->depth++;
|
ndr->depth++;
|
||||||
|
@ -1071,7 +1071,7 @@ struct netr_GetAnyDCName {
|
|||||||
struct netr_LogonControl2 {
|
struct netr_LogonControl2 {
|
||||||
struct {
|
struct {
|
||||||
const char *logon_server;/* [unique,charset(UTF16)] */
|
const char *logon_server;/* [unique,charset(UTF16)] */
|
||||||
uint32_t function_code;
|
enum netr_LogonControlCode function_code;
|
||||||
uint32_t level;
|
uint32_t level;
|
||||||
union netr_CONTROL_DATA_INFORMATION *data;/* [ref,switch_is(function_code)] */
|
union netr_CONTROL_DATA_INFORMATION *data;/* [ref,switch_is(function_code)] */
|
||||||
} in;
|
} in;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user