libds.h revision 30588217a56ff2c9137248fb2e5065c4f0101459
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _LIBDS_H
#define _LIBDS_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* LDOMs User Domain Services library Interfaces
*/
typedef void *ds_cb_arg_t; /* client callback arg */
#define DS_INVALID_HDL (0) /* a ds handle cannot be zero */
/*
* LDOMs User Domain Services versioning
*/
typedef struct ds_ver {
} ds_ver_t;
/*
* LDOMs User Domain Services capability
*/
typedef struct ds_capability {
char *svc_id; /* service identifier */
/*
* LDOMs User Domain Services event callbacks
*/
typedef struct ds_ops {
} ds_ops_t;
extern int ds_init(void);
extern void ds_fini(void);
#ifdef __cplusplus
}
#endif
#endif /* _LIBDS_H */