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


   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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.

  23  */
  24 
  25 #ifndef _SPOOLSS_NDL_
  26 #define _SPOOLSS_NDL_
  27 
  28 #include "ndrtypes.ndl"
  29 #include "security.ndl"
  30 
  31 #define TABLE_STRING 1
  32 #define TABLE_DWORD  2
  33 #define TABLE_TIME   3
  34 #define TABLE_DEVMODE 4
  35 #define TABLE_SECURITY_DESCRIPTOR 5
  36 
  37 #define SPOOLSS_OPNUM_EnumPrinters                      0x00
  38 #define SPOOLSS_OPNUM_OpenPrinter                       0x01
  39 #define SPOOLSS_OPNUM_GetJob                            0x03
  40 #define SPOOLSS_OPNUM_EnumJobs                          0x04
  41 #define SPOOLSS_OPNUM_DeletePrinter                     0x06
  42 #define SPOOLSS_OPNUM_GetPrinter                        0x08
  43 #define SPOOLSS_OPNUM_GetPrinterDriver                  0x0b
  44 #define SPOOLSS_OPNUM_DeletePrinterDriver               0x0d
  45 #define SPOOLSS_OPNUM_StartDocPrinter                   0x11
  46 #define SPOOLSS_OPNUM_StartPagePrinter                  0x12
  47 #define SPOOLSS_OPNUM_WritePrinter                      0x13
  48 #define SPOOLSS_OPNUM_EndPagePrinter                    0x14




   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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23  * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 
  26 #ifndef _SPOOLSS_NDL_
  27 #define _SPOOLSS_NDL_
  28 
  29 #include <libmlrpc/ndrtypes.ndl>
  30 #include "security.ndl"
  31 
  32 #define TABLE_STRING 1
  33 #define TABLE_DWORD  2
  34 #define TABLE_TIME   3
  35 #define TABLE_DEVMODE 4
  36 #define TABLE_SECURITY_DESCRIPTOR 5
  37 
  38 #define SPOOLSS_OPNUM_EnumPrinters                      0x00
  39 #define SPOOLSS_OPNUM_OpenPrinter                       0x01
  40 #define SPOOLSS_OPNUM_GetJob                            0x03
  41 #define SPOOLSS_OPNUM_EnumJobs                          0x04
  42 #define SPOOLSS_OPNUM_DeletePrinter                     0x06
  43 #define SPOOLSS_OPNUM_GetPrinter                        0x08
  44 #define SPOOLSS_OPNUM_GetPrinterDriver                  0x0b
  45 #define SPOOLSS_OPNUM_DeletePrinterDriver               0x0d
  46 #define SPOOLSS_OPNUM_StartDocPrinter                   0x11
  47 #define SPOOLSS_OPNUM_StartPagePrinter                  0x12
  48 #define SPOOLSS_OPNUM_WritePrinter                      0x13
  49 #define SPOOLSS_OPNUM_EndPagePrinter                    0x14