xfreecd

Audio CD player for X
git clone https://www.brianlane.com/git/xfreecd
Log | Files | Refs | README | LICENSE

xfreecd.h (1215B)


      1 /* ------------------------------------------------------------------------
      2    xfreecd include file for XfreeCD
      3 
      4    Copyright 1998 by Brian C. Lane
      5    nexus@tatoosh.com
      6    http://www.tatoosh.com/nexus
      7 
      8    ------------------------------------------------------------------------ */
      9 #define DEFAULT_CDDB_PATH "~/.cddb"
     10 #define DEFAULT_SERVER    "cddb.cddb.com"
     11 #define DEFAULT_DEVICE    "/dev/cdrom"
     12 #define DEFAULT_TO_CDDBD  "xmcd-cddb@amb.org"
     13 #define MAIL_BINARY       "mail"
     14 
     15 
     16 struct SITE {
     17   char *name;
     18   int  port;
     19   struct SITE *next;
     20 };
     21 
     22 struct CONFIG {
     23   char   *device;               /* CD device to use */
     24   char   *local_cddb;
     25   char   *current;              /* Current server name */
     26   char   *to_cddbd;             /* Server to send to */
     27   struct SITE *server;
     28   short  done_eject;            /* Eject when play is finished */
     29   short  exit_eject;            /* Eject on Exit when not playing */
     30   short  startup;               /* What should we do at startup? See STARTUP_* */
     31   short  cddb;                  /* Is cddb support enabled? */
     32   short  changer;               /* Is IDE CD changer support enabled? */
     33   short  saved;                 /* Saved state. 1 = saved, 0 = needs to be saved */
     34 };