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