/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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
*/
/*LINTLIBRARY*/
/*PROTOLIB1*/
/*
* Copyright 1999-2000, 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
*/
#include "librcm.h"
#include "librcm_event.h"
/* librcm interfaces */
int rcm_free_handle(rcm_handle_t *);
int rcm_get_rsrcstate(rcm_handle_t *, char *, int *);
void rcm_free_info(rcm_info_t *);
const char *rcm_info_rsrc(rcm_info_tuple_t *);
const char *rcm_info_info(rcm_info_tuple_t *);
const char *rcm_info_modname(rcm_info_tuple_t *);
const char *rcm_info_error(rcm_info_tuple_t *);
int rcm_info_state(rcm_info_tuple_t *);
int rcm_info_seqnum(rcm_info_tuple_t *);
rcm_info_t **);
rcm_info_t **);
int rcm_exec_cmd(char *);
char *rcm_module_dir(uint_t);
void *rcm_module_open(char *);
void rcm_module_close(void *);
const char *rcm_get_client_name(rcm_handle_t *);
char *rcm_script_dir(uint_t);
char *rcm_get_script_dir(char *);
int rcm_is_script(char *);
/* event related interfaces */
int create_event_service(char *, void (*)(void **, size_t *));
int revoke_event_service(int);