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


  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 2014 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 
  26 #ifndef _SMBSRV_SMB_DOOR_H
  27 #define _SMBSRV_SMB_DOOR_H
  28 
  29 #include <sys/door.h>
  30 #include <smbsrv/wintypes.h>
  31 #include <smbsrv/smb_xdr.h>
  32 #include <smbsrv/smb_token.h>
  33 
  34 #ifdef __cplusplus
  35 extern "C" {
  36 #endif
  37 
  38 #define SMBD_DOOR_NAME                  "/var/run/smbd_door"
  39 
  40 #define SMB_DOOR_CALL_RETRIES           3
  41 
  42 /*
  43  * Opcodes for smbd door.
  44  *
  45  * SMB_DR_NULL is the equivalent of the NULL RPC.  It ensures that an
  46  * opcode of zero is not misinterpreted as an operational door call
  47  * and it is available as a test interface.
  48  *
  49  * SMB_DR_ASYNC_RESPONSE delivers the response part of an asynchronous
  50  * request and must be processed as a synchronous request.




  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 2014 Nexenta Systems, Inc.  All rights reserved.
  24  */
  25 
  26 #ifndef _SMBSRV_SMB_DOOR_H
  27 #define _SMBSRV_SMB_DOOR_H
  28 
  29 #include <sys/door.h>
  30 #include <smb/wintypes.h>
  31 #include <smbsrv/smb_xdr.h>
  32 #include <smbsrv/smb_token.h>
  33 
  34 #ifdef __cplusplus
  35 extern "C" {
  36 #endif
  37 
  38 #define SMBD_DOOR_NAME                  "/var/run/smbd_door"
  39 
  40 #define SMB_DOOR_CALL_RETRIES           3
  41 
  42 /*
  43  * Opcodes for smbd door.
  44  *
  45  * SMB_DR_NULL is the equivalent of the NULL RPC.  It ensures that an
  46  * opcode of zero is not misinterpreted as an operational door call
  47  * and it is available as a test interface.
  48  *
  49  * SMB_DR_ASYNC_RESPONSE delivers the response part of an asynchronous
  50  * request and must be processed as a synchronous request.