/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Message Service
*/
#include <syslog.h>
#include <stdlib.h>
#include <smbsrv/libntsvcs.h>
static int msgsvcsend_NetrSendMessage(void *, ndr_xa_t *);
{0}
};
"MSGSVC", /* name */
"Message Service", /* desc */
"\\msgsvc", /* endpoint */
PIPE_NTSVCS, /* sec_addr_port */
"5a7b91f8-ff00-11d0-a9b200c04fb6e6fc", 0, /* abstract */
0, /* no bind_instance_size */
0, /* no bind_req() */
0, /* no unbind_and_close() */
0, /* use generic_call_stub() */
msgsvcsend_stub_table /* stub_table */
};
void
msgsvcsend_initialize(void)
{
(void) ndr_svc_register(&msgsvcsend_service);
}
static int
{
if (!ndr_is_admin(mxa)) {
return (NDR_DRC_OK);
}
return (NDR_DRC_OK);
}
return (NDR_DRC_OK);
}