cosmetics: reformatting
[mplayer/greg.git] / unrar_exec.h
blobf34cac4f10e891c68e66e4658208c39a4d43e9cd
1 /*
2 * List files and extract file from rars by using external executable unrar.
4 * Copyright (C) 2005 Jindrich Makovicka <makovick gmail com>
5 * Copyright (C) 2007 Ulion <ulion2002 gmail com>
7 * This file is part of MPlayer.
9 * MPlayer 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.
14 * MPlayer 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.
19 * You should have received a copy of the GNU General Public License
20 * along with MPlayer; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #ifndef UNRAR_EXEC_H
25 #define UNRAR_EXEC_H
27 #include "unrarlib.h"
29 extern char* unrar_executable;
31 int unrar_exec_get(unsigned char **output, unsigned long *size,
32 const char *filename, const char *rarfile);
34 int unrar_exec_list(const char *rarfile, ArchiveList_struct **list);
36 void unrar_exec_freelist(ArchiveList_struct *list);
38 #endif /* UNRAR_EXEC_H */