ldap_print.c 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 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;
char *myself = "printMappingFormat";
if (val == 0)
return;
}
}
void
char *myself = "printMappingFormatArray";
if (val != 0) {
int i;
}
} else {
}
} else {
}
}
void
printIndex(__nis_index_t *i) {
int len = 0;
char *myself = "printIndex";
}
void
printObjSpec(__nis_obj_spec_t *o) {
int len = 0;
char *myself = "printObjSpec";
}
void
int len = 0;
char *myself = "printSearchTriple";
}
void
int j;
char *myself = "printMappingItem";
if (val == 0)
return;
if (i->repeat)
}
if (i->repeat)
}
void
int i;
char *myself = "printMappingSubElement";
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;
char *myself = "printMappingElement";
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;
char *myself = "printMappingRLHS";
if (m->numElements > 1)
for (i = 0; i < m->numElements; i++) {
}
if (m->numElements > 1)
}
void
char *myself = "printMappingRule";
}
void
char *myself = "printObjName";
}
void
char *myself = "printobjectDN";
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;
char *myself = "printTableMapping";
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};
char *myself = "printRuleValue";
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;
char *myself = "printLdapMod";
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
char *myself = "printObjAttr";
if (attr == 0)
return;
}