mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
re-run make idl after adding drsuapi_DsBindInfo48 to drsuapi.idl
Michael (This used to be commit ac5d8ede8a94e8411d38b684e943d0b489ba8b70)
This commit is contained in:
parent
b80a167db3
commit
a42aca1576
@ -49,6 +49,10 @@
|
||||
#define DRSUAPI_SUPPORTED_EXTENSION_40000000 ( 0x40000000 )
|
||||
#define DRSUAPI_SUPPORTED_EXTENSION_80000000 ( 0x80000000 )
|
||||
|
||||
/* bitmap drsuapi_SupportedExtensionsExt */
|
||||
#define DRSUAPI_SUPPORTED_EXTENSION_ADAM ( 0x00000001 )
|
||||
#define DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2 ( 0x00000002 )
|
||||
|
||||
struct drsuapi_DsBindInfo24 {
|
||||
uint32_t supported_extensions;
|
||||
struct GUID site_guid;
|
||||
@ -62,6 +66,15 @@ struct drsuapi_DsBindInfo28 {
|
||||
uint32_t repl_epoch;
|
||||
};
|
||||
|
||||
struct drsuapi_DsBindInfo48 {
|
||||
uint32_t supported_extensions;
|
||||
struct GUID site_guid;
|
||||
uint32_t u1;
|
||||
uint32_t repl_epoch;
|
||||
uint32_t supported_extensions_ext;
|
||||
struct GUID config_dn_guid;
|
||||
};
|
||||
|
||||
struct drsuapi_DsBindInfoFallBack {
|
||||
DATA_BLOB info;/* [flag(LIBNDR_FLAG_REMAINING)] */
|
||||
};
|
||||
@ -69,6 +82,7 @@ struct drsuapi_DsBindInfoFallBack {
|
||||
union drsuapi_DsBindInfo {
|
||||
struct drsuapi_DsBindInfo24 info24;/* [subcontext(4),case(24)] */
|
||||
struct drsuapi_DsBindInfo28 info28;/* [subcontext(4),case(28)] */
|
||||
struct drsuapi_DsBindInfo48 info48;/* [subcontext(4),case(48)] */
|
||||
struct drsuapi_DsBindInfoFallBack FallBack;/* [subcontext(4),default] */
|
||||
}/* [nodiscriminant] */;
|
||||
|
||||
|
@ -62,6 +62,29 @@ _PUBLIC_ void ndr_print_drsuapi_SupportedExtensions(struct ndr_print *ndr, const
|
||||
ndr->depth--;
|
||||
}
|
||||
|
||||
static enum ndr_err_code ndr_push_drsuapi_SupportedExtensionsExt(struct ndr_push *ndr, int ndr_flags, uint32_t r)
|
||||
{
|
||||
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r));
|
||||
return NDR_ERR_SUCCESS;
|
||||
}
|
||||
|
||||
static enum ndr_err_code ndr_pull_drsuapi_SupportedExtensionsExt(struct ndr_pull *ndr, int ndr_flags, uint32_t *r)
|
||||
{
|
||||
uint32_t v;
|
||||
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &v));
|
||||
*r = v;
|
||||
return NDR_ERR_SUCCESS;
|
||||
}
|
||||
|
||||
_PUBLIC_ void ndr_print_drsuapi_SupportedExtensionsExt(struct ndr_print *ndr, const char *name, uint32_t r)
|
||||
{
|
||||
ndr_print_uint32(ndr, name, r);
|
||||
ndr->depth++;
|
||||
ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "DRSUAPI_SUPPORTED_EXTENSION_ADAM", DRSUAPI_SUPPORTED_EXTENSION_ADAM, r);
|
||||
ndr_print_bitmap_flag(ndr, sizeof(uint32_t), "DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2", DRSUAPI_SUPPORTED_EXTENSION_LH_BETA2, r);
|
||||
ndr->depth--;
|
||||
}
|
||||
|
||||
static enum ndr_err_code ndr_push_drsuapi_DsBindInfo24(struct ndr_push *ndr, int ndr_flags, const struct drsuapi_DsBindInfo24 *r)
|
||||
{
|
||||
if (ndr_flags & NDR_SCALARS) {
|
||||
@ -137,6 +160,51 @@ _PUBLIC_ void ndr_print_drsuapi_DsBindInfo28(struct ndr_print *ndr, const char *
|
||||
ndr->depth--;
|
||||
}
|
||||
|
||||
static enum ndr_err_code ndr_push_drsuapi_DsBindInfo48(struct ndr_push *ndr, int ndr_flags, const struct drsuapi_DsBindInfo48 *r)
|
||||
{
|
||||
if (ndr_flags & NDR_SCALARS) {
|
||||
NDR_CHECK(ndr_push_align(ndr, 4));
|
||||
NDR_CHECK(ndr_push_drsuapi_SupportedExtensions(ndr, NDR_SCALARS, r->supported_extensions));
|
||||
NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->site_guid));
|
||||
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->u1));
|
||||
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->repl_epoch));
|
||||
NDR_CHECK(ndr_push_drsuapi_SupportedExtensionsExt(ndr, NDR_SCALARS, r->supported_extensions_ext));
|
||||
NDR_CHECK(ndr_push_GUID(ndr, NDR_SCALARS, &r->config_dn_guid));
|
||||
}
|
||||
if (ndr_flags & NDR_BUFFERS) {
|
||||
}
|
||||
return NDR_ERR_SUCCESS;
|
||||
}
|
||||
|
||||
static enum ndr_err_code ndr_pull_drsuapi_DsBindInfo48(struct ndr_pull *ndr, int ndr_flags, struct drsuapi_DsBindInfo48 *r)
|
||||
{
|
||||
if (ndr_flags & NDR_SCALARS) {
|
||||
NDR_CHECK(ndr_pull_align(ndr, 4));
|
||||
NDR_CHECK(ndr_pull_drsuapi_SupportedExtensions(ndr, NDR_SCALARS, &r->supported_extensions));
|
||||
NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->site_guid));
|
||||
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->u1));
|
||||
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->repl_epoch));
|
||||
NDR_CHECK(ndr_pull_drsuapi_SupportedExtensionsExt(ndr, NDR_SCALARS, &r->supported_extensions_ext));
|
||||
NDR_CHECK(ndr_pull_GUID(ndr, NDR_SCALARS, &r->config_dn_guid));
|
||||
}
|
||||
if (ndr_flags & NDR_BUFFERS) {
|
||||
}
|
||||
return NDR_ERR_SUCCESS;
|
||||
}
|
||||
|
||||
_PUBLIC_ void ndr_print_drsuapi_DsBindInfo48(struct ndr_print *ndr, const char *name, const struct drsuapi_DsBindInfo48 *r)
|
||||
{
|
||||
ndr_print_struct(ndr, name, "drsuapi_DsBindInfo48");
|
||||
ndr->depth++;
|
||||
ndr_print_drsuapi_SupportedExtensions(ndr, "supported_extensions", r->supported_extensions);
|
||||
ndr_print_GUID(ndr, "site_guid", &r->site_guid);
|
||||
ndr_print_uint32(ndr, "u1", r->u1);
|
||||
ndr_print_uint32(ndr, "repl_epoch", r->repl_epoch);
|
||||
ndr_print_drsuapi_SupportedExtensionsExt(ndr, "supported_extensions_ext", r->supported_extensions_ext);
|
||||
ndr_print_GUID(ndr, "config_dn_guid", &r->config_dn_guid);
|
||||
ndr->depth--;
|
||||
}
|
||||
|
||||
static enum ndr_err_code ndr_push_drsuapi_DsBindInfoFallBack(struct ndr_push *ndr, int ndr_flags, const struct drsuapi_DsBindInfoFallBack *r)
|
||||
{
|
||||
if (ndr_flags & NDR_SCALARS) {
|
||||
@ -200,6 +268,15 @@ static enum ndr_err_code ndr_push_drsuapi_DsBindInfo(struct ndr_push *ndr, int n
|
||||
}
|
||||
break; }
|
||||
|
||||
case 48: {
|
||||
{
|
||||
struct ndr_push *_ndr_info48;
|
||||
NDR_CHECK(ndr_push_subcontext_start(ndr, &_ndr_info48, 4, -1));
|
||||
NDR_CHECK(ndr_push_drsuapi_DsBindInfo48(_ndr_info48, NDR_SCALARS, &r->info48));
|
||||
NDR_CHECK(ndr_push_subcontext_end(ndr, _ndr_info48, 4, -1));
|
||||
}
|
||||
break; }
|
||||
|
||||
default: {
|
||||
{
|
||||
struct ndr_push *_ndr_FallBack;
|
||||
@ -220,6 +297,9 @@ static enum ndr_err_code ndr_push_drsuapi_DsBindInfo(struct ndr_push *ndr, int n
|
||||
case 28:
|
||||
break;
|
||||
|
||||
case 48:
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
||||
@ -252,6 +332,15 @@ static enum ndr_err_code ndr_pull_drsuapi_DsBindInfo(struct ndr_pull *ndr, int n
|
||||
}
|
||||
break; }
|
||||
|
||||
case 48: {
|
||||
{
|
||||
struct ndr_pull *_ndr_info48;
|
||||
NDR_CHECK(ndr_pull_subcontext_start(ndr, &_ndr_info48, 4, -1));
|
||||
NDR_CHECK(ndr_pull_drsuapi_DsBindInfo48(_ndr_info48, NDR_SCALARS, &r->info48));
|
||||
NDR_CHECK(ndr_pull_subcontext_end(ndr, _ndr_info48, 4, -1));
|
||||
}
|
||||
break; }
|
||||
|
||||
default: {
|
||||
{
|
||||
struct ndr_pull *_ndr_FallBack;
|
||||
@ -271,6 +360,9 @@ static enum ndr_err_code ndr_pull_drsuapi_DsBindInfo(struct ndr_pull *ndr, int n
|
||||
case 28:
|
||||
break;
|
||||
|
||||
case 48:
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
||||
@ -293,6 +385,10 @@ _PUBLIC_ void ndr_print_drsuapi_DsBindInfo(struct ndr_print *ndr, const char *na
|
||||
ndr_print_drsuapi_DsBindInfo28(ndr, "info28", &r->info28);
|
||||
break;
|
||||
|
||||
case 48:
|
||||
ndr_print_drsuapi_DsBindInfo48(ndr, "info48", &r->info48);
|
||||
break;
|
||||
|
||||
default:
|
||||
ndr_print_drsuapi_DsBindInfoFallBack(ndr, "FallBack", &r->FallBack);
|
||||
break;
|
||||
|
@ -64,8 +64,10 @@ extern const struct ndr_interface_table ndr_table_drsuapi;
|
||||
|
||||
#define NDR_DRSUAPI_CALL_COUNT (25)
|
||||
void ndr_print_drsuapi_SupportedExtensions(struct ndr_print *ndr, const char *name, uint32_t r);
|
||||
void ndr_print_drsuapi_SupportedExtensionsExt(struct ndr_print *ndr, const char *name, uint32_t r);
|
||||
void ndr_print_drsuapi_DsBindInfo24(struct ndr_print *ndr, const char *name, const struct drsuapi_DsBindInfo24 *r);
|
||||
void ndr_print_drsuapi_DsBindInfo28(struct ndr_print *ndr, const char *name, const struct drsuapi_DsBindInfo28 *r);
|
||||
void ndr_print_drsuapi_DsBindInfo48(struct ndr_print *ndr, const char *name, const struct drsuapi_DsBindInfo48 *r);
|
||||
void ndr_print_drsuapi_DsBindInfoFallBack(struct ndr_print *ndr, const char *name, const struct drsuapi_DsBindInfoFallBack *r);
|
||||
void ndr_print_drsuapi_DsBindInfo(struct ndr_print *ndr, const char *name, const union drsuapi_DsBindInfo *r);
|
||||
void ndr_print_drsuapi_DsBindInfoCtr(struct ndr_print *ndr, const char *name, const struct drsuapi_DsBindInfoCtr *r);
|
||||
|
Loading…
x
Reference in New Issue
Block a user