/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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 2014 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _ADDISC_IMPL_H
#define _ADDISC_IMPL_H
#include <stdlib.h>
#include <stdio.h>
#include <resolv.h>
#include <ldap.h>
#include <pthread.h>
#include "addisc.h"
#include "libadutils.h"
#ifdef __cplusplus
extern "C" {
#endif
enum ad_item_state {
};
enum ad_data_type {
};
typedef struct ad_subnet {
} ad_subnet_t;
typedef struct ad_item {
void *value;
/* if the value changes */
#define PARAM1 0
/* These holds the version of */
/* dependents so that a dependent */
/* change can be detected */
} ad_item_t;
typedef struct ad_disc {
int res_ninitted;
/* port array */
/* port array */
/* array */
/* direction array */
/* Site specfic versions */
/* port array */
/* port array */
/* Optional FILE * for DC Location status. */
} ad_disc;
/* Candidate Directory Servers (CDS) */
typedef struct ad_disc_cds {
int srv_getdom(res_state, const char *, char **);
ad_disc_ds_t *);
void srv_free(ad_disc_cds_t *);
void auto_set_ForestName(ad_disc_t, char *);
void auto_set_SiteName(ad_disc_t, char *);
#ifdef __cplusplus
}
#endif
#endif /* _ADDISC_IMPL_H */