Fix permissions handling (CVE-2010-0825).
[emacs.git] / src / dosfns.h
blob1759ffd8a90aefdd6637245e21cf5128e28952c0
1 /* MS-DOS specific Lisp utilities interface.
2 Coded by Manabu Higashida, 1991.
3 Modified by Morten Welinder, 1993-1994.
5 Copyright (C) 1991, 1994, 1995, 1997, 1999, 2001, 2002, 2003, 2004,
6 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
8 This file is part of GNU Emacs.
10 GNU Emacs is free software: you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
15 GNU Emacs is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 extern EMACS_INT dos_hyper_key;
24 extern EMACS_INT dos_super_key;
25 extern EMACS_INT dos_decimal_point;
26 extern EMACS_INT dos_keypad_mode;
28 extern EMACS_INT dos_keyboard_layout;
29 extern EMACS_INT dos_country_code;
30 extern EMACS_INT dos_codepage;
31 extern EMACS_INT dos_timezone_offset;
33 #define DOS_COUNTRY_INFO 34 /* no of bytes returned by dos int 38h */
34 extern unsigned char dos_country_info[DOS_COUNTRY_INFO];
36 extern Lisp_Object Vdos_version;
37 extern Lisp_Object Vdos_windows_version;
38 #ifndef HAVE_X_WINDOWS
39 extern Lisp_Object Vdos_display_scancodes;
41 extern int msdos_stdcolor_idx P_ ((const char *));
42 extern Lisp_Object msdos_stdcolor_name P_ ((int));
43 #endif
45 /* arch-tag: a83b8c4c-63c8-451e-9e94-bc72e3e2f8bc
46 (do not change this comment) */