| /* |
| * 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 |
| * or http://www.opensolaris.org/os/licensing. |
| * 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 (c) 1999-2000 by Sun Microsystems, Inc. |
| * All rights reserved. |
| */ |
| #pragma ident "%Z%%M% %I% %E% SMI" |
| |
| #include <picl.h> |
| |
| int picl_initialize(void); |
| int picl_shutdown(void); |
| int picl_get_root(picl_nodehdl_t *nodehandle); |
| int picl_get_propval(picl_prophdl_t proph, void *valbuf, size_t sz); |
| int picl_get_propval_by_name(picl_nodehdl_t nodeh, const char *propname, |
| void *valbuf, size_t sz); |
| int picl_set_propval(picl_prophdl_t proph, void *valbuf, size_t sz); |
| int picl_set_propval_by_name(picl_nodehdl_t nodeh, const char *propname, |
| void *valbuf, size_t sz); |
| int picl_get_propinfo(picl_prophdl_t proph, picl_propinfo_t *pi); |
| int picl_get_first_prop(picl_nodehdl_t nodeh, picl_prophdl_t *proph); |
| int picl_get_next_prop(picl_prophdl_t proph, picl_prophdl_t *nexth); |
| int picl_get_prop_by_name(picl_nodehdl_t nodeh, const char *nm, |
| picl_prophdl_t *ph); |
| int picl_get_next_by_row(picl_prophdl_t thish, picl_prophdl_t *proph); |
| int picl_get_next_by_col(picl_prophdl_t thish, picl_prophdl_t *proph); |
| int picl_wait(unsigned int secs); |
| char *picl_strerror(int err); |
| int picl_walk_tree_by_class(picl_nodehdl_t rooth, |
| const char *classname, void *c_args, |
| int (*callback_fn)(picl_nodehdl_t hdl, void *args)); |
| int picl_get_propinfo_by_name(picl_nodehdl_t nodeh, const char *pname, |
| picl_propinfo_t *pinfo, picl_prophdl_t *proph); |