Lines Matching defs:type
459 * media-range = ( "X/X" | (type "/" "*") | (type "/" subtype))*(";" parameter)
463 * function take two char ptrs - type and subtype - if any of them is NULL
467 sip_add_accept(sip_msg_t sip_msg, char *type, char *subtype, char *m_par,
475 if (type == NULL && subtype == NULL) {
492 if ((type != NULL) && (subtype != NULL)) {
493 ret = sip_add_2strs_to_msg(sip_msg, SIP_ACCEPT, type, B_FALSE,
495 } else if (type != NULL) {
496 ret = sip_add_2strs_to_msg(sip_msg, SIP_ACCEPT, type, B_FALSE,
612 * disp-type *( SEMI disp-param )
613 * disp-type = "render" / "session" / "icon" / "alert"
1103 * Allow-Events = ( "Allow-Events" / "u" ) HCOLON event-type
1104 * *(COMMA event-type)
1114 * Event = ( "Event" / "o" ) HCOLON event-type
1116 * event-type = event-package *( "." event-template )
1436 * Content-Type = ( "Content-Type" / "c" ) HCOLON media-type
1437 * media-type = m-type SLASH m-subtype *(SEMI m-parameter)
1438 * m-type = discrete-type / composite-type
1439 * discrete-type = "text" / "image" / "audio" / "video"
1441 * composite-type = "message" / "multipart" / extension-token
1452 sip_add_content_type(sip_msg_t sip_msg, char *type, char *subtype)
1454 if (sip_msg == NULL || type == NULL || subtype == NULL)
1456 return (sip_add_2strs_to_msg(sip_msg, SIP_CONTENT_TYPE, type, B_FALSE,