/* parser auto-generated by pidl */
#include "includes.h"
-#include "librpc/gen_ndr/ndr_frsapi.h"
+#include "autoconf/librpc/gen_ndr/ndr_frsapi.h"
#include "librpc/gen_ndr/ndr_misc.h"
static enum ndr_err_code ndr_push_frsapi_InfoEnum(struct ndr_push *ndr, int ndr_flags, enum frsapi_InfoEnum r)
static enum ndr_err_code ndr_push_frsapi_Info(struct ndr_push *ndr, int ndr_flags, const struct frsapi_Info *r)
{
+ NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags);
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->length));
static enum ndr_err_code ndr_pull_frsapi_Info(struct ndr_pull *ndr, int ndr_flags, struct frsapi_Info *r)
{
+ NDR_PULL_CHECK_FLAGS(ndr, ndr_flags);
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_pull_align(ndr, 4));
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->length));
static enum ndr_err_code ndr_push_FRSAPI_VERIFY_PROMOTION(struct ndr_push *ndr, int flags, const struct FRSAPI_VERIFY_PROMOTION *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_pull_FRSAPI_VERIFY_PROMOTION(struct ndr_pull *ndr, int flags, struct FRSAPI_VERIFY_PROMOTION *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_push_FRSAPI_PROMOTION_STATUS(struct ndr_push *ndr, int flags, const struct FRSAPI_PROMOTION_STATUS *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_pull_FRSAPI_PROMOTION_STATUS(struct ndr_pull *ndr, int flags, struct FRSAPI_PROMOTION_STATUS *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_push_FRSAPI_START_DEMOTION(struct ndr_push *ndr, int flags, const struct FRSAPI_START_DEMOTION *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_pull_FRSAPI_START_DEMOTION(struct ndr_pull *ndr, int flags, struct FRSAPI_START_DEMOTION *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_push_FRSAPI_COMMIT_DEMOTION(struct ndr_push *ndr, int flags, const struct FRSAPI_COMMIT_DEMOTION *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_pull_FRSAPI_COMMIT_DEMOTION(struct ndr_pull *ndr, int flags, struct FRSAPI_COMMIT_DEMOTION *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_push_frsapi_SetDsPollingIntervalW(struct ndr_push *ndr, int flags, const struct frsapi_SetDsPollingIntervalW *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.CurrentInterval));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.DsPollingLongInterval));
static enum ndr_err_code ndr_pull_frsapi_SetDsPollingIntervalW(struct ndr_pull *ndr, int flags, struct frsapi_SetDsPollingIntervalW *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.CurrentInterval));
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->in.DsPollingLongInterval));
static enum ndr_err_code ndr_push_frsapi_GetDsPollingIntervalW(struct ndr_push *ndr, int flags, const struct frsapi_GetDsPollingIntervalW *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
TALLOC_CTX *_mem_save_CurrentInterval_0;
TALLOC_CTX *_mem_save_DsPollingLongInterval_0;
TALLOC_CTX *_mem_save_DsPollingShortInterval_0;
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
ZERO_STRUCT(r->out);
static enum ndr_err_code ndr_push_FRSAPI_VERIFY_PROMOTION_W(struct ndr_push *ndr, int flags, const struct FRSAPI_VERIFY_PROMOTION_W *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_pull_FRSAPI_VERIFY_PROMOTION_W(struct ndr_pull *ndr, int flags, struct FRSAPI_VERIFY_PROMOTION_W *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
}
if (flags & NDR_OUT) {
static enum ndr_err_code ndr_push_frsapi_InfoW(struct ndr_push *ndr, int flags, const struct frsapi_InfoW *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->in.length));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.info));
{
uint32_t _ptr_info;
TALLOC_CTX *_mem_save_info_0;
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
ZERO_STRUCT(r->out);
static enum ndr_err_code ndr_push_frsapi_IsPathReplicated(struct ndr_push *ndr, int flags, const struct frsapi_IsPathReplicated *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.path));
if (r->in.path) {
TALLOC_CTX *_mem_save_primary_0;
TALLOC_CTX *_mem_save_root_0;
TALLOC_CTX *_mem_save_replica_set_guid_0;
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
ZERO_STRUCT(r->out);
static enum ndr_err_code ndr_push_frsapi_WriterCommand(struct ndr_push *ndr, int flags, const struct frsapi_WriterCommand *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_push_frsapi_WriterCommandsValues(ndr, NDR_SCALARS, r->in.command));
}
static enum ndr_err_code ndr_pull_frsapi_WriterCommand(struct ndr_pull *ndr, int flags, struct frsapi_WriterCommand *r)
{
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_pull_frsapi_WriterCommandsValues(ndr, NDR_SCALARS, &r->in.command));
}
static enum ndr_err_code ndr_push_frsapi_ForceReplication(struct ndr_push *ndr, int flags, const struct frsapi_ForceReplication *r)
{
+ NDR_PUSH_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_push_unique_ptr(ndr, r->in.replica_set_guid));
if (r->in.replica_set_guid) {
TALLOC_CTX *_mem_save_connection_guid_0;
TALLOC_CTX *_mem_save_replica_set_name_0;
TALLOC_CTX *_mem_save_partner_dns_name_0;
+ NDR_PULL_CHECK_FN_FLAGS(ndr, flags);
if (flags & NDR_IN) {
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_replica_set_guid));
if (_ptr_replica_set_guid) {