2 * Name: Config file functions
4 * Purpose: Read info from casrc ou create one if it doesnt exist
6 * Author: Pedro de Oliveira <falso@rdk.homeip.net>
8 * Copyright (c) 2004-2008 Pedro de Oliveira ( falso@rdk.homeip-net )
10 * This file is part of aMule.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the
24 * Free Software Foundation, Inc.,
25 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
29 #ifndef CAS_CONFIGFILE_H
30 #define CAS_CONFIGFILE_H
32 #define IMG_TEXTLINES 7
40 int enabled
[IMG_TEXTLINES
];
42 int img_type
; // 0 = PNG, else = JPG
45 int writeconfig(void);
46 int readconfig(CONF
*config
);
49 /* // File_checked_for_headers */