1 /* cygwin_version.h: shared info for cygwin
3 This file is part of Cygwin.
5 This software is a copyrighted work licensed under the terms of the
6 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 #include <cygwin/version.h>
12 /* This is for programs that want to access the shared data. */
13 class shared_info
*cygwin_getshared (void);
15 struct cygwin_version_info
17 unsigned short api_major
;
18 unsigned short api_minor
;
19 unsigned short dll_major
;
20 unsigned short dll_minor
;
21 unsigned short shared_data
;
22 unsigned short mount_registry
;
23 const char *dll_build_date
;
24 char shared_id
[sizeof (CYGWIN_VERSION_DLL_IDENTIFIER
) + 64];
27 extern cygwin_version_info cygwin_version
;
28 extern const char *cygwin_version_strings
;