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 2010 Sun Microsystems, Inc.  All rights reserved.
  23  * Use is subject to license terms.


  24  */
  25 
  26 #ifndef _NETDFS_NDL_
  27 #define _NETDFS_NDL_
  28 
  29 /*
  30  * NT Distributed File Service (NETDFS) RPC interface definition.
  31  */
  32 
  33 #include "ndrtypes.ndl"
  34 
  35 
  36 #define NETDFS_ABSTRACT_UUID            "4fc742e0-4a10-11cf-8273-00aa004ae673"
  37 #define NETDFS_ABSTRACT_VERS            3
  38 
  39 #define NETDFS_TRANSFER_UUID            "8a885d04-1ceb-11c9-9fe8-08002b104860"
  40 #define NETDFS_TRANSFER_VERS            2
  41 
  42 #define NETDFS_OPNUM_GETVER             0x00
  43 #define NETDFS_OPNUM_ADD                0x01
  44 #define NETDFS_OPNUM_REMOVE             0x02
  45 #define NETDFS_OPNUM_SETINFO            0x03
  46 #define NETDFS_OPNUM_GETINFO            0x04
  47 #define NETDFS_OPNUM_ENUM               0x05
  48 #define NETDFS_OPNUM_MOVE               0x06
  49 #define NETDFS_OPNUM_RENAME             0x07
  50 #define NETDFS_OPNUM_ADDSTDROOT         0x0c
  51 #define NETDFS_OPNUM_REMSTDROOT         0x0d
  52 #define NETDFS_OPNUM_ENUMEX             0x15
  53 




   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 2010 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 _NETDFS_NDL_
  29 #define _NETDFS_NDL_
  30 
  31 /*
  32  * NT Distributed File Service (NETDFS) RPC interface definition.
  33  */
  34 
  35 #include <libmlrpc/ndrtypes.ndl>
  36 
  37 
  38 #define NETDFS_ABSTRACT_UUID            "4fc742e0-4a10-11cf-8273-00aa004ae673"
  39 #define NETDFS_ABSTRACT_VERS            3
  40 
  41 #define NETDFS_TRANSFER_UUID            "8a885d04-1ceb-11c9-9fe8-08002b104860"
  42 #define NETDFS_TRANSFER_VERS            2
  43 
  44 #define NETDFS_OPNUM_GETVER             0x00
  45 #define NETDFS_OPNUM_ADD                0x01
  46 #define NETDFS_OPNUM_REMOVE             0x02
  47 #define NETDFS_OPNUM_SETINFO            0x03
  48 #define NETDFS_OPNUM_GETINFO            0x04
  49 #define NETDFS_OPNUM_ENUM               0x05
  50 #define NETDFS_OPNUM_MOVE               0x06
  51 #define NETDFS_OPNUM_RENAME             0x07
  52 #define NETDFS_OPNUM_ADDSTDROOT         0x0c
  53 #define NETDFS_OPNUM_REMSTDROOT         0x0d
  54 #define NETDFS_OPNUM_ENUMEX             0x15
  55