newlib/winsup/cygwin/host_dependent.h
Christopher Faylor f0338f545d Break out more header info into separate files. Use appropriate header files
throughout.
* shared.h: Remove.
* cygwin_version.h: New file.
* delqueue.h: New file.
* environ.h: New file.
* host_dependent.h: New file.
* perprocess.h: New file.
* registry.h: New file.
* security.h: New file.
2000-09-08 02:56:55 +00:00

31 lines
859 B
C++

/* host_dependent.h: host dependent Cygwin header file.
Copyright 2000 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
/* Portions of the cygwin DLL require special constants whose values
are dependent on the host system. Rather than dynamically
determine those values whenever they are required, initialize these
values once at process start-up. */
class host_dependent_constants
{
public:
void init (void);
/* Used by fhandler_disk_file::lock which needs a platform-specific
upper word value for locking entire files. */
DWORD win32_upper;
/* fhandler_base::open requires host dependent file sharing
attributes. */
int shared;
};
extern host_dependent_constants host_dependent;