2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License (the "License").
2N/A * You may not use this file except in compliance with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A
2N/A/*
2N/A * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A */
2N/A
2N/A/*LINTLIBRARY*/
2N/A/*PROTOLIB1*/
2N/A
2N/A#include <sys/param.h>
2N/A#include <config_admin.h>
2N/A
2N/Acfga_err_t
2N/Aconfig_change_state(
2N/A cfga_cmd_t state_change_cmd,
2N/A int num_ap_ids,
2N/A char * const *ap_ids,
2N/A const char *options,
2N/A struct cfga_confirm *confp,
2N/A struct cfga_msg *msgp,
2N/A char **errstring,
2N/A cfga_flags_t flags);
2N/A
2N/Acfga_err_t
2N/Aconfig_private_func(
2N/A const char *function,
2N/A int num_ap_ids,
2N/A char * const *ap_ids,
2N/A const char *options,
2N/A struct cfga_confirm *confp,
2N/A struct cfga_msg *msgp,
2N/A char **errstring,
2N/A cfga_flags_t flags);
2N/A
2N/Acfga_err_t
2N/Aconfig_test(
2N/A int num_ap_ids,
2N/A char * const *ap_ids,
2N/A const char *options,
2N/A struct cfga_msg *msgp,
2N/A char **errstring,
2N/A cfga_flags_t flags);
2N/A
2N/Acfga_err_t
2N/Aconfig_stat(
2N/A int num_ap_ids,
2N/A char * const *ap_ids,
2N/A struct cfga_stat_data *buf,
2N/A const char *options,
2N/A char **errstring);
2N/A
2N/Acfga_err_t
2N/Aconfig_list(
2N/A struct cfga_stat_data **ap_di_list,
2N/A int *nlist,
2N/A const char *options,
2N/A char **errstring);
2N/A
2N/Acfga_err_t
2N/Aconfig_list_ext(
2N/A int num_ap_ids,
2N/A char *const *ap_ids,
2N/A struct cfga_list_data **ap_id_list,
2N/A int *nlist,
2N/A const char* options,
2N/A const char *listopts,
2N/A char **errstring,
2N/A cfga_flags_t flags);
2N/A
2N/Acfga_err_t
2N/Aconfig_help(
2N/A int num_ap_ids,
2N/A char * const *ap_ids,
2N/A struct cfga_msg *msgp,
2N/A const char *options,
2N/A cfga_flags_t flags);
2N/A
2N/Aconst char *
2N/Aconfig_strerror(
2N/A cfga_err_t cfgerrnum);
2N/A
2N/Aint
2N/Aconfig_ap_id_cmp(
2N/A const cfga_ap_log_id_t ap_id1,
2N/A const cfga_ap_log_id_t ap_id2);
2N/A
2N/Avoid
2N/Aconfig_unload_libs(void);
2N/A
2N/A#ifdef CFGA_PLUGIN_LIB
2N/A
2N/Acfga_err_t
2N/Acfga_change_state(
2N/A cfga_cmd_t,
2N/A const char *,
2N/A const char *,
2N/A struct cfga_confirm *,
2N/A struct cfga_msg *,
2N/A char **,
2N/A cfga_flags_t);
2N/A
2N/Acfga_err_t
2N/Acfga_private_func(
2N/A const char *,
2N/A const char *,
2N/A const char *,
2N/A struct cfga_confirm *,
2N/A struct cfga_msg *,
2N/A char **,
2N/A cfga_flags_t);
2N/A
2N/Acfga_err_t
2N/Acfga_test(
2N/A const char *,
2N/A const char *,
2N/A struct cfga_msg *,
2N/A char **,
2N/A cfga_flags_t);
2N/A
2N/Acfga_err_t
2N/Acfga_stat(
2N/A const char *,
2N/A struct cfga_stat_data *,
2N/A const char *,
2N/A char **);
2N/A
2N/Acfga_err_t
2N/Acfga_list(
2N/A const char *,
2N/A struct cfga_stat_data **,
2N/A int *,
2N/A const char *,
2N/A char **);
2N/A
2N/Acfga_err_t
2N/Acfga_list_ext(
2N/A const char *,
2N/A struct cfga_list_data **,
2N/A int *,
2N/A const char *,
2N/A const char *,
2N/A char **,
2N/A cfga_flags_t);
2N/A
2N/Acfga_err_t
2N/Acfga_help(
2N/A struct cfga_msg *,
2N/A const char *,
2N/A cfga_flags_t);
2N/A
2N/Aint
2N/Acfga_ap_id_cmp(
2N/A const cfga_ap_log_id_t,
2N/A const cfga_ap_log_id_t);
2N/A
2N/A#endif