Roxen.git
/
server
/
tools
/
ntroxen
/
startdll
/
cmdline.cpp
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:1:
// cmdline.cpp: implementation of the CCmdLine class. //
-
// $Id: cmdline.cpp,v 1.
11
2001/10/
02
12
:
48
:
37
tomas Exp $
+
// $Id: cmdline.cpp,v 1.
12
2001/10/
08
13
:
53
:
52
tomas Exp $
// ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "startdll.h" #include "cmdline.h" #include "roxen.h" #include "enumproc.h" #ifdef _DEBUG
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:363:
" .B--help -?B.: This information.", "", " .B--installB.: Register application and install as", " an NT service.", "", " .B--registerB.: Register application.", "", " .B--removeB.: Remove all registry setting and uninstall", " the NT service.", "",
+
" .B--offlineB.: Indicate that there is no network",
+
" connection available. Disables DNS and some",
+
" other similar things.",
+
"",
" .B--remove-dumpedB.: Remove all dumped code, thus forcing", " a recompile.", "", " .B--verbose -vB.: Enable more verbose messages.", "", " .B--quiet -qB.: Disable most of the messages.", "", /* " .B--log-dir=DIRB.: Set the log directory. Defaults to .B../logsB..", "",
Roxen.git/server/tools/ntroxen/startdll/cmdline.cpp:948:
// DEFINES="-DFD_DEBUG $DEFINES" if (Match(*argv, "--fd-debug", NULL, NULL) || Match(*argv, "--with-fd-debug", NULL, NULL) || Match(*argv, "--enable-fd-debug", NULL, NULL) ) { m_saPikeDefines.Add("-DFD_DEBUG"); type = eArgPike; return 1; }
+
//'--offline')
+
// DEFINES="-DNO_DNS -DOFFLINE $DEFINES"
+
if (Match(*argv, "--offline", NULL, NULL) )
+
{
+
m_saPikeDefines.Add("-DNO_DNS");
+
m_saPikeDefines.Add("-DOFFLINE");
+
type = eArgPike;
+
return 1;
+
}
+
//'--without-ram-cache'|'--disable-ram-cache') // DEFINES="`echo $DEFINES | sed -e 's/-DRAM_CACHE//g'`" if (Match(*argv, "--without-ram-cache", NULL, NULL) || Match(*argv, "--disable-ram-cache", NULL, NULL) ) { m_saPikeDefines.Remove("-DRAM_CACHE"); type = eArgPike; return 1; }