Lines Matching refs:tmpl

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