#include "config.h"
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include <assert.h>
#include <sofia-sip/string0.h>
#include <sofia-sip/http_header.h>
#include <sofia-sip/http_status.h>
#include <sofia-sip/http_tag.h>
#include "sofia-sip/nth.h"
#include <sofia-sip/msg_date.h>
#include <sofia-sip/msg_addr.h>
#include <sofia-sip/su_tagarg.h>
#include <sofia-sip/tport.h>
#include <sofia-sip/htable.h>
#include <sofia-sip/su_debug.h>
Include dependency graph for nth_server.c:
Functions | |
nth_site_t * | nth_site_create (nth_site_t *parent, nth_request_f *callback, nth_site_magic_t *magic, url_string_t const *address, tag_type_t tag, tag_value_t value,...) |
Create a http site object. | |
Variables | |
su_log_t | nth_server_log [] |
Debug log for nth module. |
nth_site_t* nth_site_create | ( | nth_site_t * | parent, | |
nth_request_f * | callback, | |||
nth_site_magic_t * | magic, | |||
url_string_t const * | address, | |||
tag_type_t | tag, | |||
tag_value_t | value, | |||
... | ||||
) |
Create a http site object.
The function nth_site_create() allocates and initializes a web site object. A web site object can be either a primary http server, a virtual http server or a site within a server
Debug log for nth module.
The nth_server_log is the log object used by nth module. The level of nth_server_log is set using NTH_DEBUG environment variable.