File: cdtool.h

package info (click to toggle)
cdtool 2.1.8-release-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 728 kB
  • sloc: ansic: 4,200; sh: 2,823; makefile: 143
file content (32 lines) | stat: -rw-r--r-- 611 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
/* cdtool.h */
#ifndef _CDTOOL_H
#define _CDTOOL_H

#include "hardware.h"

/* commands for skiping in playback mode */
#define SKIPBACK	-1
#define SKIPFORWARD	-2
#define SKIPSTART	-3

/* 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 for do_dir:
 *  do_dir (program_name, cd_file, p_format, usedb, cd_device); */
#define P_QUICK		0x01
#define P_LONG		0x02
#define P_TEMPL		0x03
#define P_RAW		0x04

typedef struct cdtool {
    int fd;
    char *device;
    cdhw_t *hw;
} cdtool_t;

#endif