doxygen cleanups\changes.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@319 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-01-10 20:10:38 +00:00
parent 1c0683f59a
commit ba43278132
6 changed files with 130 additions and 158 deletions

View File

@ -80,39 +80,39 @@ extern "C" {
* - Linux (x86) * - Linux (x86)
* - Windows (MSVC 2005) * - Windows (MSVC 2005)
* - Mac OS X * - Mac OS X
* - FreeBSD * - OpenBSD
* *
* \section depends Dependencies * \section depends Dependencies
* Freeswitch makes heavy use of external libraries. * Freeswitch makes heavy use of external libraries.
* *
* libFreeSwitch: * libFreeSwitch:
* APR (http://apr.apache.org) * - APR (http://apr.apache.org)
* SQLite (http://www.sqlite.org) * - SQLite (http://www.sqlite.org)
* libresample (http://ccrma-www.stanford.edu/~jos/resample/Free_Resampling_Software.html) * - libresample (http://ccrma-www.stanford.edu/~jos/resample/Free_Resampling_Software.html)
* *
* Additionally, the experimental external modules make use of several external modules: * Additionally, the experimental external modules make use of several external modules:
* *
* mod_Exosip: * mod_Exosip:
* JRTPlib (http://research.edm.luc.ac.be/jori/jrtplib/jrtplib.html) * - JRTPlib (http://research.edm.luc.ac.be/jori/jrtplib/jrtplib.html)
* eXoSIP (http://savannah.nongnu.org/projects/exosip/) * - eXoSIP (http://savannah.nongnu.org/projects/exosip/)
* *
* mod_iaxchan: * mod_iaxchan:
* libiax2 (forked from http://iaxclient.sourceforge.net/) * - libiax2 (forked from http://iaxclient.sourceforge.net/)
* *
* mod_speexcodec * mod_speexcodec
* libspeex (http://www.speex.org/) * - libspeex (http://www.speex.org/)
* *
* mod_portaudio * mod_portaudio
* portaudio (http://www.portaudio.com/) * - portaudio (http://www.portaudio.com/)
* *
* mod_woomerachan * mod_woomerachan
* openh323\woomera (http://www.voxgratia.org/) * - openh323/woomera (http://www.voxgratia.org/)
* *
* mod_xmpp_event * mod_xmpp_event
* iksemel (http://iksemel.jabberstudio.org/) * - iksemel (http://iksemel.jabberstudio.org/)
* *
* mod_sndfile * mod_sndfile
* libsndfile (http://www.mega-nerd.com/libsndfile/) * - libsndfile (http://www.mega-nerd.com/libsndfile/)
* *
* \section license Licensing * \section license Licensing
* *

View File

@ -29,12 +29,10 @@
* switch_buffer.h -- Data Buffering Code * switch_buffer.h -- Data Buffering Code
* *
*/ */
/*! \file switch_buffer.h /**
\brief Data Buffering Code * @file switch_buffer.h
* @brief Data Buffering Code
The purpose of this module is to make a plain buffering interface that can be used for read/write buffers * @see switch_buffer
throughout the application. The first implementation was done to provide the functionality and the interface
and I think it can be optimized under the hood as we go using bucket brigades and/or ring buffering techniques.
*/ */
#ifndef SWITCH_BUFFER_H #ifndef SWITCH_BUFFER_H
@ -49,6 +47,9 @@ extern "C" {
/** /**
* @defgroup switch_buffer Buffer Routines * @defgroup switch_buffer Buffer Routines
* @ingroup FREESWITCH * @ingroup FREESWITCH
* The purpose of this module is to make a plain buffering interface that can be used for read/write buffers
* throughout the application. The first implementation was done to provide the functionality and the interface
* and I think it can be optimized under the hood as we go using bucket brigades and/or ring buffering techniques.
* @{ * @{
*/ */

View File

@ -29,22 +29,26 @@
* switch_caller.h -- Caller Identification * switch_caller.h -- Caller Identification
* *
*/ */
/*! \file switch_caller.h /**
\brief Caller Identification * @file switch_caller.h
* @brief Caller Identification
This file implements a caller profile which is a group of information about a connected endpoint * @see caller
such as common caller id and other useful information such as ip address and destination number. */
A connected session's channel has up to 3 profiles: It's own, that of the session who spawned it /**
and that of the session it has spawned. * @defgroup caller Caller Identity / Dialplan
* @ingroup FREESWITCH
In addition, this file implements an abstract interface for extensions and applications. *
A connected session's channel has one extension object which may have one or more applications * This module implements a caller profile which is a group of information about a connected endpoint
linked into a stack which will be executed in order by the session's state machine when the * such as common caller id and other useful information such as ip address and destination number.
current state is CS_EXECUTE. * A connected session's channel has up to 3 profiles: It's own, that of the session who spawned it
* and that of the session it has spawned.
*
* In addition, this module implements an abstract interface for extensions and applications.
* A connected session's channel has one extension object which may have one or more applications
* linked into a stack which will be executed in order by the session's state machine when the
* current state is CS_EXECUTE.
* @{
*/ */
///\defgroup caller Caller Identity / Dialplan
///\ingroup FREESWITCH
///\{
#ifndef SWITCH_CALLER_H #ifndef SWITCH_CALLER_H
#define SWITCH_CALLER_H #define SWITCH_CALLER_H
@ -168,7 +172,7 @@ extern "C" {
} }
#endif #endif
///\} /** @} */
#endif #endif

View File

@ -29,11 +29,10 @@
* switch_channel.h -- Media Channel Interface * switch_channel.h -- Media Channel Interface
* *
*/ */
/*! \file switch_channel.h /**
\brief Media Channel Interface * @file switch_channel.h
* @brief Media Channel Interface
The switch_channel object is a private entity that belongs to a session that contains the call * @see switch_channel
specific information such as the call state, variables, caller profiles and DTMF queue
*/ */
#ifndef SWITCH_CHANNEL_H #ifndef SWITCH_CHANNEL_H
@ -45,10 +44,12 @@ extern "C" {
#include <switch.h> #include <switch.h>
/*! /**
\defgroup chans Channel Functions * @defgroup switch_channel Channel Functions
\ingroup FREESWITCH * @ingroup FREESWITCH
\{ * The switch_channel object is a private entity that belongs to a session that contains the call
* specific information such as the call state, variables, caller profiles and DTMF queue
* @{
*/ */
/*! /*!
@ -283,7 +284,7 @@ SWITCH_DECLARE(void) switch_channel_event_set_data(switch_channel *channel, swit
// These may go away // These may go away
SWITCH_DECLARE(switch_status) switch_channel_set_raw_mode (switch_channel *channel, int freq, int bits, int channels, int ms, int kbps); SWITCH_DECLARE(switch_status) switch_channel_set_raw_mode (switch_channel *channel, int freq, int bits, int channels, int ms, int kbps);
SWITCH_DECLARE(switch_status) switch_channel_get_raw_mode (switch_channel *channel, int *freq, int *bits, int *channels, int *ms, int *kbps); SWITCH_DECLARE(switch_status) switch_channel_get_raw_mode (switch_channel *channel, int *freq, int *bits, int *channels, int *ms, int *kbps);
///\} /** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -29,26 +29,29 @@
* switch_config.h -- Configuration File Parser * switch_config.h -- Configuration File Parser
* *
*/ */
/*! \file switch_config.h /**
\brief Basic Configuration File Parser * @file switch_config.h
* @brief Basic Configuration File Parser
This module implements a basic interface and file format parser it may be depricated in favor of database entries * @see config
or expanded to tie to external handlers in the future as necessary. */
<pre>
/**
EXAMPLE * @defgroup config Config File Parser
* @ingroup FREESWITCH
[category1] * This module implements a basic interface and file format parser it may be depricated in favor of database entries
var1 => val1 * or expanded to tie to external handlers in the future as necessary.
var2 => val2 * <pre>
\# lines that begin with \# are comments *
\#var3 => val3 * EXAMPLE
</pre> *
* [category1]
* var1 => val1
* var2 => val2
* \# lines that begin with \# are comments
* \#var3 => val3
* </pre>
* @{
*/ */
///\defgroup confg Config File Parser
///\ingroup FREESWITCH
///\{
#ifndef SWITCH_CONFIG_H #ifndef SWITCH_CONFIG_H
#define SWITCH_CONFIG_H #define SWITCH_CONFIG_H
@ -98,6 +101,6 @@ SWITCH_DECLARE(int) switch_config_next_pair(switch_config *cfg, char **var, char
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
///\} /** @} */
#endif #endif

View File

@ -127,14 +127,6 @@ DoxyDefine(int switch_core_db_bind_blob(sqlite3_stmt*, int, const void*, int n,
* the parameters name. If the same named parameter occurs more than * the parameters name. If the same named parameter occurs more than
* once, it is assigned the same index each time. * once, it is assigned the same index each time.
* *
* The fifth parameter to sqlite3_bind_blob(), sqlite3_bind_text(), and
* sqlite3_bind_text16() is a destructor used to dispose of the BLOB or
* text after SQLite has finished with it. If the fifth argument is the
* special value SQLITE_STATIC, then the library assumes that the information
* is in static, unmanaged space and does not need to be freed. If the
* fifth argument has the value SQLITE_TRANSIENT, then SQLite makes its
* own private copy of the data.
*
* The sqlite3_bind_* routine must be called before switch_core_db_step() after * The sqlite3_bind_* routine must be called before switch_core_db_step() after
* an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are * an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are
* interpreted as NULL. * interpreted as NULL.
@ -158,14 +150,6 @@ DoxyDefine(int switch_core_db_bind_double(sqlite3_stmt*, int, double);)
* the parameters name. If the same named parameter occurs more than * the parameters name. If the same named parameter occurs more than
* once, it is assigned the same index each time. * once, it is assigned the same index each time.
* *
* The fifth parameter to sqlite3_bind_blob(), sqlite3_bind_text(), and
* sqlite3_bind_text16() is a destructor used to dispose of the BLOB or
* text after SQLite has finished with it. If the fifth argument is the
* special value SQLITE_STATIC, then the library assumes that the information
* is in static, unmanaged space and does not need to be freed. If the
* fifth argument has the value SQLITE_TRANSIENT, then SQLite makes its
* own private copy of the data.
*
* The sqlite3_bind_* routine must be called before switch_core_db_step() after * The sqlite3_bind_* routine must be called before switch_core_db_step() after
* an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are * an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are
* interpreted as NULL. * interpreted as NULL.
@ -189,14 +173,6 @@ DoxyDefine(int switch_core_db_bind_int(sqlite3_stmt*, int, int);)
* the parameters name. If the same named parameter occurs more than * the parameters name. If the same named parameter occurs more than
* once, it is assigned the same index each time. * once, it is assigned the same index each time.
* *
* The fifth parameter to sqlite3_bind_blob(), sqlite3_bind_text(), and
* sqlite3_bind_text16() is a destructor used to dispose of the BLOB or
* text after SQLite has finished with it. If the fifth argument is the
* special value SQLITE_STATIC, then the library assumes that the information
* is in static, unmanaged space and does not need to be freed. If the
* fifth argument has the value SQLITE_TRANSIENT, then SQLite makes its
* own private copy of the data.
*
* The sqlite3_bind_* routine must be called before switch_core_db_step() after * The sqlite3_bind_* routine must be called before switch_core_db_step() after
* an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are * an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are
* interpreted as NULL. * interpreted as NULL.
@ -220,14 +196,6 @@ DoxyDefine(int switch_core_db_bind_int64(sqlite3_stmt*, int, sqlite_int64);)
* the parameters name. If the same named parameter occurs more than * the parameters name. If the same named parameter occurs more than
* once, it is assigned the same index each time. * once, it is assigned the same index each time.
* *
* The fifth parameter to sqlite3_bind_blob(), sqlite3_bind_text(), and
* sqlite3_bind_text16() is a destructor used to dispose of the BLOB or
* text after SQLite has finished with it. If the fifth argument is the
* special value SQLITE_STATIC, then the library assumes that the information
* is in static, unmanaged space and does not need to be freed. If the
* fifth argument has the value SQLITE_TRANSIENT, then SQLite makes its
* own private copy of the data.
*
* The sqlite3_bind_* routine must be called before switch_core_db_step() after * The sqlite3_bind_* routine must be called before switch_core_db_step() after
* an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are * an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are
* interpreted as NULL. * interpreted as NULL.
@ -313,14 +281,6 @@ DoxyDefine(int switch_core_db_bind_text16(sqlite3_stmt*, int, const void*, int,
* the parameters name. If the same named parameter occurs more than * the parameters name. If the same named parameter occurs more than
* once, it is assigned the same index each time. * once, it is assigned the same index each time.
* *
* The fifth parameter to sqlite3_bind_blob(), sqlite3_bind_text(), and
* sqlite3_bind_text16() is a destructor used to dispose of the BLOB or
* text after SQLite has finished with it. If the fifth argument is the
* special value SQLITE_STATIC, then the library assumes that the information
* is in static, unmanaged space and does not need to be freed. If the
* fifth argument has the value SQLITE_TRANSIENT, then SQLite makes its
* own private copy of the data.
*
* The sqlite3_bind_* routine must be called before switch_core_db_step() after * The sqlite3_bind_* routine must be called before switch_core_db_step() after
* an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are * an switch_core_db_prepare() or sqlite3_reset(). Unbound parameterss are
* interpreted as NULL. * interpreted as NULL.
@ -329,22 +289,23 @@ DoxyDefine(int switch_core_db_bind_value(sqlite3_stmt*, int, const sqlite3_value
#define switch_core_db_bind_value sqlite3_bind_value #define switch_core_db_bind_value sqlite3_bind_value
/** /**
* Return the number of parameters in a compiled SQL statement. This * @return The number of parameters in a compiled SQL statement.
* routine was added to support DBD::SQLite. * @remark This routine was added to support DBD::SQLite.
*/ */
DoxyDefine(int switch_core_db_bind_parameter_count(sqlite3_stmt*);) DoxyDefine(int switch_core_db_bind_parameter_count(sqlite3_stmt*);)
#define switch_core_db_bind_parameter_count sqlite3_bind_parameter_count #define switch_core_db_bind_parameter_count sqlite3_bind_parameter_count
/** /**
* Return the index of a parameter with the given name. The name * @return the index of a parameter with the given name. If no parameter with the
* must match exactly. If no parameter with the given name is found, * given name is found, return 0.
* return 0. * @remark The name must match exactly.
*/ */
DoxyDefine(int switch_core_db_bind_parameter_index(sqlite3_stmt*, const char *zName);) DoxyDefine(int switch_core_db_bind_parameter_index(sqlite3_stmt*, const char *zName);)
#define switch_core_db_bind_parameter_index sqlite3_bind_parameter_index #define switch_core_db_bind_parameter_index sqlite3_bind_parameter_index
/** /**
* Return the name of the i-th parameter. Ordinary parameters "?" are * @return the name of the i-th parameter.
* @remark Ordinary parameters "?" are
* nameless and a NULL is returned. For parameters of the form :AAA or * nameless and a NULL is returned. For parameters of the form :AAA or
* $VVV the complete text of the parameter name is returned, including * $VVV the complete text of the parameter name is returned, including
* the initial ":" or "$". NULL is returned if the index is out of range. * the initial ":" or "$". NULL is returned if the index is out of range.
@ -455,14 +416,16 @@ DoxyDefine(int switch_core_db_collation_needed(
/** /**
* The next group of routines returns information about the information * The next group of routines returns information about the information
* in a single column of the current result row of a query. In every * in a single column of the current result row of a query.
* case the first parameter is a pointer to the SQL statement that is being *
* executed (the sqlite_stmt* that was returned from switch_core_db_prepare()) and * @param stmt a pointer to the SQL statement that is being
* the second argument is the index of the column for which information * executed (the sqlite_stmt* that was returned from switch_core_db_prepare())
*
* @param iCol the index of the column for which information
* should be returned. iCol is zero-indexed. The left-most column as an * should be returned. iCol is zero-indexed. The left-most column as an
* index of 0. * index of 0.
* *
* If the SQL statement is not currently point to a valid row, or if the * @remark If the SQL statement is not currently point to a valid row, or if the
* the colulmn index is out of range, the result is undefined. * the colulmn index is out of range, the result is undefined.
* *
* These routines attempt to convert the value where appropriate. For * These routines attempt to convert the value where appropriate. For
@ -490,9 +453,9 @@ DoxyDefine(int switch_core_db_collation_needed(
* BLOB FLOAT Convert to TEXT then use atof() * BLOB FLOAT Convert to TEXT then use atof()
* BLOB TEXT Add a "\000" terminator if needed * BLOB TEXT Add a "\000" terminator if needed
* *
* Return the value of a BLOB. * @return the value of a BLOB.
*/ */
DoxyDefine(const void *switch_core_db_column_blob(sqlite3_stmt*, int iCol);) DoxyDefine(const void *switch_core_db_column_blob(sqlite3_stmt *stmt, int iCol);)
#define switch_core_db_column_blob sqlite3_column_blob #define switch_core_db_column_blob sqlite3_column_blob
/** /**