zones_strings.h revision 2
2N/A/*
2N/A * CDDL HEADER START
2N/A *
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 *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
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 *
2N/A * CDDL HEADER END
2N/A */
2N/A/*
2N/A * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
2N/A */
2N/A
2N/A
2N/A
2N/A#ifndef _ZONES_STRINGS_H
2N/A#define _ZONES_STRINGS_H
2N/A
2N/A
2N/A/*
2N/A * Module: zones_strings.h
2N/A * Group: libinstzones
2N/A * Description: This header contains strings used in libinstzones
2N/A * library modules.
2N/A */
2N/A
2N/A#include <libintl.h>
2N/A
2N/A/*
2N/A * C++ prefix
2N/A */
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/A/* constants */
2N/A
2N/A#ifndef TEXT_DOMAIN
2N/A#define TEXT_DOMAIN "SUNW_INSTALL_LIBZONES"
2N/A#endif
2N/A
2N/A#ifndef ILIBSTR
2N/A#define ILIBSTR(x) dgettext(TEXT_DOMAIN, x)
2N/A#endif
2N/A
2N/A/*
2N/A * message strings
2N/A */
2N/A
2N/A/* BEGIN CSTYLED */
2N/A
2N/A/*
2N/A * I18N: these messages are debugging message and are only displayed
2N/A * when special debugging output has been enabled - these messages
2N/A * will never be displayed during normal product usage
2N/A */
2N/A
2N/A#define DBG_ARG ILIBSTR("argument <%d> = <%s>")
2N/A#define DBG_LIBRARY_NOT_FOUND ILIBSTR("unable to dlopen library <%s>: %s")
2N/A#define DBG_ZONES_ADJLCKOBJ_EXIT ILIBSTR("lock object <%s> adjusted to <%s> for root path <%s> resolved <%s>")
2N/A#define DBG_ZONES_APLK ILIBSTR("acquire lock zone <%s> lock <%s> pid <%ld>")
2N/A#define DBG_ZONES_APLK_EXIT ILIBSTR("acquire lock failure zone <%s> lock <%s> pid <%ld>: return <%d> status <%d> <%s>")
2N/A#define DBG_ZONES_APLK_RESULTS ILIBSTR("acquire lock success zone <%s> lock <%s> key <%s> results <%s>")
2N/A#define DBG_ZONES_ARE_IMPLEMENTED ILIBSTR("zones are implemented")
2N/A#define DBG_ZONES_GET_ZONE_STATE ILIBSTR("state of zone <%s> is <%ld>")
2N/A#define DBG_ZONES_LCK_OBJ ILIBSTR("lock zone object <%s> zone <%s> pid <%ld> locks <%s>")
2N/A#define DBG_ZONES_LCK_OBJ_FOUND ILIBSTR("lock zone examining object <%s> key <%s>: match")
2N/A#define DBG_ZONES_LCK_OBJ_NOTFOUND ILIBSTR("lock zone examining object <%s> key <%s>: NO MATCH")
2N/A#define DBG_ZONES_LCK_OBJ_NOTHELD ILIBSTR("object <%s> not locked on zone <%s>")
2N/A#define DBG_ZONES_LCK_THIS ILIBSTR("lock this zone flags <0x%08lx>")
2N/A#define DBG_ZONES_NOT_IMPLEMENTED ILIBSTR("zones are NOT implemented")
2N/A#define DBG_ZONES_RELK ILIBSTR("release lock zone <%s> lock <%s> key <%s>")
2N/A#define DBG_ZONES_RELK_EXIT ILIBSTR("release lock <%s> key <%s> to zone <%s>: return <%d> status <%d> results <%s>")
2N/A#define DBG_ZONES_ULK_OBJ ILIBSTR("unlock zone object <%s> zone <%s> locks <%s>")
2N/A#define DBG_ZONES_ULK_OBJ_FOUND ILIBSTR("unlock zone examining object <%s> key <%s>: match")
2N/A#define DBG_ZONES_ULK_OBJ_NONE ILIBSTR("no objects locked on zone <%s>")
2N/A#define DBG_ZONES_ULK_OBJ_NOTFOUND ILIBSTR("unlock zone examining object <%s> key <%s>: NO MATCH")
2N/A#define DBG_ZONES_ULK_OBJ_NOTHELD ILIBSTR("object <%s> not locked on zone <%s>")
2N/A#define DBG_ZONES_ULK_THIS ILIBSTR("unlock this zone flags <0x%08lx>")
2N/A#define DBG_ZONE_EXEC_CMD_ENTER ILIBSTR("execute command <%s> on zone <%s> this zone <%s>")
2N/A#define DBG_BRANDS_ARE_IMPLEMENTED ILIBSTR("brands are implemented")
2N/A#define DBG_BRANDS_NOT_IMPLEMENTED ILIBSTR("brands are NOT implemented")
2N/A
2N/A/*
2N/A * I18N: these messages are error messages that can be displayed
2N/A * during the normal usage of the products
2N/A */
2N/A
2N/A#define ERR_CANNOT_CREATE_CONTRACT ILIBSTR("unable to create contract: %s")
2N/A#define ERR_FORK ILIBSTR("unable to create new process: %s")
2N/A#define ERR_MALLOC ILIBSTR("unable to allocate %s memory, errno %d: %s")
2N/A#define ERR_MEM ILIBSTR("unable to allocate memory.")
2N/A#define ERR_MEMORY ILIBSTR("memory allocation failure, errno=%d")
2N/A#define ERR_ZEXEC_ASSEMBLE ILIBSTR("unable to establish connection with zone <%s>: could not assemble new environment")
2N/A#define ERR_ZEXEC_BADSTATE ILIBSTR("unable to establish connection with zone <%s>: zone is in state '%s'")
2N/A#define ERR_ZEXEC_BADZONE ILIBSTR("unable to establish connection with zone <%s>: no such zone")
2N/A#define ERR_ZEXEC_EFAULT ILIBSTR("one or more file descriptors may be non-local (such as open across nfs): %s")
2N/A#define ERR_ZEXEC_EXECFAILURE ILIBSTR("unable to establish connection with zone <%s>: exec failure: %s")
2N/A#define ERR_ZEXEC_GETPPRIV ILIBSTR("unable to establish connection with zone <%s>: getppriv failed: %s")
2N/A#define ERR_ZEXEC_GZUSED ILIBSTR("unable to establish connection with zone <%s>: global zone specified")
2N/A#define ERR_ZEXEC_NOTRUNNING ILIBSTR("unable to establish connection with zone <%s>: not running - in state '%s'")
2N/A#define ERR_ZEXEC_NOT_IN_GZ ILIBSTR("unable to establish connection with zone <%s>: not in the global zone")
2N/A#define ERR_ZEXEC_NOZONEID ILIBSTR("unable to establish connection with zone <%s>: cannot get zone id: %s")
2N/A#define ERR_ZEXEC_PRIVS ILIBSTR("unable to establish connection with zone <%s>: you lack sufficient privilege to access the zone")
2N/A#define ERR_ZEXEC_PRIV_ALLOCSET ILIBSTR("unable to establish connection with zone <%s>o: priv_allocset failed: %s")
2N/A#define ERR_ZEXEC_ZONEENTER ILIBSTR("unable to establish connection with zone <%s>: could not enter zone: %s")
2N/A#define ERR_ZONEINDEX_OPEN ILIBSTR("unable to open zone index file %s: %s")
2N/A#define ERR_ZONES_LCK_THIS_PKGADM ILIBSTR("Unable to acquire package administration lock for this system; try again later")
2N/A#define ERR_ZONES_NOT_IMPLEMENTED ILIBSTR("error: zones not implemented")
2N/A#define ERR_ZONES_ULK_THIS_PACKAGE ILIBSTR("Unable to release package administration lock for this system; try again later")
2N/A#define ERR_ZONE_LIST_EMPTY ILIBSTR("empty zone list specified")
2N/A#define ERR_ZONE_NAME_ILLEGAL ILIBSTR("illegal zone name %.*s")
2N/A#define ERR_ZONE_NONEXISTENT ILIBSTR("zone %s does not exist")
2N/A#define ERR_OPEN_READ ILIBSTR("unable to open <%s> for reading: (%d) %s")
2N/A#define ERR_BRAND_GETBRAND ILIBSTR("unable to get zone brand: zonecfg_get_brand: %s")
2N/A
2N/A/*
2N/A * I18N: these are messages that can be displayed during the normal
2N/A * usage of the products
2N/A */
2N/A
2N/A#define MSG_PROG_ERR ILIBSTR("ERROR: %s")
2N/A#define MSG_ZONES_LCK_THIS_PKGADM ILIBSTR("## Waiting for up to <%ld> seconds for package administration commands to become available (another user is administering packages)")
2N/A
2N/A/* END CSTYLED */
2N/A
2N/A/*
2N/A * C++ postfix
2N/A */
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A#endif /* _ZONES_STRINGS_H */