On 31.12.2015 6:32, Paul Hayton - All wrote:
> Is there somewhere where I can find a definitive list of keywords that are
> avaliable to use in this file? The binkd.cfg I use has a bunch of
> keyword:value settings but I am unsure if all of them are there?
If you take a look at readcfg.c, you find these:
{"include", include, NULL, 0, 0},
{"passwords", passwords, work_config.passwords, 'f', 0},
{"log", read_log_string, work_config.logpath, 'f', 0},
{"loglevel", read_log_int, &work_config.loglevel, 0, DONT_CHECK},
{"conlog", read_log_int, &work_config.conlog, 0, DONT_CHECK},
{"binlog", read_string, work_config.binlogpath, 'f', 0},
{"fdinhist", read_string, work_config.fdinhist, 'f', 0},
{"fdouthist", read_string, work_config.fdouthist, 'f', 0},
{"tzoff", read_time, &work_config.tzoff, -12*60*60, 12*60*60},
{"domain", read_domain_info, NULL, 0, 0},
{"address", read_aka_list, NULL, 0, 0},
{"sysname", read_string, work_config.sysname, 0, MAXSYSTEMNAME},
{"bindaddr", read_string, work_config.bindaddr, 0, 42},
{"listen", read_listen, &work_config.listen, 0, 0},
{"sysop", read_string, work_config.sysop, 0, MAXSYSOPNAME},
{"location", read_string, work_config.location, 0, MAXLOCATIONNAME},
{"nodeinfo", read_string, work_config.nodeinfo, 0, MAXNODEINFO},
{"iport", read_port, &work_config.iport, 0, 0},
{"oport", read_port, &work_config.oport, 0, 0},
{"rescan-delay", read_time, &work_config.rescan_delay, 1, DONT_CHECK},
{"call-delay", read_time, &work_config.call_delay, 1, DONT_CHECK},
{"timeout", read_time, &work_config.nettimeout, 1, DONT_CHECK},
{"oblksize", read_int, &work_config.oblksize, MIN_BLKSIZE,
{"maxservers", read_int, &work_config.max_servers, 0, DONT_CHECK},
{"maxclients", read_int, &work_config.max_clients, 0, DONT_CHECK},
{"inbound", read_string, work_config.inbound, 'd', 0},
{"inbound-nonsecure", read_string, work_config.inbound_nonsecure,
{"temp-inbound", read_string, work_config.temp_inbound, 'd', 0},
{"node", read_node_info, NULL, 0, 0},
{"defnode", read_node_info, NULL, 1, 0},
{"kill-dup-partial-files", read_bool,
{"kill-old-partial-files", read_time,
{"kill-old-bsy", read_time, &work_config.kill_old_bsy, 1, DONT_CHECK},
{"percents", read_bool, &work_config.percents, 0, 0},
{"minfree", read_int, &work_config.minfree, 0, DONT_CHECK},
{"minfree-nonsecure", read_int, &work_config.minfree_nonsecure, 0,
{"flag", read_flag_exec_info, NULL, 'f', 0},
{"exec", read_flag_exec_info, NULL, 'e', 0},
{"printq", read_bool, &work_config.printq, 0, 0},
{"try", read_int, &work_config.tries, 0, 0xffff},
{"hold", read_time, &work_config.hold, 0, DONT_CHECK},
{"hold-skipped", read_time, &work_config.hold_skipped, 0, DONT_CHECK},
{"backresolv", read_bool, &work_config.backresolv, 0, 0},
{"pid-file", read_string, work_config.pid_file, 'f', 0},
#ifdef HTTPS
{"proxy", read_string, work_config.proxy, 0, BINKD_FQDNLEN + 40},
{"socks", read_string, work_config.socks, 0, BINKD_FQDNLEN + 40},
#endif
#if defined (HAVE_VSYSLOG) && defined (HAVE_FACILITYNAMES)
{"syslog", read_syslog_facility, &syslog_facility, 0, 0},
#endif
{"ftrans", read_rfrule, NULL, 0, 0},
{"send-if-pwd", read_bool, &work_config.send_if_pwd, 0, 0},
{"root-domain", read_string, work_config.root_domain, 0, BINKD_FQDNLEN},
{"prescan", read_bool, &work_config.prescan, 0, 0},
{"connect-timeout", read_time, &work_config.connect_timeout, 0,
DONT_CHECK},
#ifdef MAILBOX
{"filebox", read_string, work_config.tfilebox, 'd', 0},
{"brakebox", read_string, work_config.bfilebox, 'd', 0},
{"deletebox", read_bool, &work_config.deleteablebox, 0, 0},
#endif
{"skip", read_skip, NULL, 0, 0},
{"skipmask", read_skip, NULL, 1, 0},
{"inboundcase", read_inboundcase, &work_config.inboundcase, 0, 0},
{"deletedirs", read_bool, &work_config.deletedirs, 0, 0},
{"overwrite", read_mask, &work_config.overwrite, 0, 0},
{"dont-send-empty", read_dontsendempty, &work_config.dontsendempty,
{"rename-style", read_renamestyle, &work_config.renamestyle, 0, 0},
/* shared akas definitions */
{"share", read_shares, 0, 0, 0},
/* check pkt header keyword */
{"check-pkthdr", read_check_pkthdr, NULL, 0, 0},
#ifdef AMIGADOS_4D_OUTBOUND
{"aso", read_bool, &work_config.aso, 0, 0},
#endif
#ifdef WITH_PERL
{"perl-hooks", read_string, work_config.perl_script, 'f', 0},
{"perl-dll", read_string, work_config.perl_dll, 'f', 0},
{"perl-strict", read_bool, &work_config.perl_strict, 0, 0},
{"perl-var", read_perlvar, &work_config.perl_vars, 0, 0},
#endif
{"nolog", read_mask, &work_config.nolog, 0, 0},
{"hide-aka", read_akachain, &work_config.akamask, ACT_HIDE, 0},
{"present-aka", read_akachain, &work_config.akamask, ACT_PRESENT, 0},
#if defined(WITH_ZLIB) || defined(WITH_BZLIB2)
{"zlevel", read_int, &work_config.zlevel, 0, 9},
{"zminsize", read_int, &work_config.zminsize, 0, DONT_CHECK},
{"zallow", read_zrule, &work_config.zrules, ZRULE_ALLOW, 0},
{"zdeny", read_zrule, &work_config.zrules, ZRULE_DENY, 0},
#endif
#if defined (WITH_ZLIB) && defined (ZLIBDL)
{"zlib-dll", read_string, work_config.zlib_dll, 'f', 0},
#endif
#if defined (WITH_BZLIB2) && defined (ZLIBDL)
{"bzlib2-dll", read_string, work_config.bzlib2_dll, 'f', 0},
#endif
#ifdef BW_LIM
{"limit-rate", read_rate, NULL, 0, 0},
#endif
You may compare this to the newest binkd.cfg sample file at cvs. :)
'Tommi
---
* Origin: *** nntp://fidonews.mine.nu *** Finland *** (2:221/6.0)
|