/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ############################################################################## */ #include "platform.h" #include "portlist.h" #include "jlib.hpp" #include "jmisc.hpp" #include "jptree.hpp" #include "jarray.hpp" #include "jencrypt.hpp" #include "jregexp.hpp" #include "jptree.hpp" #include "jlzw.hpp" #include "jexcept.hpp" #include "jset.hpp" #include "jprop.hpp" #include "mpbase.hpp" #include "mpcomm.hpp" #include "daclient.hpp" #include "dadiags.hpp" #include "danqs.hpp" #include "dadfs.hpp" #include "dasds.hpp" #include "dautils.hpp" #include "daaudit.hpp" #include "daft.hpp" #include "rmtfile.hpp" #include "workunit.hpp" #include "dllserver.hpp" #ifdef _WIN32 #include #else #define _getch getchar #define _putch putchar #endif #define DEFAULT_DALICONNECT_TIMEOUT 5 // seconds static unsigned daliConnectTimeoutMs = 5000; static bool noninteractive=false; void usage(const char *exe) { printf("Usage:\n"); printf(" %s [] {