1/* 2 * (C) Maint Laboratory 2003-2004 3 * Author: Elohin Igor' 4 * e-mail: maint@unona.ru 5 * fido : 2:5070/222.52 6 * URL : http://maint.unona.ru 7 */ 8#ifndef __CONFIG_H__ 9#define __CONFIG_H__ 10 11#define OUTGOING "/var/spool/leafnode2/out.going" 12#define FAILED_POSTING "/var/spool/leafnode2/failed.postings" 13#define INCOMING "/var/spool/leafnode2/in.coming" 14#define DUPE_POST "/var/spool/leafnode2/dupe.post" 15#define INTERESTING_GROUPS "/var/spool/leafnode2/interesting.groups" 16#define GROUPINFO "/var/spool/leafnode2/leaf.node/groupinfo" 17#ifdef _BSD 18#define LOCAL_GROUPINFO "/usr/local/etc/leafnode/local.groups" 19#include <limits.h> 20#else 21#define LOCAL_GROUPINFO "/etc/leafnode/local.groups" 22#endif 23#define ACTIVE "/var/spool/leafnode2/leaf.node/active" 24#define RFC2FTN "<SEND_RFC2FTN> -n -v" 25#define DELETE_CTRL_D "<LIBEXECDIR>/ctrld" // ������ Ctrl+D � ����� �����, ������� ������ leafnode 26#define UTIL_LOGDIR "/var/log/leafnode" 27#define LEAFNODE_OWNER "news" 28#define LOGFILE "util-leafnode" 29#define PORT_NEWSSERV 119 30 31#ifdef READ_CONFIG 32char outgoing[PATH_MAX]; 33char failed_posting[PATH_MAX]; 34char incoming[PATH_MAX]; 35char dupe_post[PATH_MAX]; 36char interesting_groups[PATH_MAX]; 37char groupinfo[PATH_MAX]; 38char local_groupinfo[PATH_MAX]; 39char active[PATH_MAX]; 40char rfc2ftn[PATH_MAX]; 41char delete_ctrl_d[PATH_MAX]; // ������ ctrl+d � ����� �����, ������� ������ leafnode 42char util_logdir[PATH_MAX]; 43char leafnode_owner[15]; 44char logfile[15]; 45int port_newsserv; 46char ffgroups[128]; 47#else 48extern char outgoing[]; 49extern char failed_posting[]; 50extern char incoming[]; 51extern char dupe_post[]; 52extern char interesting_groups[]; 53extern char groupinfo[]; 54extern char local_groupinfo[]; 55extern char active[]; 56extern char rfc2ftn[]; 57extern char delete_ctrl_d[]; // ������ ctrl+d � ����� �����, ������� ������ leafnode 58extern char util_logdir[]; 59extern char leafnode_owner[]; 60extern char logfile[]; 61extern int port_newsserv; 62extern char ffgroups[128]; 63#endif 64 65#endif 66