mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-17 12:17:00 +00:00
Add switch_vmprintf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12391 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c8b0576cbb
commit
790f2c9b64
@ -541,6 +541,11 @@ SWITCH_DECLARE(int) switch_core_db_changes(switch_core_db_t *db);
|
|||||||
*/
|
*/
|
||||||
SWITCH_DECLARE(char *) switch_mprintf(const char *zFormat, ...);
|
SWITCH_DECLARE(char *) switch_mprintf(const char *zFormat, ...);
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \see switch_mprintf
|
||||||
|
*/
|
||||||
|
SWITCH_DECLARE(char *) switch_vmprintf(const char *zFormat, va_list ap);
|
||||||
|
|
||||||
SWITCH_END_EXTERN_C
|
SWITCH_END_EXTERN_C
|
||||||
#endif
|
#endif
|
||||||
/* For Emacs:
|
/* For Emacs:
|
||||||
|
@ -180,6 +180,12 @@ SWITCH_DECLARE(char *) switch_mprintf(const char *zFormat, ...)
|
|||||||
return z;
|
return z;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SWITCH_DECLARE(char *) switch_vmprintf(const char *zFormat, va_list ap)
|
||||||
|
{
|
||||||
|
|
||||||
|
return sqlite3_vmprintf(zFormat, ap);
|
||||||
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(switch_core_db_t *) switch_core_db_open_file(char *filename)
|
SWITCH_DECLARE(switch_core_db_t *) switch_core_db_open_file(char *filename)
|
||||||
{
|
{
|
||||||
switch_core_db_t *db;
|
switch_core_db_t *db;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user