diff options
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 65 |
1 files changed, 0 insertions, 65 deletions
@@ -181,69 +181,4 @@ SRD_PRIV int srd_log(int loglevel, const char *format, ...) return ret; } -/** @private */ -SRD_PRIV int srd_spew(const char *format, ...) -{ - int ret; - va_list args; - - va_start(args, format); - ret = srd_log_cb(srd_log_cb_data, SRD_LOG_SPEW, format, args); - va_end(args); - - return ret; -} - -/** @private */ -SRD_PRIV int srd_dbg(const char *format, ...) -{ - int ret; - va_list args; - - va_start(args, format); - ret = srd_log_cb(srd_log_cb_data, SRD_LOG_DBG, format, args); - va_end(args); - - return ret; -} - -/** @private */ -SRD_PRIV int srd_info(const char *format, ...) -{ - int ret; - va_list args; - - va_start(args, format); - ret = srd_log_cb(srd_log_cb_data, SRD_LOG_INFO, format, args); - va_end(args); - - return ret; -} - -/** @private */ -SRD_PRIV int srd_warn(const char *format, ...) -{ - int ret; - va_list args; - - va_start(args, format); - ret = srd_log_cb(srd_log_cb_data, SRD_LOG_WARN, format, args); - va_end(args); - - return ret; -} - -/** @private */ -SRD_PRIV int srd_err(const char *format, ...) -{ - int ret; - va_list args; - - va_start(args, format); - ret = srd_log_cb(srd_log_cb_data, SRD_LOG_ERR, format, args); - va_end(args); - - return ret; -} - /** @} */ |