annotate src/msdos.h @ 154:94141801dd7e

Added tag r20-3b3 for changeset 25f70ba0133c
author cvs
date Mon, 13 Aug 2007 09:38:27 +0200
parents 376386a54a3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* MS-DOS specific C utilities, interface.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1993 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 under the terms of the GNU General Public License as published by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 Free Software Foundation; either version 2, or (at your option) any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 /* Synched up with: FSF 19.28. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 #include <time.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 #include <dpmi.h>
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 int dos_ttraw ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 int dos_ttcooked ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 int getdefdir (int, char*);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 void unixtodos_filename (char *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 void dostounix_filename (char *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 void sleep_or_kbd_hit (int, int);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 char *rootrelativepath (char *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 void init_environment ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 void internal_terminal_init ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 #ifndef _stdio_h_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 int internal_flush (FILE *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 #endif
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 void ctrl_break_func (_go32_dpmi_registers *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 void install_ctrl_break_check ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 extern int have_mouse;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 int mouse_init1 ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 void mouse_init ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 void mouse_on ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 void mouse_off ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 void mouse_moveto (int, int);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 void mouse_check_moved ();
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 int mouse_pressed (int, int *, int *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 int mouse_released (int, int *, int *);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 void init_gettimeofday ();