Print this page
1575 untangle libmlrpc ... (smbsrv)


   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 _MLSVC_LLSR_NDL_
  27 #define _MLSVC_LLSR_NDL_
  28 
  29 /*
  30  * LLSRPC interface.
  31  *
  32  *      0x50    takes the 3a handle + DWORD, returns 2 DWORDs
  33  *      0x3c
  34  *      0x3f    list of services?
  35  *      0x3d    unknown
  36  *      0x3e    unknown
  37  *      0x4f
  38  *      0x4d
  39  *      0x4e
  40  *      0x01    closes the handle obtained via 0x00
  41  *      0x3b    closes the handle obtained via 0x3a
  42  */
  43 
  44 #include "ndrtypes.ndl"
  45 
  46 #define LLSR_OPNUM_Open                 0x00
  47 #define LLSR_OPNUM_Close                0x01
  48 #define LLSR_OPNUM_Connect              0x3a
  49 #define LLSR_OPNUM_Disconnect           0x3b
  50 #define LLSR_OPNUM_Unknown3c            0x3c
  51 #define LLSR_OPNUM_Unknown3d            0x3d
  52 #define LLSR_OPNUM_Unknown3e            0x3e
  53 #define LLSR_OPNUM_Unknown3f            0x3f
  54 #define LLSR_OPNUM_Unknown4d            0x4d
  55 #define LLSR_OPNUM_Unknown4e            0x4e
  56 #define LLSR_OPNUM_Unknown4f            0x4f
  57 #define LLSR_OPNUM_Unknown50            0x50
  58 
  59 
  60 CONTEXT_HANDLE(llsr_handle) llsr_handle_t;
  61 
  62 
  63 OPERATION(LLSR_OPNUM_Open)
  64 struct llsr_Open {




   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  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  26  */
  27 
  28 #ifndef _MLSVC_LLSR_NDL_
  29 #define _MLSVC_LLSR_NDL_
  30 
  31 /*
  32  * LLSRPC interface.
  33  *
  34  *      0x50    takes the 3a handle + DWORD, returns 2 DWORDs
  35  *      0x3c
  36  *      0x3f    list of services?
  37  *      0x3d    unknown
  38  *      0x3e    unknown
  39  *      0x4f
  40  *      0x4d
  41  *      0x4e
  42  *      0x01    closes the handle obtained via 0x00
  43  *      0x3b    closes the handle obtained via 0x3a
  44  */
  45 
  46 #include <libmlrpc/ndrtypes.ndl>
  47 
  48 #define LLSR_OPNUM_Open                 0x00
  49 #define LLSR_OPNUM_Close                0x01
  50 #define LLSR_OPNUM_Connect              0x3a
  51 #define LLSR_OPNUM_Disconnect           0x3b
  52 #define LLSR_OPNUM_Unknown3c            0x3c
  53 #define LLSR_OPNUM_Unknown3d            0x3d
  54 #define LLSR_OPNUM_Unknown3e            0x3e
  55 #define LLSR_OPNUM_Unknown3f            0x3f
  56 #define LLSR_OPNUM_Unknown4d            0x4d
  57 #define LLSR_OPNUM_Unknown4e            0x4e
  58 #define LLSR_OPNUM_Unknown4f            0x4f
  59 #define LLSR_OPNUM_Unknown50            0x50
  60 
  61 
  62 CONTEXT_HANDLE(llsr_handle) llsr_handle_t;
  63 
  64 
  65 OPERATION(LLSR_OPNUM_Open)
  66 struct llsr_Open {