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

SOFIAPUBFUN http_host_t* http_host_create ( su_home_t home,
char const *  host,
char const *  port 

Create an Host header object.

Create a Host object.

Definition at line 729 of file http_basic.c.

References http_host_s::h_host, http_host_s::h_port, http_host_dup(), and http_host_init.

  http_host_t h[1];


  h->h_host = host, h->h_port = port;

  if (host) {
    return http_host_dup(home, h);
    return NULL;

Generated by  Doxygen 1.6.0   Back to index