xref: /titanic_51/usr/src/cmd/logadm/conf.h (revision e9a193fce9f1bf8520f55929577e0175e1e7625b)
17c478bd9Sstevel@tonic-gate /*
27c478bd9Sstevel@tonic-gate  * CDDL HEADER START
37c478bd9Sstevel@tonic-gate  *
47c478bd9Sstevel@tonic-gate  * The contents of this file are subject to the terms of the
5*e9a193fcSJohn.Zolnowsky@Sun.COM  * Common Development and Distribution License (the "License").
6*e9a193fcSJohn.Zolnowsky@Sun.COM  * You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate  *
87c478bd9Sstevel@tonic-gate  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate  * or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate  * See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate  * and limitations under the License.
127c478bd9Sstevel@tonic-gate  *
137c478bd9Sstevel@tonic-gate  * When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate  * If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate  * fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate  * information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate  *
197c478bd9Sstevel@tonic-gate  * CDDL HEADER END
207c478bd9Sstevel@tonic-gate  */
217c478bd9Sstevel@tonic-gate /*
22*e9a193fcSJohn.Zolnowsky@Sun.COM  * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
237c478bd9Sstevel@tonic-gate  *
247c478bd9Sstevel@tonic-gate  * logadm/conf.h -- public definitions for conf module
257c478bd9Sstevel@tonic-gate  */
267c478bd9Sstevel@tonic-gate 
277c478bd9Sstevel@tonic-gate #ifndef	_LOGADM_CONF_H
287c478bd9Sstevel@tonic-gate #define	_LOGADM_CONF_H
297c478bd9Sstevel@tonic-gate 
307c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
317c478bd9Sstevel@tonic-gate extern "C" {
327c478bd9Sstevel@tonic-gate #endif
337c478bd9Sstevel@tonic-gate 
34*e9a193fcSJohn.Zolnowsky@Sun.COM int conf_open(const char *cfname, const char *tfname, struct opts *opts);
357c478bd9Sstevel@tonic-gate void conf_close(struct opts *opts);
36*e9a193fcSJohn.Zolnowsky@Sun.COM void *conf_lookup(const char *lhs);
377c478bd9Sstevel@tonic-gate struct opts *conf_opts(const char *lhs);
387c478bd9Sstevel@tonic-gate void conf_replace(const char *lhs, struct opts *newopts);
397c478bd9Sstevel@tonic-gate void conf_set(const char *entry, char *o, const char *optarg);
407c478bd9Sstevel@tonic-gate struct fn_list *conf_entries(void);
417c478bd9Sstevel@tonic-gate 
427c478bd9Sstevel@tonic-gate #ifdef	__cplusplus
437c478bd9Sstevel@tonic-gate }
447c478bd9Sstevel@tonic-gate #endif
457c478bd9Sstevel@tonic-gate 
467c478bd9Sstevel@tonic-gate #endif	/* _LOGADM_CONF_H */
47