File: ldap_compat.h

package info (click to toggle)
libnet-ldapapi-perl 3.0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 576 kB
  • sloc: perl: 3,913; ansic: 9; makefile: 8
file content (22 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/****************************************************************************/
/* ldap_compat.h - Header file to add ldap_*_option support and other       */
/*     Functions to NON-Mozilla Development Kits.                           */
/* Author: Clayton Donley - donley@wwa.com                                  */
/* Date:   Tue Aug 26 13:13:32 CDT 1997                                     */
/****************************************************************************/

#define ldap_memfree(x) Safefree(x)

/*
 * OpenLDAP already defines these macros
 */

#ifndef OPENLDAP
#define LDAP_OPT_DEREF 2
#define LDAP_OPT_SIZELIMIT 3
#define LDAP_OPT_TIMELIMIT 4
#define LDAP_OPT_REFERRALS 8

#define LDAP_OPT_ON  1
#define LDAP_OPT_OFF 0
#endif