10Sstevel@tonic-gate/* 20Sstevel@tonic-gate * CDDL HEADER START 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*11102SGavin.Maltby@Sun.COM * Common Development and Distribution License (the "License"). 6*11102SGavin.Maltby@Sun.COM * You may not use this file except in compliance with the License. 70Sstevel@tonic-gate * 80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate * See the License for the specific language governing permissions 110Sstevel@tonic-gate * and limitations under the License. 120Sstevel@tonic-gate * 130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate * 190Sstevel@tonic-gate * CDDL HEADER END 200Sstevel@tonic-gate */ 210Sstevel@tonic-gate/* LINTLIBRARY */ 220Sstevel@tonic-gate/* PROTOLIB1 */ 230Sstevel@tonic-gate 240Sstevel@tonic-gate/* 25*11102SGavin.Maltby@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 26*11102SGavin.Maltby@Sun.COM * Use is subject to license terms. 270Sstevel@tonic-gate */ 280Sstevel@tonic-gate 290Sstevel@tonic-gate#include <door.h> 300Sstevel@tonic-gate 310Sstevel@tonic-gate/* door_calls.c */ 320Sstevel@tonic-gateint door_create(void (*)(void *, char *, size_t, door_desc_t *, uint_t), 330Sstevel@tonic-gate void *, uint_t); 34*11102SGavin.Maltby@Sun.COMint door_xcreate(door_server_procedure_t *, void *, uint_t, 35*11102SGavin.Maltby@Sun.COM door_xcreate_server_func_t *, door_xcreate_thrsetup_func_t *, 36*11102SGavin.Maltby@Sun.COM void *, int); 370Sstevel@tonic-gateint door_revoke(int); 380Sstevel@tonic-gateint door_info(int, door_info_t *); 390Sstevel@tonic-gateint door_call(int, door_arg_t *); 400Sstevel@tonic-gateint door_return(char *, size_t, door_desc_t *, uint_t); 410Sstevel@tonic-gateint door_cred(door_cred_t *); 420Sstevel@tonic-gateint door_bind(int); 430Sstevel@tonic-gateint door_unbind(void); 440Sstevel@tonic-gatedoor_server_func_t *door_server_create(door_server_func_t *); 45