1 /*
2     Decompile VM instructions to human-readable form
3 */
4 
5 #ifndef DVDUNCOMPILE_H_INCLUDED
6 #define DVDUNCOMPILE_H_INCLUDED
7 
8 /* Ogle - A video player
9  * Copyright (C) 2000, 2001 Martin Norbäck, Håkan Hjort
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
24  * MA 02110-1301 USA.
25  */
26 
27 #include <libxml/tree.h>
28 #include <dvdread/ifo_types.h> // Only for vm_cmd_t
29 
30 void vm_add_mnemonics
31   (
32     xmlNodePtr node, /* the node to append the disassembly to */
33     const char *base, /* prepended to every output line for indentation purposes */
34     int ncmd, /* nr of commands */
35     const vm_cmd_t *commands /* array */
36   );
37   /* disassembles the specified command sequence as content for the specified XML tag. */
38 
39 #endif /* DVDUNCOMPILE_H_INCLUDED */
40