Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

mod_musicindex.h File Reference

#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


Define Documentation

#define apr_pool_t   pool
 

< detects if we use apache 2

Definition at line 35 of file mod_musicindex.h.

#define ARG_NUMBER   16
 

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().

#define D_ASCENDING   1
 

Sort ascending.

Definition at line 75 of file mod_musicindex.h.

#define D_DESCENDING   -1
 

Sort descending.

Definition at line 76 of file mod_musicindex.h.

#define FT_DIR   'Z'
 

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().

#define FT_MP3   'M'
 

File is MP3.

Definition at line 72 of file mod_musicindex.h.

Referenced by list_songs(), and make_mp3_entry().

#define FT_OGG   'O'
 

File is Ogg.

Definition at line 71 of file mod_musicindex.h.

Referenced by list_songs(), and make_ogg_entry().

#define MAX_STRING   1024
 

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().

#define MI_ACTIVE   1
 

Definition at line 83 of file mod_musicindex.h.

Referenced by handle_musicindex(), and music_lister().

#define MI_ALLOWDWNLD   8
 

Definition at line 86 of file mod_musicindex.h.

Referenced by allow_download(), handle_mp3(), handle_ogg(), list_songs(), and send_tracks().

#define MI_ALLOWSEARCH   256
 

Definition at line 91 of file mod_musicindex.h.

Referenced by allow_search(), send_head(), and treat_args().

#define MI_ALLOWSTREAM   4
 

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().

#define MI_PLAYALL   16
 

Definition at line 87 of file mod_musicindex.h.

#define MI_PLAYLIST   2
 

Definition at line 84 of file mod_musicindex.h.

Referenced by make_music_entry(), and playlist_directory().

#define MI_QUICKPL   64
 

Definition at line 89 of file mod_musicindex.h.

Referenced by list_songs(), make_mp3_entry(), make_ogg_entry(), send_tracks(), and treat_args().

#define MI_RECURSIVE   32
 

Definition at line 88 of file mod_musicindex.h.

Referenced by create_musicindex_config(), list_songs(), make_music_entry(), and treat_args().

#define MI_SEARCH   128
 

Definition at line 90 of file mod_musicindex.h.

Referenced by list_songs(), make_music_entry(), musicindex_directory(), send_tracks(), and treat_args().

#define MUSIC_AUTHORS_STRING   "R. Boudin & T. Varene"
 

Authors.

Definition at line 50 of file mod_musicindex.h.

Referenced by send_foot().

#define MUSIC_VERSION_STRING   "0.8.9"
 

Version string.

Definition at line 49 of file mod_musicindex.h.

Referenced by send_foot().

#define MUSICINDEX   'I'
 

Definition at line 78 of file mod_musicindex.h.

#define PLAYLIST   'P'
 

Definition at line 79 of file mod_musicindex.h.

#define SB_ALBUM   'A'
 

Sort by album.

Definition at line 55 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_ARTIST   'B'
 

Sort by artist.

Definition at line 56 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_BITRATE   'R'
 

Sort by bitrate.

Definition at line 64 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_DATE   'D'
 

Sort by date.

Definition at line 57 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_DEFAULT   'U'
 

Definition at line 68 of file mod_musicindex.h.

Referenced by create_musicindex_config(), sort_or_fields(), and treat_args().

#define SB_FILENAME   'M'
 

Sort by filename.

Definition at line 61 of file mod_musicindex.h.

Referenced by set_fctptrs(), and sort_or_fields().

#define SB_FILETYPE   'F'
 

Sort by filetype.

Definition at line 59 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_GENRE   'G'
 

Sort by genre.

Definition at line 58 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_LENGTH   'L'
 

Sort by length.

Definition at line 60 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_POSN   'P'
 

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().

#define SB_RANDOM   'Z'
 

Definition at line 69 of file mod_musicindex.h.

Referenced by set_fctptrs(), and treat_args().

#define SB_SIZE   'S'
 

Sort by filesize.

Definition at line 65 of file mod_musicindex.h.

Referenced by set_fctptrs().

#define SB_TITLE   'T'
 

Sort by title.

Definition at line 66 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_TRACK   'N'
 

Sort by track.

Definition at line 62 of file mod_musicindex.h.

Referenced by list_songs(), send_tracks(), set_fctptrs(), and sort_or_fields().

#define SB_URI   'U'
 

Sort by URI.

Definition at line 67 of file mod_musicindex.h.

Referenced by set_fctptrs(), and treat_args().


Typedef Documentation

typedef struct mu_config mu_config
 

Configuration handling structure.

We use it to share configuration throughout the whole module

typedef struct mu_ent mu_ent
 

Music entry.

It contains various data about an associated file.

typedef struct mu_ent_names mu_ent_names
 

typedef int(* pt2function)()
 

Definition at line 95 of file mod_musicindex.h.


Variable Documentation

module MODULE_VAR_EXPORT musicindex_module
 

Definition at line 38 of file mod_musicindex.h.


Generated on Thu Oct 30 13:50:29 2003 for mod_musicindex by doxygen 1.3.4