summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/stubs.c
blob: 1406a83d2e7174225219e53db633fde8b91816b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/** BEGIN COPYRIGHT BLOCK
 * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
 * Copyright (C) 2005 Red Hat, Inc.
 * All rights reserved.
 * END COPYRIGHT BLOCK **/

/* Needed because not all functions are currently defined for server3_branch */

#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include "slap.h"

#if defined( XP_WIN32 ) /* PK*/
void *dlsym(void *a, char *b) 
{
	return 0;
}
#endif

int type_to_ACCESS_bit( char *p )
{
	return 0;
}

void *PT_Lock( PRLock *x_mutex )
{
	return NULL;
}

int lcache_init(LDAP *ld, void *arg)
{
	LDAPDebug(LDAP_DEBUG_ANY, 
		"lcache_init: Shouldn't have been called\n", 0,0,0);
	return -1;
}