/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2000-2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _RDR_PARAM_TYPES_H
#define _RDR_PARAM_TYPES_H
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* WARNING: The contents of this file are shared by all projects
* that wish to perform remote Dynamic Reconfiguration (DR)
* operations. Copies of this file can be found in the following
* locations:
*
* Project Location
* ------- --------
*
* In order for proper communication to occur, the files in the
* above locations must match exactly. Any changes that are made
* to this file should be made to all of the files in the list.
*/
/*
* This file contains the structures that are exposed to the clients
* of the Remote DR (RDR) module. They represent the data that is
* required for the various RDR operations. They are passed into
* the rdr_snd_msg() function and returned from the rdr_rcv_msg()
* function.
*/
#ifdef __cplusplus
extern "C" {
#endif
#include <config_admin.h>
#include <time.h>
#ifdef SMSLIB_TARGET
#include <libscri/rsrc_info.h>
#else
#include "rsrc_info.h"
#endif /* SMSLIB_TARGET */
typedef struct {
char *locale_str;
unsigned long session_id;
typedef struct {
unsigned int error_code;
typedef struct {
int num_ap_ids;
char *const *ap_ids;
char **errstring;
int retries;
typedef struct {
int num_ap_ids;
char *const *ap_ids;
char **errstring;
typedef struct {
int num_ap_ids;
char *const *ap_ids;
char **errstring;
/*
* A wrapper around the cfga_list_data_t
* that allows sorting information to be
* associated with each ap_id in an array.
*/
typedef struct {
} rdr_list_t;
typedef struct {
int num_ap_ids;
char **ap_ids;
int *nlist;
char *options;
char *listopts;
char **errstring;
int flags;
unsigned int permissions;
typedef struct {
int num_ap_ids;
char **ap_ids;
typedef struct {
char *ap_log_id1;
char *ap_log_id2;
typedef struct {
unsigned long session_id;
typedef struct {
char *message;
int response;
typedef struct {
char *message;
typedef struct {
int num_ap_ids;
char **ap_ids;
int flags;
typedef union {
#ifdef __cplusplus
}
#endif
#endif /* _RDR_PARAM_TYPES_H */