/*LINTLIBRARY*/
/*PROTOLIB1*/

/*
 * Copyright (c) 1999-2000 by Sun Microsystems, Inc.
 * All rights reserved.
 */
#pragma ident	"@(#)llib-lpicl	1.2	00/10/26 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);
