12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /**
- * saop: smtp authentication over pop3
- * Copyright (C) 2007 Juan José Gutiérrez de Quevedo <juanjo@iteisa.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; version 2 of the License
- *
- * 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.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * @author Juan José Gutiérrez de Quevedo <juanjo@iteisa.com>
- */
- #ifndef CONFIG_H
- #define CONFIG_H
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- #include "utils.h"
- struct config_t
- {
- #ifndef WIN32
- unsigned char background;
- unsigned char drop_privileges;
- char user[512];
- char group[512];
- char chroot[512];
- #endif /* WIN32 */
- unsigned short listen_port;
- char smtp_server[512];
- unsigned short smtp_port;
- char auth_server[512];
- unsigned short auth_port;
- char auth_file[512];
- char local_domains[512];
- char auth_method[512];
- };
- void read_config(char *,struct config_t *);
- #endif /* CONFIG_H */
|