FS-4883 --resolve I can add this but if it leads to issues in the loaded code we may not have resoures to investigate

This commit is contained in:
Anthony Minessale
2012-11-29 08:58:44 -06:00
parent a9267b1faf
commit 081e261956
10 changed files with 135 additions and 0 deletions

View File

@@ -2360,6 +2360,13 @@ SWITCH_DECLARE(switch_status_t) switch_cache_db_execute_sql_callback(switch_cach
*/
SWITCH_DECLARE(int) switch_cache_db_affected_rows(switch_cache_db_handle_t *dbh);
/*!
\brief load an external extension to db
\param [in] dbh The handle
\param [out] the path to the extension
*/
SWITCH_DECLARE(int) switch_cache_db_load_extension(switch_cache_db_handle_t *dbh, const char *extension);
/*!
\brief Provides some feedback as to the status of the db connection pool
\param [in] stream stream for status

View File

@@ -462,6 +462,11 @@ SWITCH_DECLARE(void) switch_core_db_free(char *z);
*/
SWITCH_DECLARE(int) switch_core_db_changes(switch_core_db_t *db);
/**
* Call this routine to load an external extension
*/
SWITCH_DECLARE(int) switch_core_db_load_extension(switch_core_db_t *db, const char *extension);
/** Return values for switch_core_db_exec() and switch_core_db_step()*/
#define SWITCH_CORE_DB_OK 0 /* Successful result */
/* beginning-of-error-codes */