mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@37170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -108,14 +108,14 @@ static
|
|||||||
#endif
|
#endif
|
||||||
struct ast_custom_function db_function = {
|
struct ast_custom_function db_function = {
|
||||||
.name = "DB",
|
.name = "DB",
|
||||||
.synopsis = "Read or Write from/to the Asterisk database",
|
.synopsis = "Read from or write to the Asterisk database",
|
||||||
.syntax = "DB(<family>/<key>)",
|
.syntax = "DB(<family>/<key>)",
|
||||||
.desc = "This function will read or write a value from/to the Asterisk database.\n"
|
.desc =
|
||||||
"DB(...) will read a value from the database, while DB(...)=value\n"
|
"This function will read from or write a value to the Asterisk database. On a\n"
|
||||||
"will write a value to the database. On a read, this function\n"
|
"read, this function returns the corresponding value from the database, or blank\n"
|
||||||
"returns the value from the datase, or NULL if it does not exist.\n"
|
"if it does not exist. Reading a database value will also set the variable\n"
|
||||||
"On a write, this function will always return NULL. Reading a database value\n"
|
"DB_RESULT. If you wish to find out if an entry exists, use the DB_EXISTS\n"
|
||||||
"will also set the variable DB_RESULT.\n",
|
"function.\n",
|
||||||
.read = function_db_read,
|
.read = function_db_read,
|
||||||
.write = function_db_write,
|
.write = function_db_write,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user