Changeset 2177 for pjproject/trunk/pjlib/src/pj/activesock.c
- Timestamp:
- Jul 25, 2008 10:45:34 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/activesock.c
r2039 r2177 76 76 pj_ioqueue_op_key_t *op_key, 77 77 pj_ssize_t bytes_sent); 78 #if PJ_HAS_TCP 78 79 static void ioqueue_on_accept_complete(pj_ioqueue_key_t *key, 79 80 pj_ioqueue_op_key_t *op_key, … … 82 83 static void ioqueue_on_connect_complete(pj_ioqueue_key_t *key, 83 84 pj_status_t status); 84 85 #endif 85 86 86 87 PJ_DEF(void) pj_activesock_cfg_default(pj_activesock_cfg *cfg) … … 122 123 ioq_cb.on_read_complete = &ioqueue_on_read_complete; 123 124 ioq_cb.on_write_complete = &ioqueue_on_write_complete; 125 #if PJ_HAS_TCP 124 126 ioq_cb.on_connect_complete = &ioqueue_on_connect_complete; 125 127 ioq_cb.on_accept_complete = &ioqueue_on_accept_complete; 128 #endif 126 129 127 130 status = pj_ioqueue_register_sock(pool, ioqueue, sock, asock, … … 488 491 } 489 492 490 493 #if PJ_HAS_TCP 491 494 PJ_DEF(pj_status_t) pj_activesock_start_accept(pj_activesock_t *asock, 492 495 pj_pool_t *pool) … … 578 581 } 579 582 580 581 583 static void ioqueue_on_connect_complete(pj_ioqueue_key_t *key, 582 584 pj_status_t status) … … 595 597 } 596 598 } 597 599 #endif /* PJ_HAS_TCP */ 600
Note: See TracChangeset
for help on using the changeset viewer.