#include <httpd.h>
#include <http_config.h>
#include <http_core.h>
#include <http_request.h>
#include <http_protocol.h>
#include <http_log.h>
#include <http_main.h>
#include <ap_compat.h>
Go to the source code of this file.
Data Structures | |
struct | mu_config |
Configuration handling structure. More... | |
struct | mu_ent |
Music entry. More... | |
struct | mu_ent_names |
Defines | |
#define | apr_pool_t pool |
< detects if we use apache 2 | |
#define | MUSIC_VERSION_STRING "0.8.9" |
Version string. | |
#define | MUSIC_AUTHORS_STRING "R. Boudin & T. Varene" |
Authors. | |
#define | SB_ALBUM 'A' |
Sort by album. | |
#define | SB_ARTIST 'B' |
Sort by artist. | |
#define | SB_DATE 'D' |
Sort by date. | |
#define | SB_GENRE 'G' |
Sort by genre. | |
#define | SB_FILETYPE 'F' |
Sort by filetype. | |
#define | SB_LENGTH 'L' |
Sort by length. | |
#define | SB_FILENAME 'M' |
Sort by filename. | |
#define | SB_TRACK 'N' |
Sort by track. | |
#define | SB_POSN 'P' |
Sort by Part Of Set nb. | |
#define | SB_BITRATE 'R' |
Sort by bitrate. | |
#define | SB_SIZE 'S' |
Sort by filesize. | |
#define | SB_TITLE 'T' |
Sort by title. | |
#define | SB_URI 'U' |
Sort by URI. | |
#define | SB_DEFAULT 'U' |
#define | SB_RANDOM 'Z' |
#define | FT_OGG 'O' |
File is Ogg. | |
#define | FT_MP3 'M' |
File is MP3. | |
#define | FT_DIR 'Z' |
File is a directory. | |
#define | D_ASCENDING 1 |
Sort ascending. | |
#define | D_DESCENDING -1 |
Sort descending. | |
#define | MUSICINDEX 'I' |
#define | PLAYLIST 'P' |
#define | ARG_NUMBER 16 |
Number of args to sort lists. | |
#define | MI_ACTIVE 1 |
#define | MI_PLAYLIST 2 |
#define | MI_ALLOWSTREAM 4 |
#define | MI_ALLOWDWNLD 8 |
#define | MI_PLAYALL 16 |
#define | MI_RECURSIVE 32 |
#define | MI_QUICKPL 64 |
#define | MI_SEARCH 128 |
#define | MI_ALLOWSEARCH 256 |
#define | MAX_STRING 1024 |
Common reference for maximum string size. | |
Typedefs | |
typedef int(* | pt2function )() |
typedef mu_ent_names | mu_ent_names |
typedef mu_ent | mu_ent |
Music entry. | |
typedef mu_config | mu_config |
Configuration handling structure. | |
Variables | |
module MODULE_VAR_EXPORT | musicindex_module |
|
< detects if we use apache 2
Definition at line 35 of file mod_musicindex.h. |
|
Number of args to sort lists.
Definition at line 81 of file mod_musicindex.h. Referenced by create_musicindex_config(), inf_global(), set_fctptrs(), sort_or_fields(), and treat_args(). |
|
Sort ascending.
Definition at line 75 of file mod_musicindex.h. |
|
Sort descending.
Definition at line 76 of file mod_musicindex.h. |
|
File is a directory.
Definition at line 73 of file mod_musicindex.h. Referenced by inf_global(), make_music_entry(), send_directories(), and send_tracks(). |
|
File is MP3.
Definition at line 72 of file mod_musicindex.h. Referenced by list_songs(), and make_mp3_entry(). |
|
File is Ogg.
Definition at line 71 of file mod_musicindex.h. Referenced by list_songs(), and make_ogg_entry(). |
|
Common reference for maximum string size.
Definition at line 93 of file mod_musicindex.h. Referenced by cache_read_file(), make_music_entry(), playlist_selected(), and send_directories(). |
|
Definition at line 83 of file mod_musicindex.h. Referenced by handle_musicindex(), and music_lister(). |
|
Definition at line 86 of file mod_musicindex.h. Referenced by allow_download(), handle_mp3(), handle_ogg(), list_songs(), and send_tracks(). |
|
Definition at line 91 of file mod_musicindex.h. Referenced by allow_search(), send_head(), and treat_args(). |
|
Definition at line 85 of file mod_musicindex.h. Referenced by allow_stream(), handle_mp3(), handle_ogg(), list_songs(), send_directories(), send_head(), send_tracks(), and treat_args(). |
|
Definition at line 87 of file mod_musicindex.h. |
|
Definition at line 84 of file mod_musicindex.h. Referenced by make_music_entry(), and playlist_directory(). |
|
Definition at line 89 of file mod_musicindex.h. Referenced by list_songs(), make_mp3_entry(), make_ogg_entry(), send_tracks(), and treat_args(). |
|
Definition at line 88 of file mod_musicindex.h. Referenced by create_musicindex_config(), list_songs(), make_music_entry(), and treat_args(). |
|
Definition at line 90 of file mod_musicindex.h. Referenced by list_songs(), make_music_entry(), musicindex_directory(), send_tracks(), and treat_args(). |
|
Authors.
Definition at line 50 of file mod_musicindex.h. Referenced by send_foot(). |
|
Version string.
Definition at line 49 of file mod_musicindex.h. Referenced by send_foot(). |
|
Definition at line 78 of file mod_musicindex.h. |
|
Definition at line 79 of file mod_musicindex.h. |
|
Sort by album.
Definition at line 55 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by artist.
Definition at line 56 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by bitrate.
Definition at line 64 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by date.
Definition at line 57 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Definition at line 68 of file mod_musicindex.h. Referenced by create_musicindex_config(), sort_or_fields(), and treat_args(). |
|
Sort by filename.
Definition at line 61 of file mod_musicindex.h. Referenced by set_fctptrs(), and sort_or_fields(). |
|
Sort by filetype.
Definition at line 59 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by genre.
Definition at line 58 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by length.
Definition at line 60 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by Part Of Set nb.
Definition at line 63 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Definition at line 69 of file mod_musicindex.h. Referenced by set_fctptrs(), and treat_args(). |
|
Sort by filesize.
Definition at line 65 of file mod_musicindex.h. Referenced by set_fctptrs(). |
|
Sort by title.
Definition at line 66 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by track.
Definition at line 62 of file mod_musicindex.h. Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields(). |
|
Sort by URI.
Definition at line 67 of file mod_musicindex.h. Referenced by set_fctptrs(), and treat_args(). |
|
Configuration handling structure. We use it to share configuration throughout the whole module |
|
Music entry. It contains various data about an associated file. |
|
|
|
Definition at line 95 of file mod_musicindex.h. |
|
Definition at line 38 of file mod_musicindex.h. |