[Freeswitch-svn] [commit] r7461 - freeswitch/branches/anthonyl/spidermonkey-stuff/src

Freeswitch SVN anthonyl at freeswitch.org
Fri Feb 1 10:45:09 EST 2008


Author: anthonyl
Date: Fri Feb  1 10:45:09 2008
New Revision: 7461

Modified:
   freeswitch/branches/anthonyl/spidermonkey-stuff/src/switch_core_directory.c

Log:
this is needed to support adding ldap entires from within the directory interface javascript code or the directory interface itself.


Modified: freeswitch/branches/anthonyl/spidermonkey-stuff/src/switch_core_directory.c
==============================================================================
--- freeswitch/branches/anthonyl/spidermonkey-stuff/src/switch_core_directory.c	(original)
+++ freeswitch/branches/anthonyl/spidermonkey-stuff/src/switch_core_directory.c	Fri Feb  1 10:45:09 2008
@@ -84,3 +84,14 @@
 	return status;
 }
 
+SWITCH_DECLARE(switch_status_t) switch_core_directory_append(switch_directory_handle_t *dh)
+{
+	switch_status_t status;
+
+	status = dh->directory_interface->directory_append(dh);
+	
+	if (switch_test_flag(dh, SWITCH_DIRECTORY_FLAG_FREE_POOL)) {
+		switch_core_destory_memory_poll(&dh->memory_poll);
+	}
+	return status;
+}



More information about the Freeswitch-svn mailing list