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

playlist.h

Go to the documentation of this file.
00001 /*
00002  *  playlist.h
00003  *  mod_musicindex
00004  *
00005  *  $Id: playlist.h,v 1.12 2003/10/28 20:50:12 boudinr Exp $
00006  *
00007  *  Created by Thibaut VARENE on Thu Mar 20 2003.
00008  *  Copyright (c) 2003 Regis BOUDIN
00009  *  Copyright (c) 2003 Thibaut VARENE
00010  *   
00011  *  This program is free software; you can redistribute it and/or modify
00012  *  it under the terms of the GNU Lesser General Public License as published by
00013  *  the Free Software Foundation; either version 2.1, or (at your option)
00014  *  any later version.
00015  *
00016  */
00017  
00018 #ifndef PLAYLIST_H
00019 #define PLAYLIST_H
00020 
00021 #include "mod_musicindex.h"
00022 #include "cache.h"
00023 #include "inf.h"
00024 #include <mad.h>        /* libmad */
00025 #include <stdio.h>      /* fops */
00026 #include <sys/stat.h>   /* fstat */
00027 #include <ctype.h>      /* isdigit */
00028 
00029 #include <vorbis/codec.h>
00030 #include <vorbis/vorbisfile.h>
00031 
00032 #include <id3tag.h>
00033 
00034 #define INPUT_BUFFER_SIZE       8192    
00035 #define GENRE_MAX               0x94    
00037 mu_ent *make_ogg_entry(apr_pool_t *pool, mu_ent *head,
00038         FILE *in, mu_config * conf, mu_ent_names *names, request_rec * r);
00039 
00040 mu_ent *make_mp3_entry(apr_pool_t *pool, mu_ent *head,
00041         FILE *in, mu_config * conf, mu_ent_names *names, request_rec * r);
00042 
00043 mu_ent *make_music_entry(apr_pool_t *pool, request_rec * r,
00044         mu_ent *head, mu_config * conf, mu_ent_names *names);
00045 
00046 short musicindex_directory(request_rec * r, mu_config * conf);
00047 
00048 short playlist_directory(request_rec * r, mu_config * conf);
00049 
00050 short playlist_selected(request_rec * r, mu_config * conf);
00051         
00052 mu_ent *new_ent(apr_pool_t *pool, mu_ent *head);
00053 
00054 
00055 #endif

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