File: HTDOS.h

package info (click to toggle)
lynx-cur 2.8.7dev4-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 12,748 kB
  • ctags: 10,819
  • sloc: ansic: 120,416; sh: 3,525; makefile: 917; perl: 884
file content (52 lines) | stat: -rw-r--r-- 1,108 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*             DOS specific routines            */

#ifndef HTDOS_H
#define HTDOS_H

#ifndef HTUTILS_H
#include <HTUtils.h>
#endif /* HTUTILS_H */

/* PUBLIC                                                       HTDOS_wwwName()
 *              CONVERTS DOS Name into WWW Name
 * ON ENTRY:
 *	dosname		DOS file specification (NO NODE)
 *
 * ON EXIT:
 *	returns		WWW file specification
 *
 */
const char *HTDOS_wwwName(const char *dosname);

/*
 * Converts Unix slashes to DOS
 */
char *HTDOS_slashes(char *path);

/* PUBLIC                                                       HTDOS_name()
 *              CONVERTS WWW name into a DOS name
 * ON ENTRY:
 *	wwwname		WWW file name
 *
 * ON EXIT:
 *	returns		DOS file specification
 *
 * Bug:	Returns pointer to static -- non-reentrant
 */
char *HTDOS_name(char *wwwname);

#ifdef WIN_EX
char *HTDOS_short_name(char *fn);

#else
#define HTDOS_short_name(fn)  fn
#endif

#ifdef DJGPP
/*
 * Poll tcp/ip lib and yield to DPMI-host while nothing in
 * keyboard buffer (head = tail) (simpler than kbhit).
 */
void djgpp_idle_loop(void);
#endif
#endif /*  HTDOS_H */