]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/options.c
Move LDAPServer, LDAPConn, LDAPRequest, and LDAPCache
[openldap] / libraries / libldap / options.c
index c595972bc2c415bc427efd1d67402d5ad825cd7d..c047f5a814a571fd820d9ce8cbae5d70a03390d8 100644 (file)
@@ -178,6 +178,10 @@ ldap_get_option(
                }
                break;
 
+       case LDAP_OPT_DEBUG_LEVEL:
+               * (int *) outvalue = lo->ldo_debug;
+               break;
+
        default:
                /* bad param */
                break;
@@ -321,6 +325,10 @@ ldap_set_option(
                        ld->ld_error = err;
                } return 0;
 
+       case LDAP_OPT_DEBUG_LEVEL:
+               lo->ldo_debug = * (int *) invalue;
+               return 0;
+
        default:
                /* bad param */
                break;