Skip to content
Snippets Groups Projects
Commit b9d57e8e authored by Olle Johansson's avatar Olle Johansson
Browse files

Doxygen updates

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 42fb1341
Branches
Tags
No related merge requests found
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
* \arg \ref AstENUM : The IETF way to redirect from phone numbers to VoIP calls * \arg \ref AstENUM : The IETF way to redirect from phone numbers to VoIP calls
* \arg \ref AstHTTP * \arg \ref AstHTTP
* \arg \ref AstSpeech * \arg \ref AstSpeech
* \arg \ref DataStores
* \arg \ref ConfigFiles * \arg \ref ConfigFiles
* \arg \ref SoundFiles included in the Asterisk distribution * \arg \ref SoundFiles included in the Asterisk distribution
* \arg \ref AstCREDITS : A Thank You to contributors * \arg \ref AstCREDITS : A Thank You to contributors
...@@ -65,6 +64,10 @@ ...@@ -65,6 +64,10 @@
/*! \page AstAPI Asterisk API /*! \page AstAPI Asterisk API
* \section Asteriskapi Asterisk API * \section Asteriskapi Asterisk API
* Some generic documents on the Asterisk architecture * Some generic documents on the Asterisk architecture
*
* \arg \ref AstThreadStorage
* \arg \ref DataStores
*
* \subsection model_txt Generic Model * \subsection model_txt Generic Model
* \verbinclude model.txt * \verbinclude model.txt
* \subsection channel_txt Channels * \subsection channel_txt Channels
......
...@@ -19,8 +19,12 @@ ...@@ -19,8 +19,12 @@
/*! /*!
* \file threadstorage.h * \file threadstorage.h
* \author Russell Bryant <russell@digium.com> * \author Russell Bryant <russell@digium.com>
*
* \brief Definitions to aid in the use of thread local storage * \brief Definitions to aid in the use of thread local storage
*/
/*!
* \page AstThreadStorage The Asterisk Thread Storage API
*
* *
* The POSIX threads (pthreads) API provides the ability to define thread * The POSIX threads (pthreads) API provides the ability to define thread
* specific data. The functions and structures defined here are intended * specific data. The functions and structures defined here are intended
...@@ -34,6 +38,8 @@ ...@@ -34,6 +38,8 @@
* 200 times a second). Instead of doing the equivalent of that many calls * 200 times a second). Instead of doing the equivalent of that many calls
* to malloc() and free() per second, thread local storage is used to keep a * to malloc() and free() per second, thread local storage is used to keep a
* list of unused frame structures so that they can be continuously reused. * list of unused frame structures so that they can be continuously reused.
*
* - \ref threadstorage.h
*/ */
#ifndef ASTERISK_THREADSTORAGE_H #ifndef ASTERISK_THREADSTORAGE_H
...@@ -86,7 +92,7 @@ struct ast_threadstorage { ...@@ -86,7 +92,7 @@ struct ast_threadstorage {
* *
* Example usage: * Example usage:
* \code * \code
* AST_THREADSTORAGE(my_buf, my_init, my_cleanup); * AST_THREADSTORAGE_CUSTOM(my_buf, my_init, my_cleanup);
* \endcode * \endcode
*/ */
#define AST_THREADSTORAGE_CUSTOM(name, c_init, c_cleanup) \ #define AST_THREADSTORAGE_CUSTOM(name, c_init, c_cleanup) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment