Module: sip-router
Branch: master
Commit: 01fce62471c4684c894199e78274753a1db5075b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=01fce62…
Author: Jason Penton <jason.penton(a)gmail.com>
Committer: Jason Penton <jason.penton(a)gmail.com>
Date: Fri Aug 12 17:07:17 2011 +0200
Expose terminate_dlg through C API
---
modules_k/dialog/dlg_load.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules_k/dialog/dlg_load.h b/modules_k/dialog/dlg_load.h
index 89df271..0e74880 100644
--- a/modules_k/dialog/dlg_load.h
+++ b/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);