00001 /* 00002 $Id: cddb_cmd.h,v 1.12 2004/07/21 16:08:49 airborne Exp $ 00003 00004 Copyright (C) 2003, 2004 Kris Verbeeck <airborne@advalvas.be> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public 00017 License along with this library; if not, write to the 00018 Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 Boston, MA 02111-1307, USA. 00020 */ 00021 00022 #ifndef CDDB_CMD_H 00023 #define CDDB_CMD_H 1 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00029 00030 /* --- accessing data on the CDDB server --- */ 00031 00032 00079 int cddb_read(cddb_conn_t *c, cddb_disc_t *disc); 00080 00099 int cddb_query(cddb_conn_t *c, cddb_disc_t *disc); 00100 00110 int cddb_query_next(cddb_conn_t *c, cddb_disc_t *disc); 00111 00122 int cddb_write(cddb_conn_t *c, cddb_disc_t *disc); 00123 00124 00125 #ifdef __cplusplus 00126 } 00127 #endif 00128 00129 #endif /* CDDB_CMD_H */