Ignore:
Timestamp:
Jun 6, 2008 2:12:23 PM (16 years ago)
Author:
bennylp
Message:

More ticket #531: added user_data parameter in activesocket creation API to make it more robust against programming errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/activesock.h

    r1953 r1986  
    228228 * @param cb            Pointer to structure containing application 
    229229 *                      callbacks. 
     230 * @param user_data     Arbitrary user data to be associated with this 
     231 *                      active socket. 
    230232 * @param p_asock       Pointer to receive the active socket instance. 
    231233 * 
     
    239241                                          pj_ioqueue_t *ioqueue, 
    240242                                          const pj_activesock_cb *cb, 
     243                                          void *user_data, 
    241244                                          pj_activesock_t **p_asock); 
    242245 
     
    254257 * @param cb            Pointer to structure containing application 
    255258 *                      callbacks. 
     259 * @param user_data     Arbitrary user data to be associated with this 
     260 *                      active socket. 
    256261 * @param p_asock       Pointer to receive the active socket instance. 
    257262 * @param bound_addr    If this argument is specified, it will be filled with 
     
    266271                                              pj_ioqueue_t *ioqueue, 
    267272                                              const pj_activesock_cb *cb, 
     273                                              void *user_data, 
    268274                                              pj_activesock_t **p_asock, 
    269275                                              pj_sockaddr *bound_addr); 
Note: See TracChangeset for help on using the changeset viewer.