mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Likely broke things for non-posix threadings....
Update -lldap_r implementation to:
remove attribute support
hide thread detachment
provide concurrency accessors
provide initialization function
fix gethostby{addr,name}_r codes (not coverred by HAVE_REENTRANT_FUNCTIONS)
Update servers/libraries to use ldap_pvt_thread_ calls.
Cleanup server codes (no #ifdef HAVE_PTHREAD_THIS or _THATs)!
Removed -llthread
22 lines
339 B
C
22 lines
339 B
C
#ifndef PERL_BACK_H
|
|
#define PERL_BACK_H 1
|
|
|
|
#include <ldap_cdefs.h>
|
|
|
|
LDAP_BEGIN_DECL
|
|
|
|
/*
|
|
*/
|
|
#define EVAL_BUF_SIZE 500
|
|
|
|
extern PerlInterpreter *perl_interpreter;
|
|
extern ldap_pvt_thread_mutex_t perl_interpreter_mutex;
|
|
|
|
typedef struct perl_backend_instance {
|
|
char *pb_module_name;
|
|
SV *pb_obj_ref;
|
|
} PerlBackend;
|
|
|
|
LDAP_END_DECL
|
|
|
|
#endif
|