#ifndef _PRIPLUGIN_H
#define _PRIPLUGIN_H
#ifdef __cplusplus
extern "C" {
#endif
#include <picl.h>
#include <picltree.h>
#include <picldefs.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <thread.h>
#include <alloca.h>
#include <sys/stat.h>
#include <malloc.h>
#include <fcntl.h>
#include <syslog.h>
#include <mdesc.h>
#include <string.h>
#include <errno.h>
#include <libnvpair.h>
#include <syslog.h>
#include <sys/stat.h>
#include <dirent.h>
#include <config_admin.h>
#include <sys/param.h>
#include <libdevinfo.h>
#include <sys/systeminfo.h>
#include <sys/sysevent/dr.h>
#include <syslog.h>
#include <stdarg.h>
#ifndef PRI_DEBUG
#define PRI_DEBUG 0
#endif
int add_mem_prop(picl_nodehdl_t node, void *args);
int pri_devinit(uint64_t *);
md_t *pri_bufinit(md_t *mdp);
void pri_devfini(md_t *mdp);
void pri_debug(int level, char *fmt, ...);
void add_md_prop(picl_nodehdl_t node, int size, char *name, void* value,
int type);
void io_dev_addlabel(md_t *mdp);
#ifdef __cplusplus
}
#endif
#endif