zoneadmd.h (ffbafc5382b8d46def826aec8c419ad31dff8ebd) zoneadmd.h (3f2f09c1efd66f6d2995998ea72c5df8c70c9a97)
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

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

66 char *locale; /* locale to use for gettext() */
67} zlog_t;
68
69extern mutex_t lock;
70extern mutex_t msglock;
71extern boolean_t in_death_throes;
72extern boolean_t bringup_failure_recovery;
73extern char *zone_name;
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

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

66 char *locale; /* locale to use for gettext() */
67} zlog_t;
68
69extern mutex_t lock;
70extern mutex_t msglock;
71extern boolean_t in_death_throes;
72extern boolean_t bringup_failure_recovery;
73extern char *zone_name;
74extern char boot_args[BOOTARGS_MAX];
75extern char bad_boot_arg[BOOTARGS_MAX];
74
76
77
75extern void zerror(zlog_t *, boolean_t, const char *, ...);
76extern char *localize_msg(char *locale, const char *msg);
77
78/*
79 * Eventstream interfaces.
80 */
81typedef enum {
82 Z_EVT_NULL = 0,
83 Z_EVT_ZONE_BOOTING,
84 Z_EVT_ZONE_REBOOTING,
85 Z_EVT_ZONE_HALTED,
86 Z_EVT_ZONE_READIED,
87 Z_EVT_ZONE_UNINSTALLING,
78extern void zerror(zlog_t *, boolean_t, const char *, ...);
79extern char *localize_msg(char *locale, const char *msg);
80
81/*
82 * Eventstream interfaces.
83 */
84typedef enum {
85 Z_EVT_NULL = 0,
86 Z_EVT_ZONE_BOOTING,
87 Z_EVT_ZONE_REBOOTING,
88 Z_EVT_ZONE_HALTED,
89 Z_EVT_ZONE_READIED,
90 Z_EVT_ZONE_UNINSTALLING,
88 Z_EVT_ZONE_BOOTFAILED
91 Z_EVT_ZONE_BOOTFAILED,
92 Z_EVT_ZONE_BADARGS
89} zone_evt_t;
90
91extern int eventstream_init();
92extern void eventstream_write(zone_evt_t evt);
93
94/*
95 * Virtual platform interfaces.
96 */

--- 19 unchanged lines hidden ---
93} zone_evt_t;
94
95extern int eventstream_init();
96extern void eventstream_write(zone_evt_t evt);
97
98/*
99 * Virtual platform interfaces.
100 */

--- 19 unchanged lines hidden ---