1 /* init.c - initialize shell backend */
12 #ifdef SLAPD_SHELL_DYNAMIC
15 G_MODULE_EXPORT void init_module(int argc, char *argv[]) {
19 bi.bi_init = shell_back_initialize;
24 #endif /* SLAPD_SHELL_DYNAMIC */
27 shell_back_initialize(
36 bi->bi_db_init = shell_back_db_init;
37 bi->bi_db_config = shell_back_db_config;
40 bi->bi_db_destroy = shell_back_db_destroy;
42 bi->bi_op_bind = shell_back_bind;
43 bi->bi_op_unbind = shell_back_unbind;
44 bi->bi_op_search = shell_back_search;
45 bi->bi_op_compare = shell_back_compare;
46 bi->bi_op_modify = shell_back_modify;
47 bi->bi_op_modrdn = shell_back_modrdn;
48 bi->bi_op_add = shell_back_add;
49 bi->bi_op_delete = shell_back_delete;
50 bi->bi_op_abandon = shell_back_abandon;
54 bi->bi_connection_init = 0;
55 bi->bi_connection_destroy = 0;
67 si = (struct shellinfo *) ch_calloc( 1, sizeof(struct shellinfo) );
75 shell_back_db_destroy(
79 free( be->be_private );