LMMS
Loading...
Searching...
No Matches
w32cfg.h File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <io.h>
#include <time.h>
#include <memory.h>
#include <direct.h>
#include <fcntl.h>
#include <utime.h>
#include <stdlib.h>
#include <mbstring.h>

Go to the source code of this file.

Macros

#define _MBCS
#define GOT_UTIMBUF
#define CLEN(ptr)
#define PREINCSTR(ptr)
#define MBSCHR(str, c)
#define MBSRCHR(str, c)
#define WIN32_LEAN_AND_MEAN
#define Cdecl   __cdecl
#define AnsiToOem   CharToOemA
#define OemToAnsi   OemToCharA
#define DIR_END   '\\' /* OS uses '\\' as directory separator */
#define DIR_END2   '/' /* also check for '/' (RTL may convert) */
#define DATE_FORMAT   dateformat()
#define DATE_SEPCHAR   dateseparator()
#define lenEOL   2
#define PutNativeEOL   {*q++ = native(CR); *q++ = native(LF);}
#define USE_EF_UT_TIME
#define SET_DIR_ATTRIB
#define TIMESTAMP
#define NTSD_EAS   /* enable NTSD support unless explicitly suppressed */
#define RESTORE_ACL   /* "restore ACLs" only needed when NTSD_EAS active */
#define UNICODE_SUPPORT   /* enable UTF-8 filename support by default */
#define UNICODE_WCHAR   /* wchar_t is UTF-16 encoded on WIN32 */
#define IZ_CRC_LE_OPTIMIZ
#define CRTL_CP_IS_ISO
#define ISO_TO_INTERN(src, dst)
#define OEM_TO_INTERN(src, dst)
#define INTERN_TO_ISO(src, dst)
#define INTERN_TO_OEM(src, dst)
#define _OEM_INTERN(str1)
#define _ISO_INTERN(str1)
#define STR_TO_CP2(dst, src)
#define STR_TO_CP3(dst, src)
#define STR_TO_OEM
#define STR_TO_ISO
#define SYSTEM_SPECIFIC_GLOBALS
#define iz_w32_prepareTZenv()
#define W32_STATROOT_FIX
#define W32_STAT_BANDAID
#define __W32STAT_GLOBALS__
#define __W32STAT_G__
#define SSTAT(path, pbuf)
#define SCREENWIDTH   80
#define SCREENSIZE(scrrows, scrcols)
#define SCREENLWRAP   1
#define TABSIZE   8
#define ZOFF_T_DEFINED
#define Z_STAT_DEFINED
#define FZOFFT_FMT   "l"
#define FZOFFT_HEX_WID_VALUE   "8"
#define SHORTHDRSTATS   "%9lu %02u%c%02u%c%02u %02u:%02u %c"
#define SHORTFILETRAILER   " -------- -------\n%9lu %9lu file%s\n"

Typedefs

typedef long zoff_t

Functions

int getch_win32 OF ((void))
int screensize (int *tt_rows, int *tt_cols)

Macro Definition Documentation

◆ __W32STAT_G__

#define __W32STAT_G__

◆ __W32STAT_GLOBALS__

#define __W32STAT_GLOBALS__

◆ _ISO_INTERN

#define _ISO_INTERN ( str1)
Value:
ISO_TO_INTERN(str1, str1)
#define ISO_TO_INTERN(src, dst)
Definition w32cfg.h:268

◆ _MBCS

#define _MBCS

◆ _OEM_INTERN

#define _OEM_INTERN ( str1)
Value:
OEM_TO_INTERN(str1, str1)
#define OEM_TO_INTERN(src, dst)
Definition w32cfg.h:269

◆ AnsiToOem

#define AnsiToOem   CharToOemA

◆ Cdecl

#define Cdecl   __cdecl

◆ CLEN

#define CLEN ( ptr)
Value:
_mbclen((const uch *)(ptr))
unsigned char uch
Definition unzip.h:401

◆ CRTL_CP_IS_ISO

#define CRTL_CP_IS_ISO

◆ DATE_FORMAT

#define DATE_FORMAT   dateformat()

◆ DATE_SEPCHAR

#define DATE_SEPCHAR   dateseparator()

◆ DIR_END

#define DIR_END   '\\' /* OS uses '\\' as directory separator */

◆ DIR_END2

#define DIR_END2   '/' /* also check for '/' (RTL may convert) */

◆ FZOFFT_FMT

#define FZOFFT_FMT   "l"

◆ FZOFFT_HEX_WID_VALUE

#define FZOFFT_HEX_WID_VALUE   "8"

◆ GOT_UTIMBUF

#define GOT_UTIMBUF

◆ INTERN_TO_ISO

#define INTERN_TO_ISO ( src,
dst )
Value:
{if ((src) != (dst)) strcpy((dst), (src));}

◆ INTERN_TO_OEM

#define INTERN_TO_OEM ( src,
dst )
Value:
AnsiToOem(src, dst)
#define AnsiToOem
Definition w32cfg.h:168

◆ ISO_TO_INTERN

#define ISO_TO_INTERN ( src,
dst )
Value:
{if ((src) != (dst)) strcpy((dst), (src));}

◆ IZ_CRC_LE_OPTIMIZ

#define IZ_CRC_LE_OPTIMIZ

◆ iz_w32_prepareTZenv

#define iz_w32_prepareTZenv ( )
Value:
putenv("TZ=")

◆ lenEOL

#define lenEOL   2

◆ MBSCHR

#define MBSCHR ( str,
c )
Value:
(char *)_mbschr((const uch *)(str), (c))
return c
Definition crypt.c:175

◆ MBSRCHR

#define MBSRCHR ( str,
c )
Value:
(char *)_mbsrchr((const uch *)(str), (c))

◆ NTSD_EAS

#define NTSD_EAS   /* enable NTSD support unless explicitly suppressed */

◆ OEM_TO_INTERN

#define OEM_TO_INTERN ( src,
dst )
Value:
OemToAnsi(src, dst)
#define OemToAnsi
Definition w32cfg.h:171

◆ OemToAnsi

#define OemToAnsi   OemToCharA

◆ PREINCSTR

#define PREINCSTR ( ptr)
Value:
(ptr = (char *)_mbsinc((const uch *)(ptr)))

◆ PutNativeEOL

#define PutNativeEOL   {*q++ = native(CR); *q++ = native(LF);}

◆ RESTORE_ACL

#define RESTORE_ACL   /* "restore ACLs" only needed when NTSD_EAS active */

◆ SCREENLWRAP

#define SCREENLWRAP   1

◆ SCREENSIZE

#define SCREENSIZE ( scrrows,
scrcols )
Value:
screensize(scrrows, scrcols)
int screensize(int *tt_rows, int *tt_cols)
Definition win32.c:2655

◆ SCREENWIDTH

#define SCREENWIDTH   80

◆ SET_DIR_ATTRIB

#define SET_DIR_ATTRIB

◆ SHORTFILETRAILER

#define SHORTFILETRAILER   " -------- -------\n%9lu %9lu file%s\n"

◆ SHORTHDRSTATS

#define SHORTHDRSTATS   "%9lu %02u%c%02u%c%02u %02u:%02u %c"

◆ SSTAT

#define SSTAT ( path,
pbuf )
Value:
zstat_win32(__W32STAT_G__ path, pbuf)
#define __W32STAT_G__
Definition w32cfg.h:357

◆ STR_TO_CP2

#define STR_TO_CP2 ( dst,
src )
Value:
(AnsiToOem(src, dst), dst)

◆ STR_TO_CP3

#define STR_TO_CP3 ( dst,
src )
Value:
(OemToAnsi(src, dst), dst)

◆ STR_TO_ISO

#define STR_TO_ISO

◆ STR_TO_OEM

#define STR_TO_OEM

◆ SYSTEM_SPECIFIC_GLOBALS

#define SYSTEM_SPECIFIC_GLOBALS
Value:
unsigned nLabelDrive;\
char lastRootPath[4];\
int lastVolOldFAT, lastVolLocTim;\
char *rootpath, *buildpathHPFS, *buildpathFAT, *endHPFS, *endFAT;\
ZCONST char *wildname;\
char *dirname, matchname[FILNAMSIZ];\
int rootlen, have_dirname, dirnamelen, notfirstcall;\
#define ZCONST
Definition crc32.h:25
G wild_dir
Definition unix.c:299
G notfirstcall
Definition unix.c:300
G renamed_fullpath
Definition unix.c:537
G created_dir
Definition unix.c:534
char zvoid
Definition unzip.h:399
#define FILNAMSIZ
Definition unzpriv.h:1198
G fnlen
Definition win32.c:1684

◆ TABSIZE

#define TABSIZE   8

◆ TIMESTAMP

#define TIMESTAMP

◆ UNICODE_SUPPORT

#define UNICODE_SUPPORT   /* enable UTF-8 filename support by default */

◆ UNICODE_WCHAR

#define UNICODE_WCHAR   /* wchar_t is UTF-16 encoded on WIN32 */

◆ USE_EF_UT_TIME

#define USE_EF_UT_TIME

◆ W32_STAT_BANDAID

#define W32_STAT_BANDAID

◆ W32_STATROOT_FIX

#define W32_STATROOT_FIX

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

◆ Z_STAT_DEFINED

#define Z_STAT_DEFINED

◆ ZOFF_T_DEFINED

#define ZOFF_T_DEFINED

Typedef Documentation

◆ zoff_t

typedef long zoff_t

Function Documentation

◆ OF()

int getch_win32 OF ( (void) )

◆ screensize()

int screensize ( int * tt_rows,
int * tt_cols )