Browse code

Expose terminate_dlg through C API

Jason Penton authored on 12/08/2011 15:36:33
Showing 1 changed files
... ...
@@ -32,18 +32,18 @@
32 32
 #include "dlg_cb.h"
33 33
 #include "../../sr_module.h"
34 34
 
35
+/* terminate_dlg function prototype */
36
+typedef int (*terminate_dlg_f)(struct dlg_cell* dlg, str *hdrs);
37
+
35 38
 struct dlg_binds {
36 39
 	register_dlgcb_f  register_dlgcb;
37 40
 	terminate_dlg_f terminate_dlg;
38 41
 };
39 42
 
40
-/* terminate_dlg function prototype */
41
-typedef int (*terminate_dlg_f)(struct dlg_cell* dlg, str *hdrs);
42 43
 
43 44
 typedef int(*load_dlg_f)( struct dlg_binds *dlgb );
44 45
 int load_dlg( struct dlg_binds *dlgb);
45 46
 
46
-
47 47
 static inline int load_dlg_api( struct dlg_binds *dlgb )
48 48
 {
49 49
 	load_dlg_f load_dlg;