Pārlūkot izejas kodu

Expose terminate_dlg through C API

Jason Penton 14 gadi atpakaļ
vecāks
revīzija
01fce62471
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      modules_k/dialog/dlg_load.h

+ 3 - 0
modules_k/dialog/dlg_load.h

@@ -34,8 +34,11 @@
 
 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);