llib-lreparse revision 7a286c471efbab8562f7655a82931904703fffe0
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * CDDL HEADER START
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * The contents of this file are subject to the terms of the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Common Development and Distribution License (the "License").
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You may not use this file except in compliance with the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * or http://www.opensolaris.org/os/licensing.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * See the License for the specific language governing permissions
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * and limitations under the License.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * When distributing Covered Code, include this CDDL HEADER in each
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * If applicable, add the following below this CDDL HEADER, with the
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * fields enclosed by brackets "[]" replaced with your own identifying
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * information: Portions Copyright [yyyy] [name of copyright owner]
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster *
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * CDDL HEADER END
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/* LINTLIBRARY */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/* PROTOLIB1 */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
60e9e896a1a7a9e62db162e1e9fb6b3c2df50c33Quentin CASTEL * Use is subject to license terms.
60e9e896a1a7a9e62db162e1e9fb6b3c2df50c33Quentin CASTEL */
60e9e896a1a7a9e62db162e1e9fb6b3c2df50c33Quentin CASTEL
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#include <sys/fs_reparse.h>
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster#include "rp_plugin.h"
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster/*
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster * usr/src/lib/libreparse
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster */
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_add(nvlist_t *, const char *, const char *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_create(const char *, const char *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_delete(const char *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_deref(const char *, const char *, char *, size_t *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fostervoid reparse_free(nvlist_t *);
60e9e896a1a7a9e62db162e1e9fb6b3c2df50c33Quentin CASTELnvlist_t *reparse_init(void);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_parse(const char *, nvlist_t *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_remove(nvlist_t *, const char *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_remove(nvlist_t *, const char *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_unparse(nvlist_t *, char **);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint reparse_validate(const char *);
8af80418ba1ec431c8027fa9668e5678658d3611Allan Fosterint rp_plugin_init();
8af80418ba1ec431c8027fa9668e5678658d3611Allan Foster