summaryrefslogtreecommitdiff
path: root/pjnath/include
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2013-09-25 04:57:26 +0000
committerNanang Izzuddin <nanang@teluu.com>2013-09-25 04:57:26 +0000
commit68c5969bfbdfefb1b9df97b88fa9cb0c7e94d785 (patch)
treeef059dcbc568bdc1c116d7b12228f2ebf8703d51 /pjnath/include
parentd13ad1cce90aa7c3b92a4702015ae09586d2b789 (diff)
Fix #1700: Added PJ_ICE_CAND_TYPE_MAX to represent the number ICE candidate types.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4602 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include')
-rw-r--r--pjnath/include/pjnath/ice_session.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/pjnath/include/pjnath/ice_session.h b/pjnath/include/pjnath/ice_session.h
index 8cd45864..d850301a 100644
--- a/pjnath/include/pjnath/ice_session.h
+++ b/pjnath/include/pjnath/ice_session.h
@@ -154,7 +154,12 @@ typedef enum pj_ice_cand_type
* ICE relayed candidate, which represents the address allocated in
* TURN server.
*/
- PJ_ICE_CAND_TYPE_RELAYED
+ PJ_ICE_CAND_TYPE_RELAYED,
+
+ /**
+ * Number of defined ICE candidate types.
+ */
+ PJ_ICE_CAND_TYPE_MAX
} pj_ice_cand_type;