xref: /onnv-gate/usr/src/cmd/svr4pkg/pkgrm/quit.h (revision 9781:ccf49524d5dc)
1*9781SMoriah.Waterland@Sun.COM /*
2*9781SMoriah.Waterland@Sun.COM  * CDDL HEADER START
3*9781SMoriah.Waterland@Sun.COM  *
4*9781SMoriah.Waterland@Sun.COM  * The contents of this file are subject to the terms of the
5*9781SMoriah.Waterland@Sun.COM  * Common Development and Distribution License (the "License").
6*9781SMoriah.Waterland@Sun.COM  * You may not use this file except in compliance with the License.
7*9781SMoriah.Waterland@Sun.COM  *
8*9781SMoriah.Waterland@Sun.COM  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*9781SMoriah.Waterland@Sun.COM  * or http://www.opensolaris.org/os/licensing.
10*9781SMoriah.Waterland@Sun.COM  * See the License for the specific language governing permissions
11*9781SMoriah.Waterland@Sun.COM  * and limitations under the License.
12*9781SMoriah.Waterland@Sun.COM  *
13*9781SMoriah.Waterland@Sun.COM  * When distributing Covered Code, include this CDDL HEADER in each
14*9781SMoriah.Waterland@Sun.COM  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*9781SMoriah.Waterland@Sun.COM  * If applicable, add the following below this CDDL HEADER, with the
16*9781SMoriah.Waterland@Sun.COM  * fields enclosed by brackets "[]" replaced with your own identifying
17*9781SMoriah.Waterland@Sun.COM  * information: Portions Copyright [yyyy] [name of copyright owner]
18*9781SMoriah.Waterland@Sun.COM  *
19*9781SMoriah.Waterland@Sun.COM  * CDDL HEADER END
20*9781SMoriah.Waterland@Sun.COM  */
21*9781SMoriah.Waterland@Sun.COM 
22*9781SMoriah.Waterland@Sun.COM /*
23*9781SMoriah.Waterland@Sun.COM  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
24*9781SMoriah.Waterland@Sun.COM  * Use is subject to license terms.
25*9781SMoriah.Waterland@Sun.COM  */
26*9781SMoriah.Waterland@Sun.COM 
27*9781SMoriah.Waterland@Sun.COM /*
28*9781SMoriah.Waterland@Sun.COM  * Header:	pkgrm: quit.c
29*9781SMoriah.Waterland@Sun.COM  *
30*9781SMoriah.Waterland@Sun.COM  * Function:	external definitions for references to the quit.c module
31*9781SMoriah.Waterland@Sun.COM  *
32*9781SMoriah.Waterland@Sun.COM  */
33*9781SMoriah.Waterland@Sun.COM 
34*9781SMoriah.Waterland@Sun.COM #ifndef	__PKGRM_QUIT_H__
35*9781SMoriah.Waterland@Sun.COM #define	__PKGRM_QUIT_H__
36*9781SMoriah.Waterland@Sun.COM 
37*9781SMoriah.Waterland@Sun.COM 
38*9781SMoriah.Waterland@Sun.COM #ifdef __cplusplus
39*9781SMoriah.Waterland@Sun.COM extern "C" {
40*9781SMoriah.Waterland@Sun.COM #endif
41*9781SMoriah.Waterland@Sun.COM 
42*9781SMoriah.Waterland@Sun.COM /*
43*9781SMoriah.Waterland@Sun.COM  * required include files
44*9781SMoriah.Waterland@Sun.COM  */
45*9781SMoriah.Waterland@Sun.COM 
46*9781SMoriah.Waterland@Sun.COM #include "libinst.h"
47*9781SMoriah.Waterland@Sun.COM 
48*9781SMoriah.Waterland@Sun.COM /*
49*9781SMoriah.Waterland@Sun.COM  * exported (global) functions
50*9781SMoriah.Waterland@Sun.COM  */
51*9781SMoriah.Waterland@Sun.COM 
52*9781SMoriah.Waterland@Sun.COM typedef void (intfRelocFunc_t)(void);
53*9781SMoriah.Waterland@Sun.COM 
54*9781SMoriah.Waterland@Sun.COM extern void	quit(int retcode);
55*9781SMoriah.Waterland@Sun.COM extern void	quitSetCkreturnFunc(ckreturnFunc_t *a_ckreturnFunc);
56*9781SMoriah.Waterland@Sun.COM extern void	quitSetZoneName(char *a_zoneName);
57*9781SMoriah.Waterland@Sun.COM extern void	quitSetZoneTmpdir(char *z_zoneTempDir);
58*9781SMoriah.Waterland@Sun.COM extern sighdlrFunc_t *quitGetTrapHandler(void);
59*9781SMoriah.Waterland@Sun.COM extern void	quitSetIntfReloc(intfRelocFunc_t *a_intfReloc);
60*9781SMoriah.Waterland@Sun.COM 
61*9781SMoriah.Waterland@Sun.COM #ifdef __cplusplus
62*9781SMoriah.Waterland@Sun.COM }
63*9781SMoriah.Waterland@Sun.COM #endif
64*9781SMoriah.Waterland@Sun.COM 
65*9781SMoriah.Waterland@Sun.COM #endif	/* __PKGRM_QUIT_H__ */
66