Lines Matching refs:frontendDB
49 BackendDB *frontendDB;
100 frontendDB = &slap_frontendDB;
101 frontendDB->bd_self = frontendDB;
104 frontendDB->be_dfltaccess = ACL_READ;
107 frontendDB->be_def_limit.lms_t_soft = SLAPD_DEFAULT_TIMELIMIT; /* backward compatible limits */
108 frontendDB->be_def_limit.lms_t_hard = 0;
109 frontendDB->be_def_limit.lms_s_soft = SLAPD_DEFAULT_SIZELIMIT; /* backward compatible limits */
110 frontendDB->be_def_limit.lms_s_hard = 0;
111 frontendDB->be_def_limit.lms_s_unchecked = -1; /* no limit on unchecked size */
112 frontendDB->be_def_limit.lms_s_pr = 0; /* page limit */
113 frontendDB->be_def_limit.lms_s_pr_hide = 0; /* don't hide number of entries left */
114 frontendDB->be_def_limit.lms_s_pr_total = 0; /* number of total entries returned by pagedResults equal to hard limit */
116 ldap_pvt_thread_mutex_init( &frontendDB->be_pcsn_st.be_pcsn_mutex );
119 frontendDB->be_suffix = ch_calloc( 2, sizeof( struct berval ) );
120 ber_str2bv( "", 0, 1, &frontendDB->be_suffix[0] );
121 BER_BVZERO( &frontendDB->be_suffix[1] );
122 frontendDB->be_nsuffix = ch_calloc( 2, sizeof( struct berval ) );
123 ber_str2bv( "", 0, 1, &frontendDB->be_nsuffix[0] );
124 BER_BVZERO( &frontendDB->be_nsuffix[1] );
127 frontendDB->bd_info = &slap_frontendInfo;
129 SLAP_BFLAGS(frontendDB) |= SLAP_BFLAG_FRONTEND;
132 frontendDB->bd_info->bi_type = "frontend";
138 frontendDB->bd_info->bi_controls = slap_known_controls;
150 frontendDB->bd_info->bi_ctrls[ cid ] = 1;
151 frontendDB->be_ctrls[ cid ] = 1;
156 frontendDB->bd_info->bi_op_abandon = fe_op_abandon;
157 frontendDB->bd_info->bi_op_add = fe_op_add;
158 frontendDB->bd_info->bi_op_bind = fe_op_bind;
159 frontendDB->bd_info->bi_op_compare = fe_op_compare;
160 frontendDB->bd_info->bi_op_delete = fe_op_delete;
161 frontendDB->bd_info->bi_op_modify = fe_op_modify;
162 frontendDB->bd_info->bi_op_modrdn = fe_op_modrdn;
163 frontendDB->bd_info->bi_op_search = fe_op_search;
164 frontendDB->bd_info->bi_extended = fe_extended;
165 frontendDB->bd_info->bi_operational = fe_aux_operational;
166 frontendDB->bd_info->bi_entry_get_rw = fe_entry_get_rw;
167 frontendDB->bd_info->bi_entry_release_rw = fe_entry_release_rw;
168 frontendDB->bd_info->bi_access_allowed = fe_access_allowed;
169 frontendDB->bd_info->bi_acl_group = fe_acl_group;
170 frontendDB->bd_info->bi_acl_attribute = fe_acl_attribute;
174 return backend_startup_one( frontendDB );