aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-19 10:46:12 +0000
committermvanbaak <mvanbaak@f38db490-d61c-443f-a65b-d21fe96a405b>2008-07-19 10:46:12 +0000
commitecc8396c544501bfe0874ba9c77595ec83edc461 (patch)
tree0f64728cd5df971367d9b7f90fad305b7f838571
parentb29024fb29d0b3064f69fb6939a1e95f6d4f09f2 (diff)
fix a couple of comments in sqlite resource driver.
(closes issue #13110) Reported by: gknispel_proformatique Patches: res_config_sqlite_comments.patch uploaded by gknispel (license 261) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@132277 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_config_sqlite.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/res/res_config_sqlite.c b/res/res_config_sqlite.c
index 77d2f5875..3faff62e2 100644
--- a/res/res_config_sqlite.c
+++ b/res/res_config_sqlite.c
@@ -27,19 +27,13 @@
* res_config_sqlite is a module for the Asterisk Open Source PBX to
* support SQLite 2 databases. It can be used to fetch configuration
* from a database (static configuration files and/or using the Asterisk
- * RealTime Architecture - ARA).
- * It can also be used to log CDR entries. Finally, it can be used for simple
- * queries in the Dialplan. Note that Asterisk already comes with a module
- * named cdr_sqlite. There are two reasons for including it in res_config_sqlite:
+ * RealTime Architecture - ARA). It can also be used to log CDR entries.
+ * Note that Asterisk already comes with a module named cdr_sqlite.
+ * There are two reasons for including it in res_config_sqlite:
* the first is that rewriting it was a training to learn how to write a
* simple module for Asterisk, the other is to have the same database open for
* all kinds of operations, which improves reliability and performance.
*
- * There is already a module for SQLite 3 (named res_sqlite3) in the Asterisk
- * addons. res_config_sqlite was developed because we, at Proformatique, are using
- * PHP 4 in our embedded systems, and PHP 4 has no stable support for SQLite 3
- * at this time. We also needed RealTime support.
- *
* \section conf_sec Configuration
*
* The main configuration file is res_config_sqlite.conf. It must be readable or
@@ -324,7 +318,7 @@ static int add_rt_cfg_entry(void *arg, int argc, char **argv,
char **columnNames);
/*!
- * Asterisk callback function for RealTime configuration.
+ * \brief Asterisk callback function for RealTime configuration.
*
* Asterisk will call this function each time it requires a variable
* through the RealTime architecture. ap is a list of parameters and