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
/* Copyright 1997 Acorn Computers Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/***************************************************/
/* File : MiscDefs.h */
/* */
/* Purpose: Miscellaneous definitions for the */
/* browser. */
/* */
/* Author : A.D.Hodgkinson */
/* */
/* History: 13-Feb-97: Created. */
/***************************************************/
/* Browser-defined bits in the flags field of an HStream structure */
#define HFlags_DealtWithToken (1u<<0)
#define HFlags_LinkVisited (1u<<1)
#define HFlags_IgnoreObject (1u<<2)
/* Magic words */
#define Magic_Word_TASK 0x4b534154
#define Magic_Word_FULL 0x4c4c5546
#define Magic_Word_CHEC 0x43454843
/* TaskModule definitions */
#define TaskModule_RegisterService 0x4d302
#define TaskModule_DeRegisterService 0x4d303
#define Message_Service 0x4d300
/* HTTP module SWI numbers */
#define HTTP_AddCookie 0x083fbd
#define HTTP_ConsumeCookie 0x083fbe
#define HTTP_EnumerateCookies 0x083fbf
/* Generic string value, for passing long strings through messages */
typedef union string_value
{
char * ptr;
int offset;
}
string_value;
/* ANT suite URL message protocol */
#define Message_ANTOpenURL 0x4af80
typedef struct ant_open_url
{
int tag;
string_value url;
int flags;
string_value file;
string_value target;
string_value mimetype;
}
ant_open_url;