-time limit, and how aliases are handled during operations. See <ldap.h>
-for more details.
-.LP
-.nf
-.ft tt
- typedef struct ldap {
- /* ... other stuff you should not mess with ... */
- char ld_lberoptions;
- int ld_deref;
- #define LDAP_DEREF_NEVER 0
- #define LDAP_DEREF_SEARCHING 1
- #define LDAP_DEREF_FINDING 2
- #define LDAP_DEREF_ALWAYS 3
- int ld_timelimit;
- int ld_sizelimit;
- #define LDAP_NO_LIMIT 0
- int ld_errno;
- char *ld_error;
- char *ld_matched;
- int ld_refhoplimit;
- unsigned long ld_options;
- #define LDAP_OPT_REFERRALS 0x00000002 /* set by default */
- #define LDAP_OPT_RESTART 0x00000004
- /* ... other stuff you should not mess with ... */
- } LDAP;
-.ft
-.fi
+time limit, and how aliases are handled during operations; read and write access
+to those fields must occur by calling
+.BR ldap_get_option (3)
+and
+.BR ldap_set_option (3)
+respectively, whenever possible.