add ftppass_hostnamegen

This commit is contained in:
Fumitoshi UKAI
2001-11-23 20:23:41 +00:00
parent ad69eb843a
commit 03f128ea0d
4 changed files with 23 additions and 4 deletions

11
rc.c
View File

@@ -1,4 +1,4 @@
/* $Id: rc.c,v 1.7 2001/11/21 19:24:35 ukai Exp $ */
/* $Id: rc.c,v 1.8 2001/11/23 20:23:41 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -98,6 +98,9 @@ static int rc_initialized = 0;
#define CMT_EXTBRZ2 "<22><><EFBFBD><EFBFBD><EFBFBD>֥饦<D6A5><E9A5A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>2"
#define CMT_EXTBRZ3 "<22><><EFBFBD><EFBFBD><EFBFBD>֥饦<D6A5><E9A5A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>3"
#define CMT_FTPPASS "FTP<54>Υѥ<CEA5><D1A5><EFBFBD><EFA1BC>(<28><><EFBFBD>̤ϼ<CCA4>ʬ<EFBFBD><CAAC>mail address<73><73><EFBFBD>Ȥ<EFBFBD>)"
#ifdef FTPPASS_HOSTNAMEGEN
#define CMT_FTPPASS_HOSTNAMEGEN "FTP<54>Υѥ<CEA5><D1A5><EFBFBD>ɤΥɥᥤ<C9A5><E1A5A4>̾<EFBFBD><CCBE><EFBFBD><EFBFBD>ư<EFBFBD><C6B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
#endif
#define CMT_USERAGENT "User-Agent"
#define CMT_ACCEPTLANG "<22><><EFBFBD><EFBFBD><EFBFBD>Ĥ<EFBFBD><C4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(Accept-Language:)"
#define CMT_DOCUMENTCODE "ʸ<><CAB8><EFBFBD><EFBFBD>ʸ<EFBFBD><CAB8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
@@ -193,6 +196,9 @@ static int rc_initialized = 0;
#define CMT_EXTBRZ2 "Second External Browser"
#define CMT_EXTBRZ3 "Third External Browser"
#define CMT_FTPPASS "Password for FTP(use your mail address)"
#ifdef FTPPASS_HOSTNAMEGEN
#define CMT_FTPPASS_HOSTNAMEGEN "generate domain part of password for FTP"
#endif
#define CMT_USERAGENT "User-Agent"
#define CMT_ACCEPTLANG "Accept-Language"
/* #define CMT_DOCUMENTCODE "Document Charset" */
@@ -456,6 +462,9 @@ struct param_ptr params8[] =
struct param_ptr params9[] =
{
{"ftppasswd", P_STRING, PI_TEXT, (void *) &ftppasswd, CMT_FTPPASS, NULL},
#ifdef FTPPASS_HOSTNAMEGEN
{"ftppass_hostnamegen", P_INT, PI_ONOFF, (void *) &ftppass_hostnamegen, CMT_FTPPASS_HOSTNAMEGEN, NULL},
#endif
{"user_agent", P_STRING, PI_TEXT, (void *) &UserAgent, CMT_USERAGENT, NULL},
{"no_referer", P_INT, PI_ONOFF, (void *) &NoSendReferer, CMT_NOSENDREFERER, NULL},
{"accept_language", P_STRING, PI_TEXT, (void *) &AcceptLang, CMT_ACCEPTLANG, NULL},