2338N/A/*
2338N/A * CDDL HEADER START
2338N/A *
2338N/A * The contents of this file are subject to the terms of the
2338N/A * Common Development and Distribution License (the "License").
2338N/A * You may not use this file except in compliance with the License.
2338N/A *
2338N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2338N/A * or http://www.opensolaris.org/os/licensing.
2338N/A * See the License for the specific language governing permissions
2338N/A * and limitations under the License.
2338N/A *
2338N/A * When distributing Covered Code, include this CDDL HEADER in each
2338N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2338N/A * If applicable, add the following below this CDDL HEADER, with the
2338N/A * fields enclosed by brackets "[]" replaced with your own identifying
2338N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2338N/A *
2338N/A * CDDL HEADER END
2338N/A */
2338N/A/*
2665N/A * Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
2338N/A * Use is subject to license terms.
2338N/A */
2338N/A
2338N/A#ifndef _ZONEPROXY_IMPL_H
2338N/A#define _ZONEPROXY_IMPL_H
2338N/A
2338N/A#ifdef __cplusplus
2338N/Aextern "C" {
2338N/A#endif
2338N/A
2665N/A#define ZP_DOOR_PATH "/system/volatile/zoneproxy_door"
2338N/A
2338N/A
2338N/A#define ZP_CMD_NEW_LISTENER 1
2338N/A#define ZP_CMD_REMOVE_LISTENER 2
2338N/A#define ZP_CMD_ZONE_ADDED 3
2665N/A#define ZP_CMD_ZONE_REMOVED 4
2338N/A#define ZP_CMD_PING 5
2338N/A
2665N/A#define ZP_STATUS_OK 0
2338N/A#define ZP_STATUS_PERMISSION 1
2338N/A#define ZP_STATUS_INVALID 2
2338N/A#define ZP_STATUS_ERROR 3
2338N/A#define ZP_STATUS_UNKNOWN 4
2338N/A
2338N/A#ifdef __cplusplus
2338N/A}
2338N/A#endif
2338N/A
2338N/A#endif /* _ZONEPROXY_IMPL_H */