annotate dvd_input.h @ 18:2a219d444297 src

Comments cleanup: fix spelling and grammar errors. Patch by: Erik Hovland !erik#hovland at org*
author rathann
date Mon, 01 Sep 2008 21:04:33 +0000
parents fdbae45c30fc
children fce16251755c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
1 #ifndef DVD_INPUT_H_INCLUDED
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
2 #define DVD_INPUT_H_INCLUDED
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
4 /*
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
5 * Copyright (C) 2001, 2002 Samuel Hocevar <sam@zoy.org>,
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
6 * Håkan Hjort <d95hjort@dtek.chalmers.se>
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
7 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
11 * (at your option) any later version.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
12 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
16 * GNU General Public License for more details.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
17 *
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
21 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
22
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
23 /**
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
24 * Defines and flags. Make sure they fit the libdvdcss API!
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
25 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
26 #define DVDINPUT_NOFLAGS 0
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
27
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
28 #define DVDINPUT_READ_DECRYPT (1 << 0)
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
29
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
30 typedef struct dvd_input_s *dvd_input_t;
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
31
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
32 /**
18
2a219d444297 Comments cleanup: fix spelling and grammar errors.
rathann
parents: 3
diff changeset
33 * Function pointers that will be filled in by the input implementation.
2a219d444297 Comments cleanup: fix spelling and grammar errors.
rathann
parents: 3
diff changeset
34 * These functions provide the main API.
3
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
35 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
36 extern dvd_input_t (*dvdinput_open) (const char *);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
37 extern int (*dvdinput_close) (dvd_input_t);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
38 extern int (*dvdinput_seek) (dvd_input_t, int);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
39 extern int (*dvdinput_title) (dvd_input_t, int);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
40 extern int (*dvdinput_read) (dvd_input_t, void *, int, int);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
41 extern char * (*dvdinput_error) (dvd_input_t);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
42
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
43 /**
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
44 * Setup function accessed by dvd_reader.c. Returns 1 if there is CSS support.
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
45 */
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
46 int dvdinput_setup(void);
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
47
fdbae45c30fc moved to src/ the sources files
nicodvb
parents:
diff changeset
48 #endif /* DVD_INPUT_H_INCLUDED */