Browse Source

Expose terminate_dlg through C API

Jason Penton 14 years ago
parent
commit
ce75cc0612
1 changed files with 3 additions and 3 deletions
  1. 3 3
      modules_k/dialog/dlg_load.h

+ 3 - 3
modules_k/dialog/dlg_load.h

@@ -32,18 +32,18 @@
 #include "dlg_cb.h"
 #include "../../sr_module.h"
 
+/* terminate_dlg function prototype */
+typedef int (*terminate_dlg_f)(struct dlg_cell* dlg, str *hdrs);
+
 struct dlg_binds {
 	register_dlgcb_f  register_dlgcb;
 	terminate_dlg_f terminate_dlg;
 };
 
-/* terminate_dlg function prototype */
-typedef int (*terminate_dlg_f)(struct dlg_cell* dlg, str *hdrs);
 
 typedef int(*load_dlg_f)( struct dlg_binds *dlgb );
 int load_dlg( struct dlg_binds *dlgb);
 
-
 static inline int load_dlg_api( struct dlg_binds *dlgb )
 {
 	load_dlg_f load_dlg;