/*
 * newsl_config.h
 *
 * Configuration load/save for newslettersan
 *
 * Header file
 *
 * Author: Dario Rodriguez dario@softhome.net
 * This program is licensed under the terms of the Affero GPL v1+
 */

#ifndef NEWSL_CONFIG_H
#define NEWSL_CONFIG_H

typedef struct newslconfig {
	char *logfile;
} newslconfig;

newslconfig *newslconfig_init(char *configfile);
void newslconfig_free(newslconfig *config);

int newslconfig_exists(char *configfile);
int newslconfig_write(char *configfile,char *logfile);

#endif