xref: /titanic_50/usr/src/uts/common/smbsrv/ndl/msgsvc.ndl (revision 8d7e41661dc4633488e93b13363137523ce59977)
1*8d7e4166Sjose borrego/*
2*8d7e4166Sjose borrego * CDDL HEADER START
3*8d7e4166Sjose borrego *
4*8d7e4166Sjose borrego * The contents of this file are subject to the terms of the
5*8d7e4166Sjose borrego * Common Development and Distribution License (the "License").
6*8d7e4166Sjose borrego * You may not use this file except in compliance with the License.
7*8d7e4166Sjose borrego *
8*8d7e4166Sjose borrego * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*8d7e4166Sjose borrego * or http://www.opensolaris.org/os/licensing.
10*8d7e4166Sjose borrego * See the License for the specific language governing permissions
11*8d7e4166Sjose borrego * and limitations under the License.
12*8d7e4166Sjose borrego *
13*8d7e4166Sjose borrego * When distributing Covered Code, include this CDDL HEADER in each
14*8d7e4166Sjose borrego * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*8d7e4166Sjose borrego * If applicable, add the following below this CDDL HEADER, with the
16*8d7e4166Sjose borrego * fields enclosed by brackets "[]" replaced with your own identifying
17*8d7e4166Sjose borrego * information: Portions Copyright [yyyy] [name of copyright owner]
18*8d7e4166Sjose borrego *
19*8d7e4166Sjose borrego * CDDL HEADER END
20*8d7e4166Sjose borrego */
21*8d7e4166Sjose borrego/*
22*8d7e4166Sjose borrego * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23*8d7e4166Sjose borrego * Use is subject to license terms.
24*8d7e4166Sjose borrego */
25*8d7e4166Sjose borrego
26*8d7e4166Sjose borrego#ifndef _MSGSVC_NDL_
27*8d7e4166Sjose borrego#define	_MSGSVC_NDL_
28*8d7e4166Sjose borrego
29*8d7e4166Sjose borrego/*
30*8d7e4166Sjose borrego * Message Service
31*8d7e4166Sjose borrego */
32*8d7e4166Sjose borrego
33*8d7e4166Sjose borrego#include "ndrtypes.ndl"
34*8d7e4166Sjose borrego
35*8d7e4166Sjose borrego#define	MSGSVCSEND_OPNUM_NetrSendMessage	0x00
36*8d7e4166Sjose borrego
37*8d7e4166Sjose borregostruct msgsvc_uuid {
38*8d7e4166Sjose borrego	DWORD	data1;
39*8d7e4166Sjose borrego	WORD	data2;
40*8d7e4166Sjose borrego	WORD	data3;
41*8d7e4166Sjose borrego	BYTE	data4[8];
42*8d7e4166Sjose borrego};
43*8d7e4166Sjose borregotypedef struct msgsvc_uuid msgsvc_uuid_t;
44*8d7e4166Sjose borrego
45*8d7e4166Sjose borregoOPERATION(MSGSVCSEND_OPNUM_NetrSendMessage)
46*8d7e4166Sjose borregostruct msgsvcsend_NetrSendMessage {
47*8d7e4166Sjose borrego	IN	msgsvc_uuid_t handle;
48*8d7e4166Sjose borrego	IN	LPTSTR from;
49*8d7e4166Sjose borrego	IN	LPTSTR to;
50*8d7e4166Sjose borrego	IN	LPTSTR text;
51*8d7e4166Sjose borrego	OUT	DWORD status;
52*8d7e4166Sjose borrego};
53*8d7e4166Sjose borregotypedef struct msgsvcsend_NetrSendMessage msgsvcsend_NetrSendMessage_t;
54*8d7e4166Sjose borrego
55*8d7e4166Sjose borrego
56*8d7e4166Sjose borrego/*
57*8d7e4166Sjose borrego ***********************************************************************
58*8d7e4166Sjose borrego * MSGSVC interface definiton.
59*8d7e4166Sjose borrego ***********************************************************************
60*8d7e4166Sjose borrego */
61*8d7e4166Sjose borregoINTERFACE(0)
62*8d7e4166Sjose borregounion msgsvcsend_interface {
63*8d7e4166Sjose borrego	CASE(MSGSVCSEND_OPNUM_NetrSendMessage)
64*8d7e4166Sjose borrego		struct msgsvcsend_NetrSendMessage NetrSendMessage;
65*8d7e4166Sjose borrego};
66*8d7e4166Sjose borregotypedef union msgsvcsend_interface msgsvcsend_interface_t;
67*8d7e4166Sjose borregoEXTERNTYPEINFO(msgsvcsend_interface)
68*8d7e4166Sjose borrego
69*8d7e4166Sjose borrego#endif /* _MSGSVC_NDL_ */
70