Current File : //usr/include/libxprop.h
/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 */

#ifndef	_LIBXPROP_H
#define	_LIBXPROP_H

#include <sys/nvpair.h>
#include <sys/xprop.h>	/* validation and decode functions */

#ifdef	__cplusplus
extern "C" {
#endif

extern int xprop_encode(nvlist_t *, const char *, const char *, boolean_t,
    const char *, boolean_t, const char *, char *const *, uint_t, const char *,
    boolean_t, boolean_t);
extern int xprop_encode_string(nvlist_t *, const char *, const char *,
    boolean_t, const char *, char *const *, uint_t, const char *);
extern int xprop_encode_boolean(nvlist_t *, const char *, boolean_t, boolean_t,
    const char *);

#ifdef	__cplusplus
}
#endif

#endif	/* _LIBXPROP_H */