+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
#include "portable.h"
#include <stdlib.h>
if(option == LBER_OPT_BER_DEBUG) {
lber_int_debug = * (int *) invalue;
return LBER_OPT_SUCCESS;
+
+ } else if(option == LBER_OPT_LOG_PRINT_FN) {
+ lber_pvt_log_print = (BER_LOG_PRINT_FN) invalue;
+ return LBER_OPT_SUCCESS;
}
return LBER_OPT_ERROR;