process_impl.h revision 7b209c2cc5ea45251aba06dcc6181d3f23da807a
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_CONTRACT_PROCESS_IMPL_H
#define _SYS_CONTRACT_PROCESS_IMPL_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/contract.h>
#include <sys/contract_impl.h>
#ifdef __cplusplus
extern "C" {
#endif
struct ctmpl_process {
};
struct cont_process {
/* requires ct_lock for */
/* access */
};
/*
* Kernel APIs
*/
struct proc;
void contract_process_init(void);
struct proc *, int);
const char *, const char *, const char *);
zoneid_t);
int contract_process_accept(contract_t *);
#ifdef __cplusplus
}
#endif
#endif /* _SYS_CONTRACT_PROCESS_IMPL_H */