diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-11-19 01:02:45 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-11-19 01:02:45 +0000 |
commit | afb571ba8fbc46cbe6c6d22421e32a13e66a6cbf (patch) | |
tree | 60217ccc3d23a25a5ad3269a0866e94d93a78a52 /include/asterisk/logger.h | |
parent | 07a22680ee54082a5a109d0c8b2fda5ea17ca9d8 (diff) |
Starting with a change to ensure that ast_verbose() preserves ABI compatibility
in 1.6.1 (as compared to 1.6.0 and versions of 1.4), this change also
deprecates the use of Asterisk with FreeBSD 4, given the central use of va_copy
in core functions. va_copy() is C99, anyway, and we already require C99 for
other purposes, so this isn't really a big change anyway. This change also
simplifies some of the core ast_str_* functions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/logger.h')
-rw-r--r-- | include/asterisk/logger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h index 7d03d8894..91be73181 100644 --- a/include/asterisk/logger.h +++ b/include/asterisk/logger.h @@ -80,6 +80,10 @@ void __ast_verbose(const char *file, int line, const char *func, const char *fmt #define ast_verbose(...) __ast_verbose(__FILE__, __LINE__, __PRETTY_FUNCTION__, __VA_ARGS__) +void __ast_verbose_ap(const char *file, int line, const char *func, const char *fmt, va_list ap); + +#define ast_verbose_ap(fmt, ap) __ast_verbose_ap(__FILE__, __LINE__, __PRETTY_FUNCTION__, fmt, ap) + void ast_child_verbose(int level, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); |