Changeset 2386
- Timestamp:
- Dec 18, 2008 5:52:57 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/ioqueue_common_abs.c
r2126 r2386 42 42 pj_lock_release(ioqueue->lock); 43 43 return pj_lock_destroy(ioqueue->lock); 44 } else 45 return PJ_SUCCESS; 44 } 45 46 return PJ_SUCCESS; 46 47 } 47 48 -
pjproject/trunk/pjmedia/include/pjmedia/transport.h
r2293 r2386 542 542 if (tp && tp->op && tp->op->get_info) 543 543 return (*tp->op->get_info)(tp, info); 544 else545 544 545 return PJ_ENOTSUP; 546 546 } 547 547 -
pjproject/trunk/pjnath/include/pjnath/stun_session.h
r1988 r2386 232 232 void *pkt; /**< The STUN packet. */ 233 233 unsigned max_len; /**< Length of packet buffer. */ 234 unsignedpkt_size; /**< The actual length of STUN pkt. */234 pj_size_t pkt_size; /**< The actual length of STUN pkt. */ 235 235 236 236 unsigned addr_len; /**< Length of destination address. */ … … 599 599 unsigned options, 600 600 void *token, 601 unsigned*parsed_len,601 pj_size_t *parsed_len, 602 602 const pj_sockaddr_t *src_addr, 603 603 unsigned src_addr_len); -
pjproject/trunk/pjnath/include/pjnath/turn_session.h
r2234 r2386 593 593 PJ_DECL(pj_status_t) pj_turn_session_on_rx_pkt(pj_turn_session *sess, 594 594 void *pkt, 595 unsignedpkt_len,596 unsigned*parsed_len);595 pj_size_t pkt_len, 596 pj_size_t *parsed_len); 597 597 598 598 -
pjproject/trunk/pjnath/src/pjnath-test/stun.c
r2234 r2386 243 243 pj_uint8_t buf[1500]; 244 244 pj_str_t key; 245 unsignedlen;245 pj_size_t len; 246 246 pj_status_t status; 247 247 … … 544 544 struct test_vector *v; 545 545 pj_stun_msg *ref_msg, *msg; 546 unsigned parsed_len; 547 unsigned len, pos; 546 pj_size_t parsed_len; 547 pj_size_t len; 548 unsigned pos; 548 549 pj_uint8_t buf[1500]; 549 550 char print[1500]; … … 747 748 pj_uint8_t packet[500]; 748 749 pj_stun_auth_cred cred; 749 unsignedlen;750 pj_size_t len; 750 751 pj_status_t rc; 751 752 -
pjproject/trunk/pjnath/src/pjnath/stun_session.c
r2234 r2386 1055 1055 { 1056 1056 pj_uint8_t *out_pkt; 1057 unsignedout_max_len, out_len;1057 pj_size_t out_max_len, out_len; 1058 1058 pj_status_t status; 1059 1059 … … 1320 1320 unsigned options, 1321 1321 void *token, 1322 unsigned*parsed_len,1322 pj_size_t *parsed_len, 1323 1323 const pj_sockaddr_t *src_addr, 1324 1324 unsigned src_addr_len) -
pjproject/trunk/pjnath/src/pjnath/turn_session.c
r2340 r2386 915 915 PJ_DEF(pj_status_t) pj_turn_session_on_rx_pkt(pj_turn_session *sess, 916 916 void *pkt, 917 unsignedpkt_len,918 unsigned*parsed_len)917 pj_size_t pkt_len, 918 pj_size_t *parsed_len) 919 919 { 920 920 pj_bool_t is_stun; -
pjproject/trunk/pjnath/src/pjnath/turn_sock.c
r2234 r2386 464 464 { 465 465 pj_turn_sock *turn_sock; 466 unsignedparsed_len;466 pj_size_t parsed_len; 467 467 pj_bool_t ret = PJ_TRUE; 468 468 -
pjproject/trunk/pjnath/src/pjturn-srv/allocation.c
r2234 r2386 935 935 */ 936 936 unsigned options = PJ_STUN_CHECK_PACKET | PJ_STUN_NO_FINGERPRINT_CHECK; 937 unsignedparsed_len = 0;937 pj_size_t parsed_len = 0; 938 938 939 939 if (pkt->transport->listener->tp_type == PJ_TURN_TP_UDP) -
pjproject/trunk/pjnath/src/pjturn-srv/main.c
r2177 r2386 50 50 51 51 printf("Worker threads : %d\n", srv->core.thread_cnt); 52 printf("Total mem usage: % d.%03dMB\n", g_cp.used_size / 1000000,53 ( g_cp.used_size % 1000000)/1000);52 printf("Total mem usage: %u.%03uMB\n", (unsigned)(g_cp.used_size / 1000000), 53 (unsigned)((g_cp.used_size % 1000000)/1000)); 54 54 printf("UDP port range : %u %u %u (next/min/max)\n", srv->ports.next_udp, 55 55 srv->ports.min_udp, srv->ports.max_udp); -
pjproject/trunk/pjnath/src/pjturn-srv/server.c
r2234 r2386 616 616 /* Otherwise this is a new client */ 617 617 unsigned options; 618 unsignedparsed_len;618 pj_size_t parsed_len; 619 619 pj_status_t status; 620 620 -
pjproject/trunk/pjsip/src/test-pjsip/transport_test.c
r2303 r2386 688 688 enum { COUNT = 2000 }; 689 689 unsigned i; 690 pj_status_t status ;690 pj_status_t status = PJ_SUCCESS; 691 691 692 692 /* exhaust packets */
Note: See TracChangeset
for help on using the changeset viewer.