Back to index

openldap  2.4.31
Functions | Variables
init.c File Reference
#include "portable.h"
#include <stdio.h>
#include <ac/socket.h>
#include <ac/param.h>
#include <ac/string.h>
#include "slap.h"
#include "config.h"
#include "proto-dnssrv.h"

Go to the source code of this file.

Functions

int dnssrv_back_initialize (BackendInfo *bi)
int dnssrv_back_open (BackendInfo *bi)
int dnssrv_back_db_init (Backend *be, ConfigReply *cr)
int dnssrv_back_db_destroy (Backend *be, ConfigReply *cr)

Variables

AttributeDescriptionad_dc
AttributeDescriptionad_associatedDomain

Function Documentation

int dnssrv_back_db_destroy ( Backend be,
ConfigReply *  cr 
)

Definition at line 102 of file init.c.

{
       return 0;
}
int dnssrv_back_db_init ( Backend be,
ConfigReply *  cr 
)

Definition at line 94 of file init.c.

{
       return 0;
}

Definition at line 35 of file init.c.

{
       static char *controls[] = {
              LDAP_CONTROL_MANAGEDSAIT,
              NULL
       };

       bi->bi_controls = controls;

       bi->bi_open = dnssrv_back_open;
       bi->bi_config = 0;
       bi->bi_close = 0;
       bi->bi_destroy = 0;

       bi->bi_db_init = 0;
       bi->bi_db_destroy = 0;
       bi->bi_db_config = 0 /* dnssrv_back_db_config */;
       bi->bi_db_open = 0;
       bi->bi_db_close = 0;

       bi->bi_chk_referrals = dnssrv_back_referrals;

       bi->bi_op_bind = dnssrv_back_bind;
       bi->bi_op_search = dnssrv_back_search;
       bi->bi_op_compare = 0 /* dnssrv_back_compare */;
       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;
       bi->bi_op_unbind = 0;

       bi->bi_extended = 0;

       bi->bi_connection_init = 0;
       bi->bi_connection_destroy = 0;

       bi->bi_access_allowed = slap_access_always_allowed;

       return 0;
}

Here is the call graph for this function:

Definition at line 82 of file init.c.

{
       const char *text;

       (void)slap_str2ad( "dc", &ad_dc, &text );
       (void)slap_str2ad( "associatedDomain", &ad_associatedDomain, &text );

       return 0;
}

Here is the call graph for this function:


Variable Documentation

Definition at line 79 of file init.c.

Definition at line 78 of file init.c.