annotate unrar_exec.h @ 25361:f95cd1391ea0

Support using unrar executable to access rar-compressed vobsub files.
author ulion
date Fri, 14 Dec 2007 08:16:39 +0000
parents
children ae7399c268fe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25361
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
1 /*
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
2 * List files and extract file from rars by using external executable unrar.
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
3 *
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
4 * Copyright (C) 2005 Jindrich Makovicka <makovick gmail com>
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
5 * Copyright (C) 2007 Ulion <ulion2002 gmail com>
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
6 *
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
7 * This file is part of MPlayer.
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
8 *
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
9 * MPlayer is free software; you can redistribute it and/or modify
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
10 * it under the terms of the GNU General Public License as published by
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
11 * the Free Software Foundation; either version 2 of the License, or
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
12 * (at your option) any later version.
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
13 *
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
14 * MPlayer is distributed in the hope that it will be useful,
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
17 * GNU General Public License for more details.
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
18 *
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
19 * You should have received a copy of the GNU General Public License
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
20 * along with MPlayer; if not, write to the Free Software
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
22 */
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
23
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
24 #ifndef UNRAR_EXEC_H
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
25 #define UNRAR_EXEC_H
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
26
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
27 #include "unrarlib.h"
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
28
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
29 extern char* unrar_executable;
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
30
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
31 int unrar_exec_get(unsigned char **output, unsigned long *size,
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
32 const char *filename, const char *rarfile);
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
33
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
34 int unrar_exec_list(const char *rarfile, ArchiveList_struct **list);
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
35
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
36 void unrar_exec_freelist(ArchiveList_struct *list);
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
37
f95cd1391ea0 Support using unrar executable to access rar-compressed vobsub files.
ulion
parents:
diff changeset
38 #endif /* UNRAR_EXEC_H */