p7zip-rar/CPP/myWindows/myPrivate.h
2017-10-11 12:40:22 +02:00

26 lines
607 B
C++

void WINAPI RtlSecondsSince1970ToFileTime( DWORD Seconds, FILETIME * ft );
extern "C" int global_use_utf16_conversion;
#ifdef ENV_HAVE_LSTAT
extern "C" int global_use_lstat;
#endif
const char *my_getlocale(void);
#ifdef NEED_NAME_WINDOWS_TO_UNIX
static inline const char * nameWindowToUnix(const char * lpFileName) {
if ((lpFileName[0] == 'c') && (lpFileName[1] == ':')) return lpFileName+2;
return lpFileName;
}
#endif
// From mySplitCommandLine.cpp
void mySplitCommandLine(int numArguments, char *arguments[],UStringVector &parts);
class CStdOutStream;
void showP7zipInfo(CStdOutStream *so);