summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-04-11 13:41:17 +0000
committerSteve Murphy <murf@digium.com>2007-04-11 13:41:17 +0000
commit69bb679e14fcde1c7f79b573d2fc2c00e2543eec (patch)
tree65c20d4078ecda378ae06b50bcca59b72be8c5c8 /include
parent47dd5a15af69b270922eeda8da8f09e34a1271e8 (diff)
via 8118, a RealTime upgrade to make RT a complete storage abstraction. The store/destroy mechanisms needed these missing peices.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asterisk/config.h b/include/asterisk/config.h
index f7b14af1b..4ebf7b63b 100644
--- a/include/asterisk/config.h
+++ b/include/asterisk/config.h
@@ -156,6 +156,23 @@ struct ast_config *ast_load_realtime_multientry(const char *family, ...);
*/
int ast_update_realtime(const char *family, const char *keyfield, const char *lookup, ...);
+/*! \brief Create realtime configuration
+ * \param family which family/config to be created
+ * This function is used to create a parameter in realtime configuration space.
+ *
+ */
+int ast_store_realtime(const char *family, ...);
+
+/*! \brief Destroy realtime configuration
+ * \param family which family/config to be destroyed
+ * \param keyfield which field to use as the key
+ * \param lookup which value to look for in the key field to match the entry.
+ * This function is used to destroy an entry in realtime configuration space.
+ * Additional params are used as keys.
+ *
+ */
+int ast_destroy_realtime(const char *family, const char *keyfield, const char *lookup, ...);
+
/*! \brief Check if realtime engine is configured for family
* returns 1 if family is configured in realtime and engine exists
* \param family which family/config to be checked