stream.h: Add 2 prototypes instead of declaring them in cache2.c
[mplayer.git] / dvdread / cmd_print.h
blob92c746cec37767d37b697246567e780854b90493
1 /* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */
2 #ifndef CMD_PRINT_H_INCLUDED
3 #define CMD_PRINT_H_INCLUDED
5 /*
6 * Copyright (C) 2000, 2001, 2002, 2003 Martin Norbäck, Håkan Hjort
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #include <dvdread/ifo_types.h>
25 /**
26 * Pretty printing of the DVD commands (vm instructions).
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 /**
34 * Prints a text representation of the commands to stdout.
36 * @param command Pointer to the DVD command to be printed.
38 void cmdPrint_mnemonic(vm_cmd_t *command);
40 /**
41 * Prints row, then a hex dump of the command followed by the text
42 * representation of the commands, as given by cmdPrint_mnemonic to
43 * stdout.
45 * @param command Pointer to the DVD command to be printed. */
46 void cmdPrint_CMD(int row, vm_cmd_t *command);
48 #ifdef __cplusplus
50 #endif
51 #endif /* CMD_PRINT_H_INCLUDED */