File: info.h

package info (click to toggle)
cdtool 2.1.8-release-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 568 kB
  • ctags: 195
  • sloc: sh: 2,823; ansic: 2,546; makefile: 72
file content (71 lines) | stat: -rw-r--r-- 2,155 bytes parent folder | download | duplicates (6)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#ifndef __INFO_H__
#define __INFO_H__
/************************************************************************/
/* 
 * Header:	INFO
 * Purpose:     to define the interface to the INFO module
 * Language/Compiler/O/S:   GCC 2.7.2
 * Author:      Wade Hampton
 * Date:        12/22/97
 * Revision History:
 * [from RCS]
 *
 * $Log: info.h,v $
 * Revision 1.4  1998/07/15 13:53:36  wadeh
 * prior to Lin's changes
 *
 * Revision 1.3  1998/01/06 21:00:33  wadeh
 * Added DoCr, changes to fix cdeject crash.
 *
 * Revision 1.2  1997/12/23 22:52:51  wadeh
 * 2.1 beta 1 release
 *
 * Revision 1.1  1997/12/23 21:39:39  wadeh
 * Initial revision
 *
 *
 * Notes:
 * 1) 
 *----------------------------------------------------------------------*/
/* TYPES- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* INCLUDE FILES- - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#include "cdtool.h"

/* CONSTANTS- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* commands to the do_info command */
#define I_TRACK		0x01
#define I_AUDIOSTATUS	0x02
#define I_DISP_REL	0x03
#define I_DISP_ABS	0x04
#define I_DISP_ALL	0x05

/* commands to the do_dir command */
#define P_QUICK		0x01
#define P_LONG		0x02
#define P_TEMPL		0x03
#define P_RAW		0x04

/* LOCAL DATA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* EXTERNAL PROCEDURES- - - - - - - - - - - - - - - - - - - - - - - - - */
/* EXTERNAL DATA- - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* PROTOTYPES - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* DO_INFO:  Display info about CD-ROM to stdout */
void do_info(
             cdtool_t *cdtool, /* cdtool handle */ 
	     int info          /* INFO command, I_* above */
	     );

/* DO_DIR:  Display info on the CD-ROM (reads optional database) */
void do_dir  (
             cdtool_t *cdtool, /* name of progarm */ 
	     int p_format,     /* command, P_* above */
	     int usedb         /* T/F, if T, try to read the database (text)*/
	     );      
/*
 * Copyright (C) 1997, 1998 Wade Hampton
 */
/************************************************************************/
#endif