xref: /titanic_52/usr/src/lib/libreparse/common/llib-lreparse (revision 7a286c471efbab8562f7655a82931904703fffe0)
1*7a286c47SDai Ngo/*
2*7a286c47SDai Ngo * CDDL HEADER START
3*7a286c47SDai Ngo *
4*7a286c47SDai Ngo * The contents of this file are subject to the terms of the
5*7a286c47SDai Ngo * Common Development and Distribution License (the "License").
6*7a286c47SDai Ngo * You may not use this file except in compliance with the License.
7*7a286c47SDai Ngo *
8*7a286c47SDai Ngo * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*7a286c47SDai Ngo * or http://www.opensolaris.org/os/licensing.
10*7a286c47SDai Ngo * See the License for the specific language governing permissions
11*7a286c47SDai Ngo * and limitations under the License.
12*7a286c47SDai Ngo *
13*7a286c47SDai Ngo * When distributing Covered Code, include this CDDL HEADER in each
14*7a286c47SDai Ngo * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*7a286c47SDai Ngo * If applicable, add the following below this CDDL HEADER, with the
16*7a286c47SDai Ngo * fields enclosed by brackets "[]" replaced with your own identifying
17*7a286c47SDai Ngo * information: Portions Copyright [yyyy] [name of copyright owner]
18*7a286c47SDai Ngo *
19*7a286c47SDai Ngo * CDDL HEADER END
20*7a286c47SDai Ngo */
21*7a286c47SDai Ngo/* LINTLIBRARY */
22*7a286c47SDai Ngo/* PROTOLIB1 */
23*7a286c47SDai Ngo
24*7a286c47SDai Ngo/*
25*7a286c47SDai Ngo * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
26*7a286c47SDai Ngo * Use is subject to license terms.
27*7a286c47SDai Ngo */
28*7a286c47SDai Ngo
29*7a286c47SDai Ngo#include <sys/fs_reparse.h>
30*7a286c47SDai Ngo#include "rp_plugin.h"
31*7a286c47SDai Ngo
32*7a286c47SDai Ngo/*
33*7a286c47SDai Ngo * usr/src/lib/libreparse
34*7a286c47SDai Ngo */
35*7a286c47SDai Ngoint reparse_add(nvlist_t *, const char *, const char *);
36*7a286c47SDai Ngoint reparse_create(const char *, const char *);
37*7a286c47SDai Ngoint reparse_delete(const char *);
38*7a286c47SDai Ngoint reparse_deref(const char *, const char *, char *, size_t *);
39*7a286c47SDai Ngovoid reparse_free(nvlist_t *);
40*7a286c47SDai Ngonvlist_t *reparse_init(void);
41*7a286c47SDai Ngoint reparse_parse(const char *, nvlist_t *);
42*7a286c47SDai Ngoint reparse_remove(nvlist_t *, const char *);
43*7a286c47SDai Ngoint reparse_remove(nvlist_t *, const char *);
44*7a286c47SDai Ngoint reparse_unparse(nvlist_t *, char **);
45*7a286c47SDai Ngoint reparse_validate(const char *);
46*7a286c47SDai Ngoint rp_plugin_init();
47