Changeset 1101 for pjproject/trunk/pjnath/include/pjnath/ice.h
- Timestamp:
- Mar 24, 2007 1:00:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/include/pjnath/ice.h
r1096 r1101 97 97 pj_sockaddr addr; 98 98 pj_sockaddr base_addr; 99 pj_sockaddr srv_addr;99 pj_sockaddr rel_addr; 100 100 pj_stun_session *stun_sess; 101 101 } pj_ice_cand; … … 205 205 206 206 /* Valid list */ 207 unsigned valid_cnt; 208 unsigned valid_list[PJ_ICE_MAX_CHECKS]; 207 pj_ice_checklist valid_list; 209 208 }; 210 209 … … 213 212 const char *name, 214 213 pj_ice_role role, 214 unsigned comp_cnt, 215 215 const pj_ice_cb *cb, 216 216 const pj_str_t *local_ufrag, … … 218 218 pj_ice **p_ice); 219 219 PJ_DECL(pj_status_t) pj_ice_destroy(pj_ice *ice); 220 PJ_DECL(pj_status_t) pj_ice_add_comp(pj_ice *ice, unsigned comp_id);221 220 PJ_DECL(pj_status_t) pj_ice_add_cand(pj_ice *ice, 222 221 unsigned comp_id, … … 226 225 const pj_sockaddr_t *addr, 227 226 const pj_sockaddr_t *base_addr, 228 const pj_sockaddr_t * srv_addr,227 const pj_sockaddr_t *rel_addr, 229 228 int addr_len, 230 229 unsigned *cand_id); 231 230 232 PJ_DECL(unsigned) pj_ice_get_cand_cnt(pj_ice *ice); 233 PJ_DECL(pj_status_t) pj_ice_enum_cands(pj_ice *ice, 234 unsigned *p_count, 235 unsigned cand_ids[]); 236 PJ_DECL(pj_status_t) pj_ice_get_default_cand(pj_ice *ice, 237 unsigned comp_id, 238 int *cand_id); 239 PJ_DECL(pj_status_t) pj_ice_get_cand(pj_ice *ice, 240 unsigned cand_id, 241 pj_ice_cand **p_cand); 231 PJ_DECL(pj_status_t) pj_ice_find_default_cand(pj_ice *ice, 232 unsigned comp_id, 233 int *cand_id); 242 234 243 235 PJ_DECL(pj_status_t) pj_ice_create_check_list(pj_ice *ice,
Note: See TracChangeset
for help on using the changeset viewer.