2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved. 2N/A * Group: libinstzones 2N/A * Description: This module contains the libinstzones internal data structures, 2N/A * constants, and function prototypes. This include should not be 2N/A * needed by any external code (consumers of this library). 2N/A/* System includes */ 2N/A * argument array processing type 2N/A * This is the "argument array" definition that is returned by _z_new_args 2N/A * and is used by _z_add_args, _z_free_args, etc. 2N/A * this allows a root path to be prepended to a lock object; e.g. 2N/A/* this locks all zones */ 2N/A/* this locks all packages, in all zones */ 2N/A/* this locks all patches, in all zones */ 2N/A/* paths to commands executed by this module */ 2N/A/* max message size for program output functions (echo, echo debug, progerr) */ 2N/A/* maximum number of retries when waiting for lock */ 2N/A/* delay (in seconds) between retries when waiting for lock */ 2N/A/* Size of buffer increments when reading from pipe */ 2N/A * These dynamic libraries are required in order to use the zones 2N/A * functionality - if these libraries are not available at runtime, 2N/A * then zones are assumed to NOT be available, and it is assumed that 2N/A * the program is running in the global zone with no non-global zones. 2N/A#
else /* defined(LIBZONECFG_PATH) */ 2N/A#
endif /* defined(LIBZONECFG_PATH) */ 2N/A * Environment values used when running commands within a non-global zone 2N/A * zone brand list structure 2N/A * zone status structure - used to retrieve and hold status of zones 2N/A * User-specified list of zones. 2N/A * The global data structure used to hold all of the global (extern) data 2N/A * used by this library. 2N/A * --> THESE DEFINITIONS ARE ORDER DEPENDENT BASED <-- 2N/A * --> ON THE ORDER OF THE STRUCTURE INITIALIZERS! <-- 2N/A * When _INSTZONES_LIB_Z_DEFINE_GLOBAL_DATA is defined, 2N/A * Otherwise an extern to the structure is inserted. 2N/A * --> THESE DEFINITIONS ARE ORDER DEPENDENT BASED ON <-- 2N/A * --> THE ORDER OF THE _z_global_data_t STRUCTURE!!! <-- 2N/A/* define and initialize structure */ 2N/A "",
/* *_z_root_dir */ 2N/A 0,
/* _z_SigReceived */ 2N/A -
1,
/* _z_ChildProcessId */ 2N/A#
else /* !defined(_INSTZONES_LIB__Z_DEFINE_GLOBAL_DATA) */ 2N/A/* define structure extern */ 2N/A#
endif /* defined(_INSTZONES_LIB_Z_DEFINE_GLOBAL_DATA) */ 2N/A/* function prototypes */ 2N/A * The following functions can be used by other libs, but not 2N/A#
endif /* _INSTZONES_LIB_H */