zone.h (3f2f09c1) | zone.h (f4b3ec61) |
---|---|
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 --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* | 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 --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* |
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. | 22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. 24 */ 25 26#ifndef _ZONE_H 27#define _ZONE_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 --- 22 unchanged lines hidden (view full) --- 53 */ 54 55extern int zonept(int, zoneid_t); 56extern int zone_get_id(const char *, zoneid_t *); 57 58/* System call API */ 59extern zoneid_t zone_create(const char *, const char *, 60 const struct priv_set *, const char *, size_t, const char *, size_t, int *, | 23 * Use is subject to license terms. 24 */ 25 26#ifndef _ZONE_H 27#define _ZONE_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 --- 22 unchanged lines hidden (view full) --- 53 */ 54 55extern int zonept(int, zoneid_t); 56extern int zone_get_id(const char *, zoneid_t *); 57 58/* System call API */ 59extern zoneid_t zone_create(const char *, const char *, 60 const struct priv_set *, const char *, size_t, const char *, size_t, int *, |
61 int, int, const bslabel_t *); | 61 int, int, const bslabel_t *, int); |
62extern int zone_boot(zoneid_t); 63extern int zone_destroy(zoneid_t); 64extern ssize_t zone_getattr(zoneid_t, int, void *, size_t); 65extern int zone_setattr(zoneid_t, int, void *, size_t); 66extern int zone_enter(zoneid_t); 67extern int zone_list(zoneid_t *, uint_t *); 68extern int zone_shutdown(zoneid_t); 69extern int zone_version(int *); | 62extern int zone_boot(zoneid_t); 63extern int zone_destroy(zoneid_t); 64extern ssize_t zone_getattr(zoneid_t, int, void *, size_t); 65extern int zone_setattr(zoneid_t, int, void *, size_t); 66extern int zone_enter(zoneid_t); 67extern int zone_list(zoneid_t *, uint_t *); 68extern int zone_shutdown(zoneid_t); 69extern int zone_version(int *); |
70extern int zone_add_datalink(zoneid_t, char *); 71extern int zone_remove_datalink(zoneid_t, char *); 72extern int zone_check_datalink(zoneid_t *, char *); 73extern int zone_list_datalink(zoneid_t, int *, char *); |
|
70 71#ifdef __cplusplus 72} 73#endif 74 75#endif /* _ZONE_H */ | 74 75#ifdef __cplusplus 76} 77#endif 78 79#endif /* _ZONE_H */ |