Changeset 797 for pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
- Timestamp:
- Nov 11, 2006 4:16:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_endpoint.h
r753 r797 404 404 405 405 /** 406 * Check if we have the specified capability. 407 * 408 * @param endpt The endpoint. 409 * @param htype The header type to be retrieved, which value may be: 410 * - PJSIP_H_ACCEPT 411 * - PJSIP_H_ALLOW 412 * - PJSIP_H_SUPPORTED 413 * @param hname If htype specifies PJSIP_H_OTHER, then the header name 414 * must be supplied in this argument. Otherwise the value 415 * must be set to NULL. 416 * @param token The capability token to check. For example, if \a htype 417 * is PJSIP_H_ALLOW, then \a token specifies the method 418 * names; if \a htype is PJSIP_H_SUPPORTED, then \a token 419 * specifies the extension names such as "100rel". 420 * 421 * @return PJ_TRUE if the specified capability is supported, 422 * otherwise PJ_FALSE.. 423 */ 424 PJ_DECL(pj_bool_t) pjsip_endpt_has_capability( pjsip_endpoint *endpt, 425 int htype, 426 const pj_str_t *hname, 427 const pj_str_t *token); 428 429 430 /** 406 431 * Add or register new capabilities as indicated by the tags to the 407 432 * appropriate header fields in the endpoint.
Note: See TracChangeset
for help on using the changeset viewer.