version 1.1.3.1.2.1, 1998/08/09 01:40:29
|
version 1.4.10.2, 1998/09/23 06:13:37
|
Line 11
|
Line 11
|
* is provided ``as is'' without express or implied warranty. |
* is provided ``as is'' without express or implied warranty. |
*/ |
*/ |
|
|
|
#define DISABLE_BRIDGE /* disable LDAP_BRIDGE code */ |
|
#include "portable.h" |
|
|
#include <stdio.h> |
#include <stdio.h> |
|
|
#ifdef MACOS |
#ifdef MACOS |
#include <stdlib.h> |
#include <stdlib.h> |
#include <stdarg.h> |
#include <stdarg.h> |
#include "macos.h" |
#include "macos.h" |
#else /* MACOS */ |
#else /* MACOS */ |
#if defined(NeXT) || defined(VMS) |
|
|
#if defined(NeXT) || defined(VMS) || defined(__FreeBSD__) |
#include <stdlib.h> |
#include <stdlib.h> |
#else /* next || vms */ |
#else /* next || vms || freebsd */ |
#include <malloc.h> |
#include <malloc.h> |
#endif /* next || vms */ |
#endif /* next || vms || freebsd */ |
#if defined(BC31) || defined(_WIN32) |
#if defined(BC31) || defined(_WIN32) |
#include <stdarg.h> |
#include <stdarg.h> |
#else /* BC31 || _WIN32 */ |
#else /* BC31 || _WIN32 */ |
Line 40
|
Line 45
|
#endif /* DOS */ |
#endif /* DOS */ |
|
|
#include <string.h> |
#include <string.h> |
|
|
#include "lber.h" |
#include "lber.h" |
|
|
#ifdef LDAP_DEBUG |
#ifdef LDAP_DEBUG |
int lber_debug; |
int lber_debug; |
#endif |
#endif |
|
|
#ifdef NEEDPROTOS |
static int ber_getnint LDAP_P(( BerElement *ber, long *num, int len )); |
static int ber_getnint( BerElement *ber, long *num, int len ); |
|
#endif /* NEEDPROTOS */ |
|
|
|
|
|
/* return the tag - LBER_DEFAULT returned means trouble */ |
/* return the tag - LBER_DEFAULT returned means trouble */ |
unsigned long |
unsigned long |