diff extensions/test_app/ta_cli.c @ 639:95a784729cac

Added new opaque pointer to fd_sess_handler_create and fd_disp_register for usability. Bumped API version number.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 20 Dec 2010 13:07:06 +0900
parents 345f3541df81
children f198d16fa7f4
line wrap: on
line diff
--- a/extensions/test_app/ta_cli.c	Fri Dec 17 18:41:19 2010 +0900
+++ b/extensions/test_app/ta_cli.c	Mon Dec 20 13:07:06 2010 +0900
@@ -233,7 +233,7 @@
 
 int ta_cli_init(void)
 {
-	CHECK_FCT( fd_sess_handler_create(&ta_cli_reg, free) );
+	CHECK_FCT( fd_sess_handler_create(&ta_cli_reg, free, NULL) );
 	
 	CHECK_FCT( fd_sig_register(ta_conf->signal, "test_app.cli", ta_cli_test_message ) );
 	
@@ -244,7 +244,7 @@
 {
 	CHECK_FCT_DO( fd_sig_unregister(ta_conf->signal), /* continue */ );
 	
-	CHECK_FCT_DO( fd_sess_handler_destroy(&ta_cli_reg), /* continue */ );
+	CHECK_FCT_DO( fd_sess_handler_destroy(&ta_cli_reg, NULL), /* continue */ );
 	
 	return;
 };
"Welcome to our mercurial repository"