Back to index

openldap  2.4.31
Functions
init.c File Reference
#include "portable.h"
#include <stdio.h>
#include <ac/socket.h>
#include "slap.h"
#include "config.h"
#include "shell.h"

Go to the source code of this file.

Functions

int shell_back_initialize (BackendInfo *bi)
int shell_back_db_init (Backend *be, ConfigReply *cr)
int shell_back_db_destroy (Backend *be, ConfigReply *cr)

Function Documentation

int shell_back_db_destroy ( Backend be,
ConfigReply *  cr 
)

Definition at line 96 of file init.c.

{
       free( be->be_private );
       return 0;
}
int shell_back_db_init ( Backend be,
ConfigReply *  cr 
)

Definition at line 80 of file init.c.

{
       struct shellinfo     *si;

       si = (struct shellinfo *) ch_calloc( 1, sizeof(struct shellinfo) );

       be->be_private = si;
       be->be_cf_ocs = be->bd_info->bi_cf_ocs;

       return si == NULL;
}

Here is the call graph for this function: