Print this page
1575 untangle libmlrpc ... (smbsrv)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/smbsrv/ndl/llsrpc.ndl
+++ new/usr/src/uts/common/smbsrv/ndl/llsrpc.ndl
1 1 /*
2 2 * CDDL HEADER START
3 3 *
4 4 * The contents of this file are subject to the terms of the
5 5 * Common Development and Distribution License (the "License").
6 6 * You may not use this file except in compliance with the License.
7 7 *
8 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 * or http://www.opensolaris.org/os/licensing.
10 10 * See the License for the specific language governing permissions
11 11 * and limitations under the License.
12 12 *
13 13 * When distributing Covered Code, include this CDDL HEADER in each
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
14 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 * If applicable, add the following below this CDDL HEADER, with the
16 16 * fields enclosed by brackets "[]" replaced with your own identifying
17 17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 18 *
19 19 * CDDL HEADER END
20 20 */
21 21 /*
22 22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 23 * Use is subject to license terms.
24 + *
25 + * Copyright 2013 Nexenta Systems, Inc. All rights reserved.
24 26 */
25 27
26 28 #ifndef _MLSVC_LLSR_NDL_
27 29 #define _MLSVC_LLSR_NDL_
28 30
29 31 /*
30 32 * LLSRPC interface.
31 33 *
32 34 * 0x50 takes the 3a handle + DWORD, returns 2 DWORDs
33 35 * 0x3c
34 36 * 0x3f list of services?
35 37 * 0x3d unknown
36 38 * 0x3e unknown
37 39 * 0x4f
38 40 * 0x4d
39 41 * 0x4e
40 42 * 0x01 closes the handle obtained via 0x00
41 43 * 0x3b closes the handle obtained via 0x3a
42 44 */
43 45
44 -#include "ndrtypes.ndl"
46 +#include <libmlrpc/ndrtypes.ndl>
45 47
46 48 #define LLSR_OPNUM_Open 0x00
47 49 #define LLSR_OPNUM_Close 0x01
48 50 #define LLSR_OPNUM_Connect 0x3a
49 51 #define LLSR_OPNUM_Disconnect 0x3b
50 52 #define LLSR_OPNUM_Unknown3c 0x3c
51 53 #define LLSR_OPNUM_Unknown3d 0x3d
52 54 #define LLSR_OPNUM_Unknown3e 0x3e
53 55 #define LLSR_OPNUM_Unknown3f 0x3f
54 56 #define LLSR_OPNUM_Unknown4d 0x4d
55 57 #define LLSR_OPNUM_Unknown4e 0x4e
56 58 #define LLSR_OPNUM_Unknown4f 0x4f
57 59 #define LLSR_OPNUM_Unknown50 0x50
58 60
59 61
60 62 CONTEXT_HANDLE(llsr_handle) llsr_handle_t;
61 63
62 64
63 65 OPERATION(LLSR_OPNUM_Open)
64 66 struct llsr_Open {
65 67 IN LPTSTR hostname;
66 68 OUT llsr_handle_t open_handle;
67 69 OUT DWORD status;
68 70 };
69 71
70 72
71 73 OPERATION(LLSR_OPNUM_Close)
72 74 struct llsr_Close {
73 75 IN llsr_handle_t open_handle;
74 76 OUT DWORD status;
75 77 };
76 78
77 79
78 80 OPERATION(LLSR_OPNUM_Connect)
79 81 struct llsr_Connect {
80 82 IN LPTSTR hostname;
81 83 OUT llsr_handle_t connect_handle;
82 84 OUT DWORD status;
83 85 };
84 86
85 87
86 88 OPERATION(LLSR_OPNUM_Disconnect)
87 89 struct llsr_Disconnect {
88 90 IN llsr_handle_t connect_handle;
89 91 OUT llsr_handle_t echoed_handle;
90 92 OUT DWORD status;
91 93 };
92 94
93 95
94 96 OPERATION(LLSR_OPNUM_Unknown50)
95 97 struct llsr_Unknown50 {
96 98 IN llsr_handle_t open_handle;
97 99 IN DWORD unknown1; /* 0x00000004 */
98 100 OUT DWORD unknown2; /* 0x00000004 */
99 101 OUT DWORD unknown3; /* 0x0000003F */
100 102 OUT DWORD status;
101 103 };
102 104
103 105
104 106 #endif /* _MLSVC_LLSR_NDL_ */
↓ open down ↓ |
50 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX