123 |
__modem_chat_script, |
__modem_chat_script, |
124 |
__modem_dial_retry, |
__modem_dial_retry, |
125 |
__modem_retry_delay, |
__modem_retry_delay, |
|
__modem_abort_busy, |
|
|
__modem_abort_dialtone, |
|
126 |
#endif /* WITH_MODEM */ |
#endif /* WITH_MODEM */ |
127 |
|
|
128 |
#ifdef WITH_CABLE |
#ifdef WITH_CABLE |
129 |
__cable_aol_host, |
__tcpip_aol_host, |
130 |
__cable_aol_port, |
__tcpip_aol_port, |
|
__cable_interface, |
|
|
__cable_connect_ip, |
|
131 |
#endif /* WITH_CABLE */ |
#endif /* WITH_CABLE */ |
132 |
|
|
133 |
__last_param /* not a parameter */ |
__last_param /* not a parameter */ |
134 |
}; |
}; |
135 |
|
|
136 |
/* Macros for options access facility */ |
/* Macros for options access facility */ |
137 |
|
#define PARAM_CONFIG_FILE PARAM_STRING(__config_file) |
138 |
#define PARAM_ACCESS_METHOD PARAM_STRING(__access_method) |
#define PARAM_ACCESS_METHOD PARAM_STRING(__access_method) |
139 |
#define PARAM_PROTOCOL PARAM_STRING(__protocol) |
#define PARAM_PROTOCOL PARAM_STRING(__protocol) |
140 |
#define PARAM_INTERFACE_TYPE PARAM_STRING(__interface_type) |
#define PARAM_INTERFACE_TYPE PARAM_STRING(__interface_type) |
162 |
# define PARAM_MODEM_CHAT_SCRIPT PARAM_STRING(__modem_chat_script) |
# define PARAM_MODEM_CHAT_SCRIPT PARAM_STRING(__modem_chat_script) |
163 |
# define PARAM_MODEM_DIAL_RETRY PARAM_INTEGER(__modem_dial_retry) |
# define PARAM_MODEM_DIAL_RETRY PARAM_INTEGER(__modem_dial_retry) |
164 |
# define PARAM_MODEM_RETRY_DELAY PARAM_INTEGER(__modem_retry_delay) |
# define PARAM_MODEM_RETRY_DELAY PARAM_INTEGER(__modem_retry_delay) |
|
# define PARAM_MODEM_ABORT_BUSY PARAM_BOOLEAN(__modem_abort_busy) |
|
|
# define PARAM_MODEM_ABORT_DIALTONE PARAM_BOOLEAN(__modem_abort_dialtone) |
|
165 |
#endif /* WITH_MODEM */ |
#endif /* WITH_MODEM */ |
166 |
|
|
167 |
#ifdef WITH_CABLE |
#ifdef WITH_TCPIP |
168 |
# define PARAM_CABLE_AOL_HOST PARAM_STRING(__cable_aol_host) |
# define PARAM_TCPIP_AOL_HOST PARAM_STRING(__tcpip_aol_host) |
169 |
# define PARAM_CABLE_AOL_PORT PARAM_INTEGER(__cable_aol_port) |
# define PARAM_TCPIP_AOL_PORT PARAM_INTEGER(__tcpip_aol_port) |
170 |
# define PARAM_CABLE_INTERFACE PARAM_STRING(__cable_interface) |
#endif /* WITH_TCPIP */ |
|
# define PARAM_CABLE_CONNECT_IP PARAM_STRING(__cable_connect_ip) |
|
|
#endif /* WITH_CABLE */ |
|
|
|
|
|
#define DEFAULT_CONFIG "/etc/pengfork/pengfork.cfg" |
|
|
#define HOME_CONFIG "pengfork.cfg" |
|
171 |
|
|
172 |
extern param_t param[PARAM_MAX]; |
extern param_t param[PARAM_MAX]; |
173 |
|
|