Browse code

Expose terminate_dlg through C API

Jason Penton authored on 12/08/2011 15:07:17
Showing 1 changed files
... ...
@@ -34,8 +34,11 @@
34 34
 
35 35
 struct dlg_binds {
36 36
 	register_dlgcb_f  register_dlgcb;
37
+	terminate_dlg_f terminate_dlg;
37 38
 };
38 39
 
40
+/* terminate_dlg function prototype */
41
+typedef int (*terminate_dlg_f)(struct dlg_cell* dlg, str *hdrs);
39 42
 
40 43
 typedef int(*load_dlg_f)( struct dlg_binds *dlgb );
41 44
 int load_dlg( struct dlg_binds *dlgb);