summaryrefslogtreecommitdiff
path: root/include/asterisk/logger.h
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-03-29 19:59:30 +0000
committerJonathan Rose <jrose@digium.com>2012-03-29 19:59:30 +0000
commitd501c2ea2d56ece966b6615799dd7b66198176dd (patch)
tree33ad80dfb8a5751b7d76e748621055083315251d /include/asterisk/logger.h
parentbf994f0e04696ba11ce0ec81df7880d61ef9c779 (diff)
undoing 360785 due to merging mistake
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@360786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/logger.h')
-rw-r--r--include/asterisk/logger.h68
1 files changed, 0 insertions, 68 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index a49544963..c7f260c49 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -60,24 +60,6 @@ extern "C" {
void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
__attribute__((format(printf, 5, 6)));
-/* XXX needs documentation */
-struct ast_callid;
-
-/*! \brief Used for sending a log message with a known call_id
- This is a modified logger function which is functionally identical to the above logger function,
- it just include a call_id argument as well. If NULL is specified here, no attempt will be made to
- join the log message with a call_id.
-
- \param level Type of log event
- \param file Will be provided by the AST_LOG_* macro
- \param line Will be provided by the AST_LOG_* macro
- \param function Will be provided by the AST_LOG_* macro
- \param callid This is the ast_callid that is associated with the log message. May be NULL.
- \param fmt This is what is important. The format is the same as your favorite breed of printf. You know how that works, right? :-)
-*/
-void ast_log_callid(int level, const char *file, int line, const char *function, struct ast_callid *callid, const char *fmt, ...)
- __attribute__((format(printf, 6, 7)));
-
void ast_backtrace(void);
/*! \brief Reload logger without rotating log files */
@@ -234,56 +216,6 @@ int ast_logger_register_level(const char *name);
void ast_logger_unregister_level(const char *name);
/*!
- * \brief factory function to create a new uniquely identifying callid.
- *
- * \retval ast_callid struct pointer containing the call id
- *
- * \note The newly created callid will be referenced upon creation and this function should be
- * paired with a call to ast_callid_unref()
- */
-struct ast_callid *ast_create_callid(void);
-
-/*!
- * \brief extracts the callerid from the thread
- *
- * \retval ast_callid reference to call_id related to the thread
- * \retval NULL if no call_id is present in the thread
- *
- * This reference must be unreffed before it loses scope to prevent memory leaks.
- */
-struct ast_callid *ast_read_threadstorage_callid(void);
-
-/*!
- * \brief Increase callid reference count
- *
- * \param c the ast_callid
- *
- * \retval c always
- */
-#define ast_callid_ref(c) ({ ao2_ref(c, +1); (c); })
-
-/*!
- * \brief Decrease callid reference count
- *
- * \param c the ast_callid
- *
- * \retval NULL always
- */
-#define ast_callid_unref(c) ({ ao2_ref(c, -1); (NULL); })
-
-/*!
- * \brief Adds a known callid to thread storage of the calling thread
- *
- * \retval 0 - success
- * \retval non-zero - failure
- */
-int ast_callid_threadassoc_add(struct ast_callid *callid);
-
-/*
- * May need a function to clean the threadstorage if we want to repurpose a thread.
- */
-
-/*!
* \brief Send a log message to a dynamically registered log level
* \param level The log level to send the message to
*