#define MAX_WEBLIST_SIZE
#define HTTP_DATE_LINE "%a, %d %b %Y %T GMT"
| struct | |
| { | |
| const char* hg_group; | |
| const char* hg_desc; | |
| off_t hg_sizes; | |
| off_t hg_traffic; | |
| unsigned int hg_packs; | |
| unsigned int hg_agets; | |
| float hg_rgets; | |
| float hg_dummy; | |
| } |
| struct | |
| { | |
| const char* m_ext; | |
| const char* m_mime; | |
| } |
| struct | |
| { | |
| int s_ch; | |
| int dummy; | |
| const char* s_html; | |
| } |
| Used in: | h_accept() | |
| h_close_listen() | ||
| h_open_listen() | ||
| h_perform() | ||
| h_select_fdset() | ||
| h_setup_listen() |
http_family
static int http_family[2U]
| Used in: | h_accept() | |
| h_open_listen() | ||
| h_setup_listen() |
http_header_status
NOTRANSLATE
static const char* http_header_status
| Used in: | h_write_status() |
http_header_notfound
NOTRANSLATE
static const char* http_header_notfound
| Used in: | h_herror_404() |
http_header_forbidden
NOTRANSLATE
static const char* http_header_forbidden
| Used in: | h_herror_403() |
http_header_admin
NOTRANSLATE
static const char* http_header_admin
| Used in: | h_parse() |
htpp_auth_key
NOTRANSLATE
static const char* htpp_auth_key
| Used in: | h_admin_auth() |
http_magic
NOTRANSLATE
static const http_magic_const_t http_magic[]
| Used in: | html_mime() |
http_special
NOTRANSLATE
static const http_special_t http_special[]
| Used in: | html_decode() | |
| html_encode() | ||
| html_encode_size() |
HEX_NIBBLE
NOTRANSLATE
static const unsigned char HEX_NIBBLE[]
| Used in: | url_encode() |
BASE64
BASE 64
| b64 | b64 | b64 | b64 |
| octect1 | octect2 | octect3 | NOTRANSLATE
static const unsigned char BASE64[]
| Used in: | init_base64decode() |
base64decode
static unsigned char base64decode[256]
| Used in: | b64decode_quartet() | |
| init_base64decode() |
html_link_start
static int html_link_start
| Used in: | html_link_build() | |
| html_link_option() |
void h_close_listen ( void )
| Prototyped in: | src/dinoex_http.h | |
| Calls: | close() | |
| Called by: | h_reash_listen() | src/dinoex_http.c |
| shutdown_dinoex() | src/dinoex_misc.c | |
| References Variables: | gdata | src/dinoex_main.c |
| http_listen | src/dinoex_http.c | |
void h_perform ( int changesec, int changequartersec )
void h_reash_listen ( void )
| Prototyped in: | src/dinoex_http.h | |
| Calls: | h_close_listen() | src/dinoex_http.c |
| h_setup_listen() | src/dinoex_http.c | |
| Called by: | rehash_dinoex() | src/dinoex_misc.c |
| References Variables: | gdata | src/dinoex_main.c |
int h_select_fdset ( int highests )
| Prototyped in: | src/dinoex_http.h | |
| Calls: | irlist_get_head() | src/iroffer_utilities.c |
| irlist_get_next() | src/iroffer_utilities.c | |
| Called by: | mainloop() | src/iroffer_main.c |
| References Variables: | gdata | src/dinoex_main.c |
| http_listen | src/dinoex_http.c | |
unsigned int h_setup_listen ( void )
| Prototyped in: | src/dinoex_http.h | |
| Calls: | h_open_listen() | src/dinoex_http.c |
| updatecontext_f() | src/iroffer_utilities.c | |
| Called by: | config_dinoex() | src/dinoex_misc.c |
| h_reash_listen() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| http_family | src/dinoex_http.c | |
| http_listen | src/dinoex_http.c | |
void init_base64decode ( void )
| Prototyped in: | src/dinoex_http.h | |
| Calls: | memset() | |
| Called by: | startup_dinoex() | src/dinoex_misc.c |
| References Variables: | BASE64 | src/dinoex_http.c |
| base64decode | src/dinoex_http.c | |
| Called by: | b64decode_string() | src/dinoex_http.c |
| References Variables: | base64decode | src/dinoex_http.c |
| Calls: | b64decode_quartet() | src/dinoex_http.c |
| mymalloc2() | src/iroffer_utilities.c | |
| strlen() | ||
| Called by: | h_admin_auth() | src/dinoex_http.c |
| Calls: | html_str_split() | src/dinoex_http.c |
| Called by: | h_access_log() | src/dinoex_http.c |
| Calls: | get_url_param() | src/dinoex_http.c |
| mydelete2() | src/iroffer_utilities.c | |
| atoi() | ||
| Called by: | h_webliste() | src/dinoex_http.c |
| Called by: | h_html_main() | src/dinoex_http.c |
| Calls: | get_host() | src/dinoex_http.c |
| http_access_log_add() | src/dinoex_http.c | |
| mydelete2() | src/iroffer_utilities.c | |
| mymalloc2() | src/iroffer_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| localtime(), snprintf(), strftime() | ||
| Called by: | h_closeconn() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | get_xdcc_pack() | src/dinoex_misc.c |
| getfilename() | src/dinoex_utilities.c | |
| h_herror_404() | src/dinoex_http.c | |
| h_prepare_footer() | src/dinoex_http.c | |
| h_prepare_header() | src/dinoex_http.c | |
| h_readfile() | src/dinoex_http.c | |
| h_respond() | src/dinoex_http.c | |
| ioutput() | src/iroffer_utilities.c | |
| mydelete2() | src/iroffer_utilities.c | |
| mymalloc2() | src/iroffer_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| atoi(), snprintf(), strcasecmp(), strchr(), strncasecmp() | ||
| Called by: | h_admin_auth() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | b64decode_string() | src/dinoex_http.c |
| h_admin() | src/dinoex_http.c | |
| html_str_prefix() | src/dinoex_http.c | |
| html_str_split() | src/dinoex_http.c | |
| mydelete2() | src/iroffer_utilities.c | |
| mystrdup2() | src/dinoex_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| verifypass2() | src/dinoex_utilities.c | |
| strcasecmp(), strcasestr(), strlen() | ||
| Called by: | h_parse() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| htpp_auth_key | src/dinoex_http.c | |
| Calls: | html_decode() | src/dinoex_http.c |
| html_str_split() | src/dinoex_http.c | |
| mymalloc2() | src/iroffer_utilities.c | |
| mystrdup2() | src/dinoex_utilities.c | |
| strcasecmp(), strlen() | ||
| Called by: | h_get() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Called by: | h_send() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
static void h_closeconn ( http* const h, const char* msg, int errno1 )
| Calls: | html_encode_size() | src/dinoex_http.c |
| irlist_get_head() | src/iroffer_utilities.c | |
| irlist_get_next() | src/iroffer_utilities.c | |
| save_nick() | src/dinoex_utilities.c | |
| strlen() | ||
| Called by: | h_webliste() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | h_error() | src/dinoex_http.c |
| Called by: | h_admin() | src/dinoex_http.c |
| h_parse() | src/dinoex_http.c | |
| h_readfile() | src/dinoex_http.c | |
| References Variables: | http_header_notfound | src/dinoex_http.c |
| Calls: | fnmatch(), strcasecmp(), strcmp() | |
| Called by: | h_html_file() | src/dinoex_http.c |
| Calls: | html_link_build() | src/dinoex_http.c |
| Called by: | h_html_file() | src/dinoex_http.c |
| h_html_main() | src/dinoex_http.c |
| Calls: | html_link_build() | src/dinoex_http.c |
| Called by: | h_html_main() | src/dinoex_http.c |
| Calls: | html_link_build() | src/dinoex_http.c |
| mystrdup2() | src/dinoex_utilities.c | |
| strcasecmp() | ||
| Called by: | h_html_main() | src/dinoex_http.c |
| Calls: | h_respond() | src/dinoex_http.c |
| Called by: | h_html_file() | src/dinoex_http.c |
| h_html_main() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | getuptime() | src/iroffer_utilities.c |
| h_respond() | src/dinoex_http.c | |
| mydelete2() | src/iroffer_utilities.c | |
| mymalloc2() | src/iroffer_utilities.c | |
| outerror() | src/iroffer_utilities.c | |
| sizestr() | src/dinoex_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| snprintf(), strcmp() | ||
| Called by: | h_html_index() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | ioutput() | src/iroffer_utilities.c |
| outerror() | src/iroffer_utilities.c | |
| __error(), close(), fstat(), open(), read(), strerror() | ||
| Called by: | h_prepare_footer() | src/dinoex_http.c |
| h_prepare_header() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | h_closeconn() | src/dinoex_http.c |
| updatecontext_f() | src/iroffer_utilities.c | |
| Called by: | h_perform() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | count_badip() | src/dinoex_badip.c |
| h_admin_auth() | src/dinoex_http.c | |
| h_error() | src/dinoex_http.c | |
| h_herror_404() | src/dinoex_http.c | |
| h_readfile() | src/dinoex_http.c | |
| h_webliste() | src/dinoex_http.c | |
| ioutput() | src/iroffer_utilities.c | |
| mydelete2() | src/iroffer_utilities.c | |
| mymalloc2() | src/iroffer_utilities.c | |
| mystrdup2() | src/dinoex_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| snprintf(), strcasecmp(), strchr(), strcmp(), strncasecmp() | ||
| Called by: | h_get() | src/dinoex_http.c |
| h_post() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| http_header_admin | src/dinoex_http.c | |
| Calls: | atoull() | src/iroffer_utilities.c |
| strchr(), strcmp() | ||
| Called by: | h_write_status() | src/dinoex_http.c |
| Calls: | h_parse() | src/dinoex_http.c |
| h_read_http() | src/dinoex_http.c | |
| Called by: | h_perform() | src/dinoex_http.c |
| Calls: | h_include() | src/dinoex_http.c |
| h_readbuffer() | src/dinoex_http.c | |
| Called by: | h_admin() | src/dinoex_http.c |
| h_webliste() | src/dinoex_http.c |
| Calls: | h_include() | src/dinoex_http.c |
| h_prepare_respond() | src/dinoex_http.c | |
| h_stat() | src/dinoex_http.c | |
| Called by: | h_admin() | src/dinoex_http.c |
| h_webliste() | src/dinoex_http.c |
| Calls: | mymalloc2() | src/iroffer_utilities.c |
| Called by: | h_prepare_header() | src/dinoex_http.c |
| Calls: | h_closeconn() | src/dinoex_http.c |
| ioutput() | src/iroffer_utilities.c | |
| is_fd_readable() | src/iroffer_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| __error(), recv() | ||
| Called by: | h_get() | src/dinoex_http.c |
| h_post() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | h_start_sending() | src/dinoex_http.c |
| h_write_status() | src/dinoex_http.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| strlen() | ||
| Called by: | h_prepare_footer() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | h_herror_404() | src/dinoex_http.c |
| h_runruby() | src/dinoex_http.c | |
| h_start_sending() | src/dinoex_http.c | |
| h_write_status() | src/dinoex_http.c | |
| ioutput() | src/iroffer_utilities.c | |
| mystrdup2() | src/dinoex_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| __error(), close(), fstat(), open(), strerror() | ||
| Called by: | h_admin() | src/dinoex_http.c |
| h_herror_403() | src/dinoex_http.c | |
| h_parse() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
static void h_respond ( http* const h, const char* format, ... )
| Calls: | __builtin_va_end(), __builtin_va_start(), vsnprintf() | |
| Called by: | h_admin() | src/dinoex_http.c |
| h_html_file() | src/dinoex_http.c | |
| h_html_index() | src/dinoex_http.c | |
| h_html_main() | src/dinoex_http.c | |
| h_html_search() | src/dinoex_http.c | |
| h_html_weblist_info() | src/dinoex_http.c | |
| Calls: | http_ruby_script() | src/dinoex_ruby.c |
| mydelete2() | src/iroffer_utilities.c | |
| mystrdup2() | src/dinoex_utilities.c | |
| mystrsuffix2() | src/dinoex_utilities.c | |
| setenv(), strcasecmp(), strchr(), strrchr() | ||
| Called by: | h_readfile() | src/dinoex_http.c |
| Calls: | h_bandwith() | src/dinoex_http.c |
| h_closeconn() | src/dinoex_http.c | |
| ioutput() | src/iroffer_utilities.c | |
| mydelete2() | src/iroffer_utilities.c | |
| outerror() | src/iroffer_utilities.c | |
| updatecontext_f() | src/iroffer_utilities.c | |
| __error(), close(), lseek(), read(), send(), strerror() | ||
| Called by: | h_perform() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | ioutput() | src/iroffer_utilities.c |
| Called by: | h_error() | src/dinoex_http.c |
| h_readbuffer() | src/dinoex_http.c | |
| h_readfile() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | stat() | |
| Called by: | h_prepare_header() | src/dinoex_http.c |
| Calls: | mydelete2() | src/iroffer_utilities.c |
| mymalloc2() | src/iroffer_utilities.c | |
| gmtime(), send(), snprintf(), strftime() | ||
| Called by: | h_error() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| Calls: | h_parse_range() | src/dinoex_http.c |
| html_mime() | src/dinoex_http.c | |
| mydelete2() | src/iroffer_utilities.c | |
| mymalloc2() | src/iroffer_utilities.c | |
| gmtime(), send(), snprintf(), strcmp(), strftime() | ||
| Called by: | h_readbuffer() | src/dinoex_http.c |
| h_readfile() | src/dinoex_http.c | |
| References Variables: | gdata | src/dinoex_main.c |
| http_header_status | src/dinoex_http.c | |
| Called by: | html_order_size() | src/dinoex_http.c |
| html_order_tvol() | src/dinoex_http.c |
| Calls: | sscanf(), strlen(), strncmp() | |
| Called by: | get_url_param() | src/dinoex_http.c |
| h_bad_request() | src/dinoex_http.c | |
| h_html_index() | src/dinoex_http.c | |
| References Variables: | http_special | src/dinoex_http.c |
| Calls: | __isctype(), strlen(), strncpy() | |
| Called by: | h_html_file() | src/dinoex_http.c |
| h_html_index() | src/dinoex_http.c | |
| h_html_main() | src/dinoex_http.c | |
| References Variables: | http_special | src/dinoex_http.c |
| Calls: | __isctype(), strlen() | |
| Called by: | h_guess_weblist() | src/dinoex_http.c |
| References Variables: | http_special | src/dinoex_http.c |
| Calls: | strcasecmp(), strcmp() | |
| Called by: | h_html_main() | src/dinoex_http.c |
| Calls: | html_link_option() | src/dinoex_http.c |
| mymalloc2() | src/iroffer_utilities.c | |
| snprintf() | ||
| Called by: | h_html_link_group() | src/dinoex_http.c |
| h_html_link_more() | src/dinoex_http.c | |
| h_html_link_order() | src/dinoex_http.c | |
| References Variables: | html_link_start | src/dinoex_http.c |
| Calls: | mydelete2() | src/iroffer_utilities.c |
| mymalloc2() | src/iroffer_utilities.c | |
| url_encode() | src/dinoex_http.c | |
| snprintf() | ||
| Called by: | html_link_build() | src/dinoex_http.c |
| References Variables: | html_link_start | src/dinoex_http.c |
| Calls: | irlist_get_head() | src/iroffer_utilities.c |
| irlist_get_next() | src/iroffer_utilities.c | |
| strcasecmp(), strrchr() | ||
| Called by: | h_write_status() | src/dinoex_http.c |
| References Variables: | gdata | src/dinoex_main.c |
| http_magic | src/dinoex_http.c | |
| Calls: | strcmp() | |
| Called by: | h_html_main() | src/dinoex_http.c |
| References Functions: | html_order_gets() | src/dinoex_http.c |
| html_order_group() | src/dinoex_http.c | |
| html_order_pack() | src/dinoex_http.c | |
| html_order_rget() | src/dinoex_http.c | |
| html_order_size() | src/dinoex_http.c | |
| html_order_tvol() | src/dinoex_http.c | |
| Used in: | html_order_func() | src/dinoex_http.c |
| Calls: | strcmp() | |
| Used in: | html_order_func() | src/dinoex_http.c |
| Used in: | html_order_func() | src/dinoex_http.c |
| Used in: | html_order_func() | src/dinoex_http.c |
| Calls: | html_cmp_offset() | src/dinoex_http.c |
| Used in: | html_order_func() | src/dinoex_http.c |
| Calls: | html_cmp_offset() | src/dinoex_http.c |
| Used in: | html_order_func() | src/dinoex_http.c |
| Calls: | mydelete2() | src/iroffer_utilities.c |
| mystrdup2() | src/dinoex_utilities.c | |
| Called by: | h_admin_auth() | src/dinoex_http.c |
| Calls: | mylog_close() | src/dinoex_utilities.c |
| mylog_write() | src/dinoex_utilities.c | |
| open_append() | src/dinoex_utilities.c | |
| Called by: | h_access_log() | src/dinoex_http.c |
| Called by: | h_html_index() | src/dinoex_http.c |
| Calls: | __isctype() | |
| Called by: | html_link_option() | src/dinoex_http.c |
| References Variables: | HEX_NIBBLE | src/dinoex_http.c |