Debian Codegraph @

src/vm/getset.h

raw
1 /*
2 * Copyright (C) 2000, 2001 Håkan Hjort
3 * Copyright (C) 2001 Rich Wareham <[email protected]>
4 * 2002-2004 the dvdnav project
5 *
6 * This file is part of libdvdnav, a DVD navigation library. It is modified
7 * from a file originally part of the Ogle DVD player.
8 *
9 * libdvdnav is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * libdvdnav is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License along
20 * with libdvdnav; if not, write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 */
23
24 /* get_XYZ returns a value.
25 * set_XYZ sets state using passed parameters.
26 * returns success/failure.
27 */
28
29 /* Set */
30 int set_TT(vm_t *vm, int tt);
31 int set_PTT(vm_t *vm, int tt, int ptt);
32 int set_VTS_TT(vm_t *vm, int vtsN, int vts_ttn);
33 int set_VTS_PTT(vm_t *vm, int vtsN, int vts_ttn, int part);
34 int set_PROG(vm_t *vm, int tt, int pgcn, int pgn);
35 int set_VTS_PROG(vm_t *vm, int vtsN, int vts_ttn, int pgcn, int pgn);
36 int set_FP_PGC(vm_t *vm);
37 int set_MENU(vm_t *vm, int menu);
38 int set_PGCN(vm_t *vm, int pgcN);
39 int set_PGN(vm_t *vm); /* Set PGN based on (vm->state).CellN */
40 void set_RSMinfo(vm_t *vm, int cellN, int blockN);
41 void set_HL_BTN(vm_t *vm, int btnn);
42
43 /* Get */
44 int get_TT(vm_t *vm, int vtsN, int vts_ttn);
45 int get_ID(vm_t *vm, int id);
46 int get_PGCN(vm_t *vm);
47
48 const pgcit_t* get_MENU_PGCIT(vm_t *vm, ifo_handle_t *h, uint16_t lang);
49 const pgcit_t* get_PGCIT(vm_t *vm);
50