10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * CDDL HEADER START 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * The contents of this file are subject to the terms of the 5*12986SJohn.Zolnowsky@Sun.COM * Common Development and Distribution License (the "License"). 6*12986SJohn.Zolnowsky@Sun.COM * You may not use this file except in compliance with the License. 70Sstevel@tonic-gate * 80Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate * See the License for the specific language governing permissions 110Sstevel@tonic-gate * and limitations under the License. 120Sstevel@tonic-gate * 130Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate * 190Sstevel@tonic-gate * CDDL HEADER END 200Sstevel@tonic-gate */ 210Sstevel@tonic-gate /* 22*12986SJohn.Zolnowsky@Sun.COM * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 230Sstevel@tonic-gate * 240Sstevel@tonic-gate * logadm/conf.h -- public definitions for conf module 250Sstevel@tonic-gate */ 260Sstevel@tonic-gate 270Sstevel@tonic-gate #ifndef _LOGADM_CONF_H 280Sstevel@tonic-gate #define _LOGADM_CONF_H 290Sstevel@tonic-gate 300Sstevel@tonic-gate #ifdef __cplusplus 310Sstevel@tonic-gate extern "C" { 320Sstevel@tonic-gate #endif 330Sstevel@tonic-gate 34*12986SJohn.Zolnowsky@Sun.COM int conf_open(const char *cfname, const char *tfname, struct opts *opts); 350Sstevel@tonic-gate void conf_close(struct opts *opts); 36*12986SJohn.Zolnowsky@Sun.COM void *conf_lookup(const char *lhs); 370Sstevel@tonic-gate struct opts *conf_opts(const char *lhs); 380Sstevel@tonic-gate void conf_replace(const char *lhs, struct opts *newopts); 390Sstevel@tonic-gate void conf_set(const char *entry, char *o, const char *optarg); 400Sstevel@tonic-gate struct fn_list *conf_entries(void); 410Sstevel@tonic-gate 420Sstevel@tonic-gate #ifdef __cplusplus 430Sstevel@tonic-gate } 440Sstevel@tonic-gate #endif 450Sstevel@tonic-gate 460Sstevel@tonic-gate #endif /* _LOGADM_CONF_H */ 47