summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-10-25 09:35:11 +0000
committerBenny Prijono <bennylp@teluu.com>2011-10-25 09:35:11 +0000
commit19c04114c0ab056416f03b21a3bd25d4bbf1f710 (patch)
tree9850ea5eba0b89cd88b29751ffb87f4f517ab431 /pjsip/include/pjsua-lib
parent9e4ddc18f6e2b4d9a68f1c93bfee541f315e80fc (diff)
Re #1400: enhancements to video operations in pjsua application
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3850 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 370e6679..4a8292c0 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -3092,6 +3092,22 @@ PJ_DECL(pj_status_t) pjsua_acc_del(pjsua_acc_id acc_id);
/**
+ * Get current config for the account. This will copy current account setting
+ * to the specified parameter. Note that all pointers in the settings will
+ * point to the original settings in the account and application must not
+ * modify the values in any way. Application must also take care that these
+ * data is only valid until the account is destroyed.
+ *
+ * @param acc_id The account ID.
+ * @param acc_cfg Structure to receive the settings.
+ *
+ * @return PJ_SUCCESS on success, or the appropriate error code.
+ */
+PJ_DECL(pj_status_t) pjsua_acc_get_config(pjsua_acc_id acc_id,
+ pjsua_acc_config *acc_cfg);
+
+
+/**
* Modify account information.
*
* @param acc_id Id of the account to be modified.