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 "back-sock.h"

Go to the source code of this file.

Functions

int sock_back_initialize (BackendInfo *bi)
int sock_back_db_init (Backend *be, struct config_reply_s *cr)
int sock_back_db_destroy (Backend *be, struct config_reply_s *cr)

Function Documentation

int sock_back_db_destroy ( Backend be,
struct config_reply_s cr 
)

Definition at line 83 of file init.c.

{
       free( be->be_private );
       return 0;
}
int sock_back_db_init ( Backend be,
struct config_reply_s cr 
)

Definition at line 67 of file init.c.

{
       struct sockinfo      *si;

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

       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:

Definition at line 31 of file init.c.

Here is the call graph for this function: