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