- Timestamp:
- Dec 19, 2008 12:26:42 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/include/pjlib-util/srv_resolver.h
r2039 r2387 137 137 } pj_dns_srv_record; 138 138 139 140 /** Opaque declaration for DNS SRV query */ 141 typedef struct pj_dns_srv_async_query pj_dns_srv_async_query; 139 142 140 143 /** … … 185 188 void *token, 186 189 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 */ 202 PJ_DECL(pj_status_t) pj_dns_srv_cancel_query(pj_dns_srv_async_query *query, 203 pj_bool_t notify); 188 204 189 205
Note: See TracChangeset
for help on using the changeset viewer.