Browse code

dialog: export new itermodule api functions

- get duplicate var value and status

Daniel-Constantin Mierla authored on 26/09/2022 13:30:51
Showing 2 changed files
... ...
@@ -483,6 +483,8 @@ int load_dlg( struct dlg_binds *dlgb )
483 483
 	dlgb->set_dlg_var = set_dlg_variable;
484 484
 	dlgb->get_dlg_varref = get_dlg_varref;
485 485
 	dlgb->get_dlg_varval = get_dlg_varval;
486
+	dlgb->get_dlg_vardup = get_dlg_vardup;
487
+	dlgb->get_dlg_varstatus = get_dlg_varstatus;
486 488
 	dlgb->get_dlg = dlg_get_msg_dialog;
487 489
 	dlgb->release_dlg = dlg_release;
488 490
 	return 1;
... ...
@@ -43,14 +43,15 @@ typedef struct dlg_cell *(*get_dlg_f)(struct sip_msg *msg);
43 43
 typedef void (*release_dlg_f)(struct dlg_cell *dlg);
44 44
 
45 45
 struct dlg_binds {
46
-	register_dlgcb_f  register_dlgcb;
47
-	terminate_dlg_f terminate_dlg;
48
-    set_dlg_variable_f set_dlg_var;
49
-	get_dlg_varref_f   get_dlg_varref;
50
-	get_dlg_varval_f   get_dlg_varval;
51
-	get_dlg_vardup_f   get_dlg_vardup;
52
-	get_dlg_f          get_dlg;
53
-	release_dlg_f      release_dlg;
46
+	register_dlgcb_f    register_dlgcb;
47
+	terminate_dlg_f     terminate_dlg;
48
+	set_dlg_variable_f  set_dlg_var;
49
+	get_dlg_varref_f    get_dlg_varref;
50
+	get_dlg_varval_f    get_dlg_varval;
51
+	get_dlg_vardup_f    get_dlg_vardup;
52
+	get_dlg_varstatus_f get_dlg_varstatus;
53
+	get_dlg_f           get_dlg;
54
+	release_dlg_f       release_dlg;
54 55
 };
55 56
 
56 57