zoneadmd.h (6cfd72c6361fc164bc537fc17e829cccc62b0b1f) zoneadmd.h (c5cd6260c3d6c06a9359df595ad9dddbfd00a80e)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 13 unchanged lines hidden (view full) ---

22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#ifndef _ZONEADMD_H
28#define _ZONEADMD_H
29
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 13 unchanged lines hidden (view full) ---

22/*
23 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
25 */
26
27#ifndef _ZONEADMD_H
28#define _ZONEADMD_H
29
30#pragma ident "%Z%%M% %I% %E% SMI"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36/*
37 * Multi-threaded programs should avoid MT-unsafe library calls (i.e., any-
38 * thing which could try to acquire a user-level lock unprotected by an atfork
39 * handler) between fork(2) and exec(2). See the pthread_atfork(3THR) man

--- 111 unchanged lines hidden (view full) ---

151/*
152 * Contract handling.
153 */
154extern int init_template(void);
155
156/*
157 * Routine to manage child processes.
158 */
30#ifdef __cplusplus
31extern "C" {
32#endif
33
34/*
35 * Multi-threaded programs should avoid MT-unsafe library calls (i.e., any-
36 * thing which could try to acquire a user-level lock unprotected by an atfork
37 * handler) between fork(2) and exec(2). See the pthread_atfork(3THR) man

--- 111 unchanged lines hidden (view full) ---

149/*
150 * Contract handling.
151 */
152extern int init_template(void);
153
154/*
155 * Routine to manage child processes.
156 */
159extern int do_subproc(zlog_t *, char *);
157extern int do_subproc(zlog_t *, char *, char **);
160
161#ifdef __cplusplus
162}
163#endif
164
165#endif /* _ZONEADMD_H */
158
159#ifdef __cplusplus
160}
161#endif
162
163#endif /* _ZONEADMD_H */