/* parser auto-generated by pidl */

#include "includes.h"
#include "librpc/gen_ndr/ndr_dnsserver.h"

static enum ndr_err_code ndr_push_dnsserver_foo(struct ndr_push *ndr, int flags, const struct dnsserver_foo *r)
{
	if (flags & NDR_IN) {
	}
	if (flags & NDR_OUT) {
	}
	return NDR_ERR_SUCCESS;
}

static enum ndr_err_code ndr_pull_dnsserver_foo(struct ndr_pull *ndr, int flags, struct dnsserver_foo *r)
{
	if (flags & NDR_IN) {
	}
	if (flags & NDR_OUT) {
	}
	return NDR_ERR_SUCCESS;
}

_PUBLIC_ void ndr_print_dnsserver_foo(struct ndr_print *ndr, const char *name, int flags, const struct dnsserver_foo *r)
{
	ndr_print_struct(ndr, name, "dnsserver_foo");
	if (r == NULL) { ndr_print_null(ndr); return; }
	ndr->depth++;
	if (flags & NDR_SET_VALUES) {
		ndr->flags |= LIBNDR_PRINT_SET_VALUES;
	}
	if (flags & NDR_IN) {
		ndr_print_struct(ndr, "in", "dnsserver_foo");
		ndr->depth++;
		ndr->depth--;
	}
	if (flags & NDR_OUT) {
		ndr_print_struct(ndr, "out", "dnsserver_foo");
		ndr->depth++;
		ndr->depth--;
	}
	ndr->depth--;
}

static const struct ndr_interface_call dnsserver_calls[] = {
	{
		"dnsserver_foo",
		sizeof(struct dnsserver_foo),
		(ndr_push_flags_fn_t) ndr_push_dnsserver_foo,
		(ndr_pull_flags_fn_t) ndr_pull_dnsserver_foo,
		(ndr_print_function_t) ndr_print_dnsserver_foo,
		{ 0, NULL },
		{ 0, NULL },
	},
	{ NULL, 0, NULL, NULL, NULL }
};

static const char * const dnsserver_endpoint_strings[] = {
	"ncacn_np:[\\pipe\\dnsserver]", 
};

static const struct ndr_interface_string_array dnsserver_endpoints = {
	.count	= 1,
	.names	= dnsserver_endpoint_strings
};

static const char * const dnsserver_authservice_strings[] = {
	"host", 
};

static const struct ndr_interface_string_array dnsserver_authservices = {
	.count	= 1,
	.names	= dnsserver_authservice_strings
};


const struct ndr_interface_table ndr_table_dnsserver = {
	.name		= "dnsserver",
	.syntax_id	= {
		{0x50abc2a4,0x574d,0x40b3,{0x9d,0x66},{0xee,0x4f,0xd5,0xfb,0xa0,0x76}},
		NDR_DNSSERVER_VERSION
	},
	.helpstring	= NDR_DNSSERVER_HELPSTRING,
	.num_calls	= 1,
	.calls		= dnsserver_calls,
	.endpoints	= &dnsserver_endpoints,
	.authservices	= &dnsserver_authservices
};

