]>
Commit | Line | Data |
---|---|---|
f0338f54 CF |
1 | /* per_process.h: main Cygwin header file. |
2 | ||
95a8465b | 3 | Copyright 2000, 2001 Red Hat, Inc. |
f0338f54 CF |
4 | |
5 | This file is part of Cygwin. | |
6 | ||
7 | This software is a copyrighted work licensed under the terms of the | |
8 | Cygwin license. Please consult the file "CYGWIN_LICENSE" for | |
9 | details. */ | |
10 | ||
11 | #include <sys/cygwin.h> | |
12 | ||
95a8465b CF |
13 | #ifdef __cplusplus |
14 | extern "C" { | |
15 | #endif | |
16 | ||
f0338f54 | 17 | /* Pointer into application's static data */ |
95a8465b | 18 | extern struct per_process __cygwin_user_data; |
f0338f54 CF |
19 | #define user_data (&__cygwin_user_data) |
20 | ||
21 | /* We use the following to test that sizeof hasn't changed. When adding | |
22 | or deleting members, insert fillers or use the reserved entries. | |
23 | Do not change this value. */ | |
24 | #define SIZEOF_PER_PROCESS (42 * 4) | |
95a8465b CF |
25 | |
26 | #ifdef __cplusplus | |
27 | } | |
28 | #endif |