Revision 9c69afef
Added by Hamish Coleman over 15 years ago
- ID 9c69afef574e321319fdb191753636703c3bcfbc
wconsd.c | ||
---|---|---|
int wconsd_main(int param1);
|
||
int wconsd_stop(int param1);
|
||
struct SCM_def sd = {
|
||
"wconsd","wconsd - Telnet to Serial server",
|
||
wconsd_init, wconsd_main, wconsd_stop
|
||
.name = "wconsd",
|
||
.desc = "wconsd - Telnet to Serial server",
|
||
.init = wconsd_init,
|
||
.main = wconsd_main,
|
||
.stop = wconsd_stop,
|
||
};
|
||
|
||
/*
|
||
* output from OutputDebugStringA can be seen using sysinternals debugview
|
||
* http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
|
||
* http://live.sysinternals.com/Dbgview.exe
|
||
*/
|
||
|
||
/*
|
||
... | ... | |
WSADATA wsaData;
|
||
int err;
|
||
|
||
if (sd->mode==SVC_CONSOLE) {
|
||
if (sd.mode==SVC_CONSOLE) {
|
||
/* We are running in a command-line mode */
|
||
dprintf_to_stdout=1;
|
||
|
Also available in: Unified diff
Fix the bugs with the new scm console code