/*
* 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 2001-2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "ldap_util.h"
#include "ldap_print.h"
void
int i;
if (val == 0)
return;
}
}
void
if (val != 0) {
int i;
}
} else {
}
} else {
}
}
void
int len = 0;
}
void
int len = 0;
}
void
int len = 0;
}
void
int j;
if (val == 0)
return;
if (i->repeat)
}
if (i->repeat)
}
void
int i;
switch (e->type) {
case me_item:
break;
case me_print:
}
}
break;
case me_split:
break;
case me_match:
break;
case me_extract:
break;
default:
break;
}
}
void
int i;
switch (e->type) {
case me_item:
break;
case me_print:
}
}
break;
case me_split:
break;
case me_match:
}
break;
case me_extract:
break;
default:
break;
}
}
void
int i;
if (m->numElements > 1)
for (i = 0; i < m->numElements; i++) {
}
if (m->numElements > 1)
}
void
}
void
}
void
int i;
printSearchTriple(&o->read);
printSearchTriple(&o->write);
switch (o->delDisp) {
case dd_always:
break;
case dd_perDbId:
for (i = 0; i < o->numDbIds; i++) {
}
break;
case dd_never:
break;
default:
}
}
void
int i;
printobjectDN(o);
}
for (i = 0; i < t->numRulesFromLDAP; i++) {
}
for (i = 0; i < t->numRulesToLDAP; i++) {
}
}
void
int i, j;
__nis_buffer_t b = {0, 0};
if (rv == 0)
return;
for (i = 0; i < rv->numColumns; i++) {
else
} else {
&b);
else
&b);
}
}
}
}
&b);
else
&b);
} else {
&b);
else
&b);
}
}
}
}
printbuf();
}
void
LDAPMod *m;
char *s;
if (mods == 0)
return;
if (b == 0)
b = &pb;
while ((m = *mods) != 0) {
if ((m->mod_op & LDAP_MOD_ADD) != 0 ||
(m->mod_op & ~LDAP_MOD_BVALUES) == 0) {
s = "ADD ";
} else if ((m->mod_op & LDAP_MOD_DELETE) != 0) {
s = "DELETE ";
} else if ((m->mod_op & LDAP_MOD_REPLACE) != 0) {
s = "REPLACE";
} else {
s = "UNKNOWN";
}
if ((m->mod_op & LDAP_MOD_BVALUES) == 0) {
char **v = m->mod_values;
if (v != 0) {
while (*v != 0) {
v++;
}
}
} else {
if (bv != 0) {
while (*bv != 0) {
bv++;
}
}
}
mods++;
}
}
static void
int i;
if (a == 0)
return;
for (i = 0; i < 4; i++) {
}
}
void
if (attr == 0)
return;
}