Prechádzať zdrojové kódy

Expose terminate_dlg through C API

Jason Penton 14 rokov pred
rodič
commit
01fce62471
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  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);