-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequest.h
55 lines (41 loc) · 1.21 KB
/
request.h
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
/*
* This source file is Copyright 1995 by Evan Scott.
* All rights reserved.
* Permission is granted to distribute this file provided no
* fees beyond distribution costs are levied.
*/
struct Window* connect_req(struct site_s* sp, unsigned char*);
void close_req(struct site_s* sp, struct Window*);
struct gim* make_gim(unsigned char* name, unsigned long textpen, unsigned long lightpen, unsigned long darkpen, struct Screen* s,
IntuitionParamDef, GraphicsParamDef);
void free_gim(struct gim* gim, IntuitionParamDef, GraphicsParamDef);
boolean user_pass_request(struct site_s* sp, struct Window* canw);
void SAVEDS status_handler(void);
#define V_gim 99040
struct gim
{
magic_verify;
struct Image im1;
struct Image im2;
struct RastPort* rp1;
struct RastPort* rp2;
};
#define V_Gadget 18273
typedef struct status_message
{
struct Message header;
magic_verify;
unsigned short command;
unsigned short data;
struct site_s* this_site;
} status_message;
#define V_status_message 29549
#define SM_KILL 1
#define SM_SUSPEND 2
#define SM_RESUME 3
#define SM_NEW_SITE 4
#define SM_DEAD_SITE 5
#define SM_STATE_CHANGE 6
#define SM_PROGRESS 7
#define MAX_USER_LENGTH 40
#define MAX_PASS_LENGTH 40