Logo Search packages:      
Sourcecode: wengophone version File versions  Download package

int parser_init ( void   ) 

Initialise the oSIP parser.

Definition at line 44 of file osip_parser_cfg.c.

References osip_message_set_accept(), osip_message_set_accept_encoding(), osip_message_set_accept_language(), osip_message_set_alert_info(), osip_message_set_allow(), osip_message_set_authorization(), osip_message_set_call_id(), osip_message_set_call_info(), osip_message_set_contact(), osip_message_set_content_encoding(), osip_message_set_content_length(), osip_message_set_content_type(), osip_message_set_cseq(), osip_message_set_error_info(), osip_message_set_from(), osip_message_set_mime_version(), osip_message_set_proxy_authenticate(), osip_message_set_proxy_authorization(), osip_message_set_record_route(), osip_message_set_replaces(), osip_message_set_route(), osip_message_set_to(), osip_message_set_via(), and osip_message_set_www_authenticate().

{

  pconfig[0].hname = ACCEPT;
  pconfig[0].setheader = (&osip_message_set_accept);
  pconfig[1].hname = ACCEPT_ENCODING;
  pconfig[1].setheader = (&osip_message_set_accept_encoding);
  pconfig[2].hname = ACCEPT_LANGUAGE;
  pconfig[2].setheader = (&osip_message_set_accept_language);
  pconfig[3].hname = ALERT_INFO;
  pconfig[3].setheader = (&osip_message_set_alert_info);
  pconfig[4].hname = ALLOW;
  pconfig[4].setheader = (&osip_message_set_allow);
  pconfig[5].hname = AUTHORIZATION;
  pconfig[5].setheader = (&osip_message_set_authorization);
  pconfig[6].hname = CONTENT_TYPE_SHORT;  /* "l" */
  pconfig[6].setheader = (&osip_message_set_content_type);
  pconfig[7].hname = CALL_ID;
  pconfig[7].setheader = (&osip_message_set_call_id);
  pconfig[8].hname = CALL_INFO;
  pconfig[8].setheader = (&osip_message_set_call_info);
  pconfig[9].hname = CONTACT;
  pconfig[9].setheader = (&osip_message_set_contact);
  pconfig[10].hname = CONTENT_ENCODING;
  pconfig[10].setheader = (&osip_message_set_content_encoding);
  pconfig[11].hname = CONTENT_LENGTH;
  pconfig[11].setheader = (&osip_message_set_content_length);
  pconfig[12].hname = CONTENT_TYPE;
  pconfig[12].setheader = (&osip_message_set_content_type);
  pconfig[13].hname = CSEQ;
  pconfig[13].setheader = (&osip_message_set_cseq);
  pconfig[14].hname = CONTENT_ENCODING_SHORT;   /* "e" */
  pconfig[14].setheader = (&osip_message_set_content_encoding);
  pconfig[15].hname = ERROR_INFO;
  pconfig[15].setheader = (&osip_message_set_error_info);
  pconfig[16].hname = FROM_SHORT;   /* "f" */
  pconfig[16].setheader = (&osip_message_set_from);
  pconfig[17].hname = FROM;
  pconfig[17].setheader = (&osip_message_set_from);
  pconfig[18].hname = CALL_ID_SHORT;      /* "i" */
  pconfig[18].setheader = (&osip_message_set_call_id);
  pconfig[19].hname = CONTENT_LENGTH_SHORT;     /* "l" */
  pconfig[19].setheader = (&osip_message_set_content_length);
  pconfig[20].hname = CONTACT_SHORT;      /* "m" */
  pconfig[20].setheader = (&osip_message_set_contact);
  pconfig[21].hname = MIME_VERSION;
  pconfig[21].setheader = (&osip_message_set_mime_version);
  pconfig[22].hname = PROXY_AUTHENTICATE;
  pconfig[22].setheader = (&osip_message_set_proxy_authenticate);
  pconfig[23].hname = PROXY_AUTHORIZATION;
  pconfig[23].setheader = (&osip_message_set_proxy_authorization);
  pconfig[24].hname = RECORD_ROUTE;
  pconfig[24].setheader = (&osip_message_set_record_route);
  pconfig[25].hname = REPLACES;
  pconfig[25].setheader = (&osip_message_set_replaces);
  pconfig[26].hname = ROUTE;
  pconfig[26].setheader = (&osip_message_set_route);
  pconfig[27].hname = TO_SHORT;
  pconfig[27].setheader = (&osip_message_set_to);
  pconfig[28].hname = TO;
  pconfig[28].setheader = (&osip_message_set_to);
  pconfig[29].hname = VIA_SHORT;
  pconfig[29].setheader = (&osip_message_set_via);
  pconfig[30].hname = VIA;
  pconfig[30].setheader = (&osip_message_set_via);
  pconfig[31].hname = WWW_AUTHENTICATE;
  pconfig[31].setheader = (&osip_message_set_www_authenticate);


  return 0;
}


Generated by  Doxygen 1.6.0   Back to index