Lines Matching defs:tmpl
21 void dump_tmpl( struct ldap_disptmpl *tmpl );
116 dump_tmpl( struct ldap_disptmpl *tmpl )
125 NULLSTRINGIFNULL( tmpl->dt_name ),
126 NULLSTRINGIFNULL( tmpl->dt_pluralname ),
127 NULLSTRINGIFNULL( tmpl->dt_iconname ));
130 for ( ocp = tmpl->dt_oclist; ocp != NULL; ocp = ocp->oc_next ) {
140 if ( tmpl->dt_options == 0L ) {
143 printf( "%s %s %s\n", LDAP_IS_DISPTMPL_OPTION_SET( tmpl,
145 LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALLOWMODRDN )
147 LDAP_IS_DISPTMPL_OPTION_SET( tmpl, LDAP_DTMPL_OPT_ALTVIEW )
151 printf( "authenticate as attribute: %s\n", tmpl->dt_authattrname != NULL ?
152 tmpl->dt_authattrname : "<default>" );
154 printf( "default RDN attribute: %s\n", tmpl->dt_defrdnattrname != NULL ?
155 tmpl->dt_defrdnattrname : "NONE" );
157 printf( "default add location: %s\n", tmpl->dt_defaddlocation != NULL ?
158 tmpl->dt_defaddlocation : "NONE" );
161 for ( adp = tmpl->dt_adddeflist; adp != NULL; adp = adp->ad_next ) {
174 if (( fetchattrs = ldap_tmplattrs( tmpl, includeattrs, 1,
186 if (( fetchattrs = ldap_tmplattrs( tmpl, NULL, 0,
199 for ( rowp = ldap_first_tmplrow( tmpl ); rowp != NULLTMPLITEM;
200 rowp = ldap_next_tmplrow( tmpl, rowp )) {
203 for ( colp = ldap_first_tmplcol( tmpl, rowp ); colp != NULLTMPLITEM;
204 colp = ldap_next_tmplcol( tmpl, rowp, colp )) {