ldap_op.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* 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 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _LDAP_OP_H
#define _LDAP_OP_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Need _SOLARIS_SDK in order to get LDAP_CONTROL_SIMPLE_PAGE from new <ldap.h>
*/
#ifndef _SOLARIS_SDK
#define _SOLARIS_SDK
#endif
#include <lber.h>
#include <ldap.h>
#include "ldap_parse.h"
#include "ldap_structs.h"
#include "ldap_ruleval.h"
#include "nis_parse_ldap_conf.h"
/* Exported functions */
int numFilterComps, char **filterComp,
int isDN);
int ldapDestroy(void);
int string2method(char *method);
int ldapConnect(void);
int oc);
char *objClassAttrs, int addFirst);
char *objClassAttrs, void *lcv);
#ifdef __cplusplus
}
#endif
#endif /* _LDAP_OP_H */