[Asterisk-cvs] asterisk/include/asterisk config.h, 1.11, 1.12 config_pvt.h, 1.3, 1.4

markster at lists.digium.com markster at lists.digium.com
Fri Oct 8 14:19:39 CDT 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv25822/include/asterisk

Modified Files:
	config.h config_pvt.h 
Log Message:
Minor config updates, add module counts (bug #2593)


Index: config.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/config.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- config.h	8 Oct 2004 05:36:23 -0000	1.11
+++ config.h	8 Oct 2004 18:20:49 -0000	1.12
@@ -116,6 +116,19 @@
  */
 struct ast_variable *ast_load_realtime(const char *family, ...);
 
+//! Retrieve realtime configuration
+/*!
+ * \param family which family/config to lookup
+ * \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 will use builtin configuration backends to look up a particular 
+ * entity in realtime and return a variable list of its parameters. Unlike
+ * the ast_load_realtime, this function can return more than one entry and
+ * is thus stored inside a taditional ast_config structure rather than 
+ * just returning a linked list of variables.
+ */
+struct ast_config *ast_load_realtime_multientry(const char *family, ...);
+
 //! Update realtime configuration
 /*!
  * \param family which family/config to be updated

Index: config_pvt.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/config_pvt.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- config_pvt.h	7 Oct 2004 19:57:50 -0000	1.3
+++ config_pvt.h	8 Oct 2004 18:20:49 -0000	1.4
@@ -31,6 +31,7 @@
 	char name[CONFIG_KEYWORD_STRLEN];
 	struct ast_config *(*static_func)(const char *database, const char *table, const char *, struct ast_config *,struct ast_category **,struct ast_variable **,int);
 	struct ast_variable *(*realtime_func)(const char *database, const char *table, va_list ap);
+	struct ast_config *(*realtime_multi_func)(const char *database, const char *table, va_list ap);
 	int (*update_func)(const char *database, const char *table, const char *keyfield, const char *entity, va_list ap);
 	struct ast_config_reg *next;
 };




More information about the svn-commits mailing list