[sr-dev] git:master:8548aaa8: dialog: updated comments for api functions to get dlg var value
Daniel-Constantin Mierla
miconda at gmail.com
Mon Sep 26 12:05:24 CEST 2022
Module: kamailio
Branch: master
Commit: 8548aaa8a798b939e041821848b2f05b963451d8
URL: https://github.com/kamailio/kamailio/commit/8548aaa8a798b939e041821848b2f05b963451d8
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-09-26T12:04:29+02:00
dialog: updated comments for api functions to get dlg var value
---
Modified: src/modules/dialog/dlg_cb.h
---
Diff: https://github.com/kamailio/kamailio/commit/8548aaa8a798b939e041821848b2f05b963451d8.diff
Patch: https://github.com/kamailio/kamailio/commit/8548aaa8a798b939e041821848b2f05b963451d8.patch
---
diff --git a/src/modules/dialog/dlg_cb.h b/src/modules/dialog/dlg_cb.h
index 91064ee9e0..86a85bb2e1 100644
--- a/src/modules/dialog/dlg_cb.h
+++ b/src/modules/dialog/dlg_cb.h
@@ -54,13 +54,13 @@ typedef int (*register_dlgcb_f)(struct dlg_cell* dlg, int cb_types,
typedef int (*set_dlg_variable_f)( struct dlg_cell* dlg,
str* key,
str* val);
-/* method to get a variable from a dialog */
+/* method to get a variable value reference from a dialog */
typedef str* (*get_dlg_varref_f)( struct dlg_cell* dlg,
str* key);
-/* method to get a variable from a dialog */
+/* method to get a variable value static-buffer duplicate from a dialog */
typedef int (*get_dlg_varval_f)( struct dlg_cell* dlg,
str* key, str* val);
-/* method to get a variable value duplicate from a dialog */
+/* method to get a variable value pkg-allocated duplicate from a dialog */
typedef int (*get_dlg_vardup_f)( struct dlg_cell* dlg,
str* key, str* val);
More information about the sr-dev
mailing list