[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: backend.c



At 01:57 PM 7/19/99 -0400, Philip Waligora wrote:
>Hi all,
>
>I'm trying to see if I can get the tcl backend to work and there is a
>call in the file tcl_init.c for a function backend_add that takes in a
>BackendInfo pointer.   Does anyone know which file this function is
>in?  I would think that it's in slap.h but I can't find it there.

You must not have a complete -devel tree...

% grep BackendInfo slap.h
typedef struct slap_backend_info BackendInfo;   /* per backend type */
extern int nBackendInfo;
extern BackendInfo      *backendInfo;
        BackendInfo     *bd_info;       /* pointer to shared backend info */
        /* BackendInfo accessors */
        int (*bi_init)  LDAP_P((BackendInfo *bi));
        int     (*bi_config) LDAP_P((BackendInfo *bi,
        int (*bi_open) LDAP_P((BackendInfo *bi));
        int (*bi_close) LDAP_P((BackendInfo *bi));
        int (*bi_destroy) LDAP_P((BackendInfo *bi));

% grep slap_backend_info slap.h
typedef struct slap_backend_info BackendInfo;   /* per backend type */
struct slap_backend_info {