llib-lproject revision 7c478bd95313f5f23a4c958a745db2134aa03244
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt/*
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt * CDDL HEADER START
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt *
f6096b958c8b58c4709860d7c4dcdde5deeacb7aEvan Hunt * The contents of this file are subject to the terms of the
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt * Common Development and Distribution License, Version 1.0 only
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt * (the "License"). You may not use this file except in compliance
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt * with the License.
f6b909274159da7aaad8463c90f15018136cf6cbTinderbox User *
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * or http://www.opensolaris.org/os/licensing.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * See the License for the specific language governing permissions
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * and limitations under the License.
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt *
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User * When distributing Covered Code, include this CDDL HEADER in each
83a28ca274521e15086fc39febde507bcc4e145eMark Andrews * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt * If applicable, add the following below this CDDL HEADER, with the
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt * fields enclosed by brackets "[]" replaced with your own identifying
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt * information: Portions Copyright [yyyy] [name of copyright owner]
544e2b48ece5724f2c4a0d6636048a72335cfd54Evan Hunt *
544e2b48ece5724f2c4a0d6636048a72335cfd54Evan Hunt * CDDL HEADER END
58f15381f7f69f4e986d7014fda4feb223b8b36cEvan Hunt */
58f15381f7f69f4e986d7014fda4feb223b8b36cEvan Hunt/*
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt * Use is subject to license terms.
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews */
448884248519a8edade1b51aa7d20140b12764a9Evan Hunt
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt#pragma ident "%Z%%M% %I% %E% SMI"
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt/* LINTLIBRARY */
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt/* PROTOLIB1 */
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt#include <project.h>
90e0af6bc6c1bcafad126e1779fc478c0aeaeb8fEvan Hunt#include <sys/types.h>
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrewsstruct ps_prochandle;
59f34c1fc775bf1817c49f5b4a121285f9608efcEvan Hunttypedef struct priv_set priv_set_t;
59f34c1fc775bf1817c49f5b4a121285f9608efcEvan Hunt
59f34c1fc775bf1817c49f5b4a121285f9608efcEvan Huntpriv_set_t *setproject_initpriv(void);
59f34c1fc775bf1817c49f5b4a121285f9608efcEvan Huntprojid_t setproject_proc(const char *, const char *, int, pid_t,
59f34c1fc775bf1817c49f5b4a121285f9608efcEvan Hunt struct ps_prochandle *, struct project *);
59f34c1fc775bf1817c49f5b4a121285f9608efcEvan Hunt