1 /* cygwin_version.h: shared info for cygwin
3 Copyright 2000, 2001 Red Hat, Inc.
5 This file is part of Cygwin.
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
11 #include <cygwin/version.h>
14 /* This is for programs that want to access the shared data. */
15 class shared_info *cygwin_getshared (void);
17 struct cygwin_version_info
19 unsigned short api_major;
20 unsigned short api_minor;
21 unsigned short dll_major;
22 unsigned short dll_minor;
23 unsigned short shared_data;
24 unsigned short mount_registry;
25 const char *dll_build_date;
26 char shared_id[sizeof (CYGWIN_VERSION_DLL_IDENTIFIER) + 64];
29 extern cygwin_version_info cygwin_version;
30 extern const char *cygwin_version_strings;