/*
 *  Copyright (C) 2008 Giuseppe Torelli - <colossus73@gmail.com>
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
 */

#ifndef RAR_H
#define RAR_H

#include <gtk/gtk.h>
#include <string.h>
#include <stdlib.h>
#include "string_utils.h"
#include "support.h"
#include "archive.h"
gboolean jump_header,jump_comment,read_filename, last_line, encrypted;
void xa_rar_delete (XArchive *,GSList *);
void xa_rar_add (XArchive *,GString *,gchar *);
gboolean xa_rar_extract(XArchive *,GSList *);
void xa_rar_test (XArchive *);
void xa_get_rar_line_content (gchar *line, gpointer data);
void xa_open_rar ( XArchive *archive );
#endif

#ifndef RAR5_H
#define RAR5_H

#include <gtk/gtk.h>
#include <string.h>
#include <stdlib.h>
#include "string_utils.h"
#include "support.h"
#include "archive.h"
gboolean jump_header,jump_comment,read_filename, last_line, encrypted;
void xa_rar5_delete (XArchive *,GSList *);
void xa_rar5_add (XArchive *,GString *,gchar *);
gboolean xa_rar5_extract(XArchive *,GSList *);
void xa_rar5_test (XArchive *);
void xa_get_rar5_line_content (gchar *line, gpointer data);
void xa_open_rar5 (XArchive *);
int xa_rar_checkversion (gchar *);
#endif
