)
{
bi->bi_open = ldbm_back_open;
- bi->bi_config = NULL;
+ bi->bi_config = 0;
bi->bi_close = ldbm_back_close;
bi->bi_destroy = ldbm_back_destroy;
BackendInfo *bi
)
{
- bi->bi_open = NULL;
- bi->bi_config = NULL;
- bi->bi_close = NULL;
- bi->bi_destroy = NULL;
-
- bi->bi_db_init = NULL;
- bi->bi_db_config = NULL;
- bi->bi_db_open = NULL;
- bi->bi_db_close = NULL;
- bi->bi_db_destroy = NULL;
-
- bi->bi_op_bind = NULL;
- bi->bi_op_unbind = NULL;
+ bi->bi_open = 0;
+ bi->bi_config = 0;
+ bi->bi_close = 0;
+ bi->bi_destroy = 0;
+
+ bi->bi_db_init = 0;
+ bi->bi_db_config = 0;
+ bi->bi_db_open = 0;
+ bi->bi_db_close = 0;
+ bi->bi_db_destroy = 0;
+
+ bi->bi_op_bind = 0;
+ bi->bi_op_unbind = 0;
bi->bi_op_search = passwd_back_search;
- bi->bi_op_compare = NULL;
- bi->bi_op_modify = NULL;
- bi->bi_op_modrdn = NULL;
- bi->bi_op_add = NULL;
- bi->bi_op_delete = NULL;
- bi->bi_op_abandon = NULL;
+ bi->bi_op_compare = 0;
+ bi->bi_op_modify = 0;
+ bi->bi_op_modrdn = 0;
+ bi->bi_op_add = 0;
+ bi->bi_op_delete = 0;
+ bi->bi_op_abandon = 0;
#ifdef SLAPD_ACLGROUPS
- bi->bi_acl_group = NULL;
+ bi->bi_acl_group = 0;
#endif
return 0;
perl_run(perl_interpreter);
bi->bi_open = perl_back_open;
- bi->bi_config = NULL;
+ bi->bi_config = 0;
bi->bi_close = perl_back_close;
bi->bi_destroy = perl_back_destroy;
bi->bi_db_init = perl_back_db_init;
bi->bi_db_config = perl_back_db_config;
- bi->bi_db_open = NULL;
- bi->bi_db_close = NULL;
+ bi->bi_db_open = 0;
+ bi->bi_db_close = 0;
bi->bi_db_destroy = perl_back_db_destroy;
bi->bi_op_bind = perl_back_bind;
bi->bi_op_modrdn = perl_back_modrdn;
bi->bi_op_add = perl_back_add;
bi->bi_op_delete = perl_back_delete;
- bi->bi_op_abandon = NULL;
+ bi->bi_op_abandon = 0;
#ifdef SLAPD_ACLGROUPS
- bi->bi_acl_group = NULL;
+ bi->bi_acl_group = 0;
#endif
return 0;
BackendInfo *bi
)
{
- bi->bi_open = NULL;
- bi->bi_config = NULL;
- bi->bi_close = NULL;
- bi->bi_destroy = NULL;
+ bi->bi_open = 0;
+ bi->bi_config = 0;
+ bi->bi_close = 0;
+ bi->bi_destroy = 0;
bi->bi_db_init = shell_back_db_init;
bi->bi_db_config = shell_back_db_config;
- bi->bi_db_open = NULL;
- bi->bi_db_close = NULL;
+ bi->bi_db_open = 0;
+ bi->bi_db_close = 0;
bi->bi_db_destroy = shell_back_db_destroy;
bi->bi_op_bind = shell_back_bind;
bi->bi_op_abandon = shell_back_abandon;
#ifdef SLAPD_ACLGROUPS
- bi->bi_acl_group = NULL;
+ bi->bi_acl_group = 0;
#endif
return 0;
/* tcl_init.c - tcl backend initialization
*
- * $Id: tcl_init.c,v 1.4 1999/02/18 01:18:39 bcollins Exp $
+ * $Id: tcl_init.c,v 1.5 1999/02/20 07:53:48 hallvard Exp $
*
* Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
*
ldap_pvt_thread_mutex_init (&tcl_interpreter_mutex);
bi->bi_open = tcl_back_open;
- bi->bi_config = NULL;
+ bi->bi_config = 0;
bi->bi_close = tcl_back_close;
bi->bi_destroy = tcl_back_destroy;
bi->bi_op_abandon = tcl_back_abandon;
#ifdef SLAPD_ACLGROUPS
- bi->bi_acl_group = NULL;
+ bi->bi_acl_group = 0;
#endif
return 0;