Debian Codegraph @

WWW/Library/Implementation/HTDOS.h

raw
1 /*
2 * $LynxId: HTDOS.h,v 1.14 2009/09/09 00:16:06 tom Exp $
3 *
4 * DOS specific routines
5 */
6
7 #ifndef HTDOS_H
8 #define HTDOS_H
9
10 #ifndef HTUTILS_H
11 #include <HTUtils.h>
12 #endif /* HTUTILS_H */
13
14 /* PUBLIC HTDOS_wwwName()
15 * CONVERTS DOS Name into WWW Name
16 * ON ENTRY:
17 * dosname DOS file specification (NO NODE)
18 *
19 * ON EXIT:
20 * returns WWW file specification
21 *
22 */
23 const char *HTDOS_wwwName(const char *dosname);
24
25 /*
26 * Converts Unix slashes to DOS
27 */
28 char *HTDOS_slashes(char *path);
29
30 /* PUBLIC HTDOS_name()
31 * CONVERTS WWW name into a DOS name
32 * ON ENTRY:
33 * wwwname WWW file name
34 *
35 * ON EXIT:
36 * returns DOS file specification
37 *
38 * Bug: Returns pointer to static -- non-reentrant
39 */
40 char *HTDOS_name(const char *wwwname);
41
42 #ifdef WIN_EX
43 char *HTDOS_short_name(const char *fn);
44
45 #else
46 #define HTDOS_short_name(fn) fn
47 #endif
48
49 #ifdef DJGPP
50 /*
51 * Poll tcp/ip lib and yield to DPMI-host while nothing in
52 * keyboard buffer (head = tail) (simpler than kbhit).
53 */
54 void djgpp_idle_loop(void);
55 #endif
56 #endif /* HTDOS_H */