~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/dlls/msvcrt/mtdll.h

Version: ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  1 /*
  2  * Copyright (c) 2002, TransGaming Technologies Inc.
  3  *
  4  * This library is free software; you can redistribute it and/or
  5  * modify it under the terms of the GNU Lesser General Public
  6  * License as published by the Free Software Foundation; either
  7  * version 2.1 of the License, or (at your option) any later version.
  8  *
  9  * This library is distributed in the hope that it will be useful,
 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 12  * Lesser General Public License for more details.
 13  *
 14  * You should have received a copy of the GNU Lesser General Public
 15  * License along with this library; if not, write to the Free Software
 16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 17  */
 18 
 19 #ifndef WINE_MTDLL_H
 20 #define WINE_MTDLL_H
 21 
 22 #if defined(_MT)
 23 
 24 #define _mlock(locknum)   _lock(locknum)
 25 #define _munlock(locknum) _unlock(locknum)
 26 
 27 void _unlock( int locknum );
 28 void _lock( int locknum );
 29 
 30 #else
 31 
 32 #define _mlock(locknum)   do {} while(0)
 33 #define _munlock(locknum) do {} while(0)
 34 
 35 #endif
 36 
 37 
 38 #define _SIGNAL_LOCK    1
 39 #define _IOB_SCAN_LOCK  2
 40 #define _TMPNAM_LOCK    3
 41 #define _INPUT_LOCK     4
 42 #define _OUTPUT_LOCK    5
 43 #define _CSCANF_LOCK    6
 44 #define _CPRINTF_LOCK   7
 45 #define _CONIO_LOCK     8
 46 #define _HEAP_LOCK      9
 47 #define _BHEAP_LOCK          10 /* No longer used? */
 48 #define _TIME_LOCK      11
 49 #define _ENV_LOCK       12
 50 #define _EXIT_LOCK1     13
 51 #define _EXIT_LOCK2          14
 52 #define _THREADDATA_LOCK     15 /* No longer used? */
 53 #define _POPEN_LOCK     16
 54 #define _LOCKTAB_LOCK   17
 55 #define _OSFHND_LOCK    18
 56 #define _SETLOCALE_LOCK 19
 57 #define _LC_COLLATE_LOCK     20 /* No longer used? */
 58 #define _LC_CTYPE_LOCK       21 /* No longer used? */
 59 #define _LC_MONETARY_LOCK    22 /* No longer used? */
 60 #define _LC_NUMERIC_LOCK     23 /* No longer used? */
 61 #define _LC_TIME_LOCK        24 /* No longer used? */
 62 #define _MB_CP_LOCK     25
 63 #define _NLG_LOCK       26
 64 #define _TYPEINFO_LOCK  27
 65 #define _STREAM_LOCKS   28
 66 
 67 /* Must match definition in msvcrt/stdio.h */
 68 #define _IOB_ENTRIES    20
 69 
 70 #define _LAST_STREAM_LOCK  (_STREAM_LOCKS+_IOB_ENTRIES-1)
 71 
 72 #define _TOTAL_LOCKS        (_LAST_STREAM_LOCK+1)
 73 
 74 #endif /* WINE_MTDLL_H */
 75 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.