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