Ignore:
Timestamp:
Dec 19, 2008 12:26:42 PM (16 years ago)
Author:
bennylp
Message:

Fixed ticket #686: Failure to cancel outstanding DNS SRV query job (API change)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/include/pjlib-util/srv_resolver.h

    r2039 r2387  
    137137} pj_dns_srv_record; 
    138138 
     139 
     140/** Opaque declaration for DNS SRV query */ 
     141typedef struct pj_dns_srv_async_query pj_dns_srv_async_query; 
    139142 
    140143/** 
     
    185188                                        void *token, 
    186189                                        pj_dns_srv_resolver_cb *cb, 
    187                                         pj_dns_async_query **p_query); 
     190                                        pj_dns_srv_async_query **p_query); 
     191 
     192 
     193/** 
     194 * Cancel an outstanding DNS SRV query. 
     195 * 
     196 * @param query     The pending asynchronous query to be cancelled. 
     197 * @param notify    If non-zero, the callback will be called with failure 
     198 *                  status to notify that the query has been cancelled. 
     199 * 
     200 * @return          PJ_SUCCESS on success, or the appropriate error code, 
     201 */ 
     202PJ_DECL(pj_status_t) pj_dns_srv_cancel_query(pj_dns_srv_async_query *query, 
     203                                             pj_bool_t notify); 
    188204 
    189205 
Note: See TracChangeset for help on using the changeset viewer.