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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
#ifndef LYCHARUTILS_H
#define LYCHARUTILS_H
#ifndef HTUTILS_H
#include "HTUtils.h"
#endif /* HTUTILS_H */
typedef enum {
st_HTML = 0, /* attributes and content found in HTML, probably meant for display */
st_URL, /* URLs, fragments, NAME and ID */
st_other
} CharUtil_st;
#ifndef EXP_CHARTRANS
extern char * LYUnEscapeEntities PARAMS((
char * str,
BOOLEAN plain_space,
BOOLEAN hidden));
extern void LYUnEscapeToLatinOne PARAMS((
char ** str,
BOOLEAN isURL));
extern void LYExpandString PARAMS((
char ** str));
#endif /* !EXP_CHARTRANS */
#ifdef EXP_CHARTRANS
extern BOOL LYUCFullyTranslateString PARAMS((
char ** str,
int cs_from,
int cs_to,
BOOL use_lynx_specials,
BOOLEAN plain_space,
BOOLEAN hidden,
CharUtil_st stype));
extern BOOL LYUCTranslateBackFormData PARAMS((
char ** str,
int cs_from,
int cs_to,
BOOLEAN plain_space));
#endif
extern void LYEntify PARAMS((
char ** str,
BOOLEAN isTITLE));
extern void LYTrimHead PARAMS((
char * str));
extern void LYTrimTail PARAMS((
char * str));
extern char *LYFindEndOfComment PARAMS((
char * str));
extern void LYFillLocalFileURL PARAMS((
char ** href,
char * base));
#ifdef EXP_CHARTRANS
extern void LYAddMETAcharsetToFD PARAMS((
FILE * fd,
int disp_chndl));
#endif /* EXP_CHARTRANS */
#ifdef Lynx_HTML_Handler
extern int OL_CONTINUE; /* flag for whether CONTINUE is set */
extern int OL_VOID; /* flag for whether a count is set */
extern void LYZero_OL_Counter PARAMS((
HTStructured * me));
extern char *LYUppercaseA_OL_String PARAMS((
int seqnum));
extern char *LYLowercaseA_OL_String PARAMS((
int seqnum));
extern char *LYUppercaseI_OL_String PARAMS((
int seqnum));
extern char *LYLowercaseI_OL_String PARAMS((
int seqnum));
#ifdef EXP_CHARTRANS
#ifdef HTML_H
extern void LYGetChartransInfo PARAMS((
HTStructured * me));
#endif
extern void add_META_charset_to_fd PARAMS((
FILE * fp,
int disp_chndl));
#endif /* EXP_CHARTRANS */
extern void LYHandleMETA PARAMS((
HTStructured * me,
CONST BOOL* present,
CONST char ** value,
char ** include));
extern int LYLegitimizeHREF PARAMS((
HTStructured * me,
char ** href,
BOOL force_slash,
BOOL strip_dots));
extern void LYCheckForContentBase PARAMS((
HTStructured * me));
extern void LYCheckForID PARAMS((
HTStructured * me,
CONST BOOL * present,
CONST char ** value,
int attribute));
extern void LYHandleID PARAMS((
HTStructured * me,
char * id));
extern BOOLEAN LYoverride_default_alignment PARAMS((
HTStructured * me));
extern void LYEnsureDoubleSpace PARAMS((
HTStructured * me));
extern void LYEnsureSingleSpace PARAMS((
HTStructured * me));
extern void LYResetParagraphAlignment PARAMS((
HTStructured * me));
extern BOOLEAN LYCheckForCSI PARAMS((
HTParentAnchor * anchor,
char ** url));
#endif /* Lynx_HTML_Handler */
#endif /* LYCHARUTILS_H */
|