File: xfreecd.h

package info (click to toggle)
xfreecd 0.9.0.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 1,572 kB
  • ctags: 333
  • sloc: ansic: 5,253; makefile: 59
file content (34 lines) | stat: -rw-r--r-- 1,270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/* ------------------------------------------------------------------------
   xfreecd include file for XfreeCD

   Copyright 1998 by Brian C. Lane
   http://www.brianlane.com/

   ------------------------------------------------------------------------ */
#define DEFAULT_CDDB_PATH "~/.config/CDDB"
#define DEFAULT_SERVER    "freedb.freedb.org"
#define DEFAULT_DEVICE    "/dev/cdrom"
#define DEFAULT_TO_CDDBD  "xmcd-cddb@amb.org"
#define MAIL_BINARY       "mail"


struct SITE {
  char *name;
  int  port;
  struct SITE *next;
};

struct CONFIG {
  char   *device;               /* CD device to use */
  char   *local_cddb;
  char   *current;              /* Current server name */
  char   *to_cddbd;             /* Server to send to */
  struct SITE *server;
  short  done_eject;            /* Eject when play is finished */
  short  exit_eject;            /* Eject on Exit when not playing */
  short  startup;               /* What should we do at startup? See STARTUP_* */
  short  cddb;                  /* Is cddb support enabled? */
  short  wm_no_decor;           /* Hide main window decorations? */
  short  changer;               /* Is IDE CD changer support enabled? */
  short  saved;                 /* Saved state. 1 = saved, 0 = needs to be saved */
};