[asterisk-commits] murf: branch juggie/NoLossCDR r86535 - /team/juggie/NoLossCDR/res/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Oct 19 13:06:57 CDT 2007
Author: murf
Date: Fri Oct 19 13:06:57 2007
New Revision: 86535
URL: http://svn.digium.com/view/asterisk?view=rev&rev=86535
Log:
the minimal changes that will allow res_config_sqlite.c to compile
Modified:
team/juggie/NoLossCDR/res/res_config_sqlite.c
Modified: team/juggie/NoLossCDR/res/res_config_sqlite.c
URL: http://svn.digium.com/view/asterisk/team/juggie/NoLossCDR/res/res_config_sqlite.c?view=diff&rev=86535&r1=86534&r2=86535
==============================================================================
--- team/juggie/NoLossCDR/res/res_config_sqlite.c (original)
+++ team/juggie/NoLossCDR/res/res_config_sqlite.c Fri Oct 19 13:06:57 2007
@@ -248,7 +248,7 @@
* \retval 0 on success
* \retval 1 if an error occurred
*/
-static int cdr_handler(struct ast_cdr *cdr);
+static int cdr_handler(struct ast_cdr *cdr, void *data);
/*!
* \brief SQLite callback function for static configuration.
@@ -667,7 +667,7 @@
cdr_table = NULL;
}
-static int cdr_handler(struct ast_cdr *cdr)
+static int cdr_handler(struct ast_cdr *cdr, void *data)
{
char *query, *errormsg;
int error;
@@ -1409,7 +1409,7 @@
ast_cli_unregister(&cli_status_cmd);
if (cdr_registered)
- ast_cdr_unregister(RES_CONFIG_SQLITE_NAME);
+ ast_cdr_unregister(RES_CONFIG_SQLITE_NAME,NULL);
ast_config_engine_deregister(&sqlite_engine);
@@ -1506,7 +1506,7 @@
}
}
- error = ast_cdr_register(RES_CONFIG_SQLITE_NAME, RES_CONFIG_SQLITE_DESCRIPTION, cdr_handler);
+ error = ast_cdr_register(RES_CONFIG_SQLITE_NAME, NULL, RES_CONFIG_SQLITE_DESCRIPTION, cdr_handler,NULL,NULL);
if (error) {
unload_module();
More information about the asterisk-commits
mailing list