Changeset 1269 for pjproject/trunk/pjsip/include/pjsip/sip_transport.h
- Timestamp:
- May 12, 2007 3:03:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_transport.h
r1248 r1269 606 606 * 607 607 *****************************************************************************/ 608 608 typedef void (*pjsip_transport_callback)(pjsip_transport *tp, void *token, 609 pj_ssize_t sent_bytes); 609 610 /** 610 611 * This structure represent the "public" interface of a SIP transport. … … 672 673 int addr_len, 673 674 void *token, 674 void (*callback)(pjsip_transport *transport, 675 void *token, 676 pj_ssize_t sent_bytes)); 675 pjsip_transport_callback callback); 677 676 678 677 /** … … 885 884 * 886 885 *****************************************************************************/ 887 886 typedef void (*pjsip_rx_callback)(pjsip_endpoint*, pj_status_t, pjsip_rx_data *); 887 typedef pj_status_t (*pjsip_tx_callback)(pjsip_endpoint*, pjsip_tx_data*); 888 888 /** 889 889 * Create a new transport manager. … … 900 900 PJ_DECL(pj_status_t) pjsip_tpmgr_create( pj_pool_t *pool, 901 901 pjsip_endpoint * endpt, 902 void (*rx_cb)(pjsip_endpoint*, 903 pj_status_t, 904 pjsip_rx_data *), 905 pj_status_t (*tx_cb)(pjsip_endpoint*, 906 pjsip_tx_data*), 902 pjsip_rx_callback rx_cb, 903 pjsip_tx_callback tx_cb, 907 904 pjsip_tpmgr **p_mgr); 908 905 … … 988 985 pjsip_transport **tp); 989 986 990 987 typedef void (*pjsip_tp_send_callback)(void *token, pjsip_tx_data *tdata, 988 pj_ssize_t bytes_sent); 991 989 /** 992 990 * Send a SIP message using the specified transport. … … 997 995 int addr_len, 998 996 void *token, 999 void (*cb)(void *token, 1000 pjsip_tx_data *tdata, 1001 pj_ssize_t bytes_sent)); 997 pjsip_tp_send_callback cb); 1002 998 1003 999
Note: See TracChangeset
for help on using the changeset viewer.