2 * Copyright (C) 2009 by David Kedves <kedazo@gmail.com>
4 * This file is part of rarcrack.
6 * Rarcrack is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
11 * Rarcrack is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with rarcrack. If not, see <http://www.gnu.org/licenses/>.
25 #include <glib/gprintf.h>
26 #include <glib/gstdio.h>
28 typedef struct _params
{
29 gchar
* file_ext
; /* the archive filename */
30 gchar
* file_type
; /* archive type */
31 guint file_type_id
; /* archive TYPES id */
32 gchar
* file_status
; /* the status filename */
33 gchar
* current
; /* current password (from we are resuming) */
34 gchar
* charset
; /* character-set specification */
35 gchar
* file_dict
; /* dictionary file */
36 /* TODO: if (!charset && !file_dict) we read passwords from stdin */
37 int threads
; /* number of concurrent cracking threads */