Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN int http_add_make ( msg_t msg,
http_t http,
msg_hclass_t hc,
char const *  s 

Add a header to the HTTP message.

Definition at line 244 of file http_header.c.

References msg_home.

  if (s == NULL)
    return 0;

  if (msg == NULL)
    return -1;

  return msg_header_insert(msg, http, msg_header_make(msg_home(msg), hc, s));

Generated by  Doxygen 1.6.0   Back to index