1/* 2 * $Id: daap.h,v 1.1 2009-06-30 02:31:08 steven Exp $ 3 * Build daap structs for replies 4 * 5 * Copyright (C) 2003 Ron Pedde (ron@pedde.com) 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 20 */ 21#ifndef _DAAP_H_ 22#define _DAAP_H_ 23 24#include "daap-proto.h" 25 26DAAP_BLOCK *daap_response_server_info(char *name, char *client_version); 27DAAP_BLOCK *daap_response_content_codes(void); 28DAAP_BLOCK *daap_response_login(char *hostname); 29DAAP_BLOCK *daap_response_update(int fd, int clientver); 30DAAP_BLOCK *daap_response_songlist(char* metaInfo, char* query); 31DAAP_BLOCK *daap_response_playlists(char *name); 32DAAP_BLOCK *daap_response_dbinfo(char *name); 33DAAP_BLOCK *daap_response_playlist_items(unsigned int playlist, char* metaStr, char* query); 34void daap_handle_index(DAAP_BLOCK* block, const char* index); 35DAAP_BLOCK* daap_add_song_entry(DAAP_BLOCK* mlcl, MP3FILE* song, unsigned long long meta); 36DAAP_BLOCK* daap_response_browse(const char* name, const char* filter); 37 38#endif /* _DAAP_H_ */ 39