mod_musicindex
1.4.1
|
#include "mod_musicindex.h"
Go to the source code of this file.
Functions | |
void | treat_get_args (request_rec *r) |
Treats the GET arguments. | |
void | treat_post_args (request_rec *r) |
Treats the POST arguments. | |
void | cookie_and_stream_work (request_rec *r) |
void cookie_and_stream_work | ( | request_rec * | r | ) |
Definition at line 455 of file http.c.
References apr_pool_create, apr_pool_destroy, apr_pool_t, apr_psprintf, apr_pstrcat, apr_pstrdup, cookie_add(), cookie_addall(), mu_config::cookie_life, cookie_remove(), mu_config::custom_list, find_playlist(), MI_ALLOPS, MI_COOKIEADDALL, MI_COOKIEADDLST, MI_COOKIEDELLST, MI_COOKIEPURGE, MI_COOKIESTREAM, musicindex_module, and mu_config::options.
Referenced by handle_musicindex().
void treat_get_args | ( | request_rec * | r | ) |
Treats the GET arguments.
This function searches for keywords passed as URL arguments (with "?xxx") and sets the handler options accordingly.
r | Apache request_rec struct to handle connection details. |
Definition at line 75 of file http.c.
References mu_config::custom_list, MI_ALLOWSTREAM, MI_ALLOWTARBALL, MI_DWNLDALL, MI_PODCAST, MI_QUICKPL, MI_RANDOMDIR, MI_RECURSIVE, MI_RSS, MI_STREAMALL, musicindex_module, mu_config::options, mu_config::order, mu_config::rss_items, SB_DEFAULT, SB_DIR, SB_MAX, SB_MTIME, SB_RANDOM, and SB_URI.
Referenced by handle_musicindex().
void treat_post_args | ( | request_rec * | r | ) |
Treats the POST arguments.
This function searches for keywords in arguments sent in a POST request. It only sets option flags and the search string when they are needed.
r | Apache request_rec struct to handle connection details. |
Definition at line 170 of file http.c.
References apr_pstrcat, apr_pstrdup, mu_config::cache, mu_config::custom_list, MAX_STRING, MI_ALLOWSEARCH, MI_ALLOWSTREAM, MI_ALLOWTARBALL, MI_COOKIEADDALL, MI_COOKIEADDLST, MI_COOKIEDELLST, MI_COOKIEDWNLD, MI_COOKIEOP, MI_COOKIEPURGE, MI_COOKIESTREAM, MI_DWNLDALL, MI_DWNLDLST, MI_QUICKPL, MI_RECURSIVE, MI_STREAMALL, MI_STREAMLST, musicindex_module, mu_config::options, mu_config::order, SB_DEFAULT, SB_DIR, SB_MAX, SB_RANDOM, SB_URI, and mu_config::search.
Referenced by handle_musicindex().