~ubuntu-branches/ubuntu/utopic/cdtool/utopic

« back to all changes in this revision

Viewing changes to cdctrl.h

  • Committer: Bazaar Package Importer
  • Author(s): Gergely Nagy
  • Date: 2002-01-22 14:08:28 UTC
  • Revision ID: james.westby@ubuntu.com-20020122140828-l9ztstm6m6anm34c
Tags: upstream-2.1.5
ImportĀ upstreamĀ versionĀ 2.1.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef __CDCTRL_H__
 
2
#define __CDCTRL_H__
 
3
/************************************************************************/
 
4
/* 
 
5
 * Header:      CDCTRL
 
6
 * Purpose:     to control the CD-ROM
 
7
 * Language/Compiler/O/S:   GCC 2.7.2
 
8
 * Author:      Wade Hampton
 
9
 * Date:        12/22/97
 
10
 * Revision History:
 
11
 * [from RCS]
 
12
 *
 
13
 * $Log: cdctrl.h,v $
 
14
 * Revision 1.3  1997/12/24 15:39:10  wadeh
 
15
 * Minor bug fixes:
 
16
 * 1) Fixed cdctrl eject command causing a signal 11.
 
17
 * 2) Fixed Makefile debug option to not strip symbols, can now debug.
 
18
 * 3) Added command.h and more prototypes, more documentation.
 
19
 * 4) Fixed read_hw to ralways return buffer, even on error.
 
20
 * ,
 
21
 *
 
22
 * Revision 1.2  1997/12/23 22:52:51  wadeh
 
23
 * 2.1 beta 1 release
 
24
 *
 
25
 * Revision 1.1  1997/12/23 21:39:39  wadeh
 
26
 * Initial revision
 
27
 *
 
28
 *
 
29
 * Notes:
 
30
 * 1) 
 
31
 *----------------------------------------------------------------------*/
 
32
/* TYPES- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 
33
/* INCLUDE FILES- - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 
34
/* CONSTANTS- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 
35
/* general definitions */
 
36
#ifndef TRUE
 
37
  #define TRUE (1==1)
 
38
#endif
 
39
 
 
40
#ifndef FALSE
 
41
  #define FALSE (1==0)
 
42
#endif
 
43
 
 
44
#define CD_DEVICE "/dev/cdrom"
 
45
 
 
46
/* commands for skiping in playback mode */
 
47
#define SKIPBACK        -1
 
48
#define SKIPFORWARD     -2
 
49
#define SKIPSTART       -3
 
50
 
 
51
/* LOCAL DATA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 
52
/* EXTERNAL PROCEDURES- - - - - - - - - - - - - - - - - - - - - - - - - */
 
53
/* EXTERNAL DATA- - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 
54
/* PROTOTYPES - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
 
55
/*
 
56
 * Copyright (C) 1997, 1998 Wade Hampton
 
57
 */
 
58
/************************************************************************/
 
59
#endif