mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
403f4479bc
Replace old Id as needed (back-tcl). Leave updating of contribWare to contributors (for now).
115 lines
1.5 KiB
C
115 lines
1.5 KiB
C
/* $OpenLDAP$ */
|
|
/*
|
|
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
*/
|
|
/*
|
|
* Mimic unused interfaces of slapd...
|
|
* needed for linking.
|
|
*/
|
|
#include "portable.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "../slap.h"
|
|
|
|
#ifdef WIN32
|
|
time_t starttime;
|
|
#endif
|
|
|
|
/* bogus ../results.c */
|
|
int str2result(
|
|
char* s,
|
|
int *code,
|
|
char **matched,
|
|
char **info )
|
|
{
|
|
assert(0);
|
|
return 0;
|
|
}
|
|
|
|
void
|
|
send_ldap_disconnect(
|
|
Connection *conn,
|
|
Operation *op,
|
|
ber_int_t err,
|
|
const char *text
|
|
)
|
|
{
|
|
assert(0);
|
|
}
|
|
|
|
void
|
|
send_ldap_result(
|
|
Connection *conn,
|
|
Operation *op,
|
|
int err,
|
|
const char *matched,
|
|
const char *text,
|
|
struct berval **refs,
|
|
LDAPControl **ctrls
|
|
)
|
|
{
|
|
assert(0);
|
|
}
|
|
|
|
void
|
|
send_search_result(
|
|
Connection *conn,
|
|
Operation *op,
|
|
int err,
|
|
const char *matched,
|
|
const char *text,
|
|
struct berval **refs,
|
|
LDAPControl **ctrls,
|
|
int nentries
|
|
)
|
|
{
|
|
assert(0);
|
|
}
|
|
|
|
int
|
|
send_search_entry(
|
|
Backend *be,
|
|
Connection *conn,
|
|
Operation *op,
|
|
Entry *e,
|
|
char **attrs,
|
|
int attrsonly,
|
|
LDAPControl **ctrls
|
|
)
|
|
{
|
|
assert(0);
|
|
return -1;
|
|
}
|
|
|
|
int send_search_reference(
|
|
Backend *be,
|
|
Connection *conn,
|
|
Operation *op,
|
|
Entry *e,
|
|
struct berval **refs,
|
|
int scope,
|
|
LDAPControl **ctrls,
|
|
struct berval ***v2refs
|
|
)
|
|
{
|
|
assert(0);
|
|
return -1;
|
|
}
|
|
|
|
struct berval **get_entry_referrals(
|
|
Backend *be, Connection *conn, Operation *op, Entry *e )
|
|
{
|
|
assert(0);
|
|
return NULL;
|
|
}
|
|
|
|
int sasl_init(void) {
|
|
return 0;
|
|
}
|
|
|
|
int sasl_destroy(void) {
|
|
return 0;
|
|
}
|