summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip-simple/presence.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsip-simple/presence.h')
-rw-r--r--pjsip/include/pjsip-simple/presence.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pjsip/include/pjsip-simple/presence.h b/pjsip/include/pjsip-simple/presence.h
index eaf8ba86..d80736d5 100644
--- a/pjsip/include/pjsip-simple/presence.h
+++ b/pjsip/include/pjsip-simple/presence.h
@@ -181,6 +181,18 @@ PJ_DECL(pj_status_t) pjsip_pres_initiate( pjsip_evsub *sub,
pjsip_tx_data **p_tdata);
+/**
+ * Add a list of headers to the subscription instance. The list of headers
+ * will be added to outgoing presence subscription requests.
+ *
+ * @param sub Subscription instance.
+ * @param hdr_list List of headers to be added.
+ *
+ * @return PJ_SUCCESS on success.
+ */
+PJ_DECL(pj_status_t) pjsip_pres_add_header( pjsip_evsub *sub,
+ const pjsip_hdr *hdr_list );
+
/**
* Accept the incoming subscription request by sending 2xx response to