1 | /* |
---|
2 | * Modifications Copyright 1996 by Paul Mattes. |
---|
3 | * Copyright October 1995 by Dick Altenbern |
---|
4 | * Permission to use, copy, modify, and distribute this software and its |
---|
5 | * documentation for any purpose and without fee is hereby granted, |
---|
6 | * provided that the above copyright notice appear in all copies and that |
---|
7 | * both that copyright notice and this permission notice appear in |
---|
8 | * supporting documentation. |
---|
9 | */ |
---|
10 | |
---|
11 | /* |
---|
12 | * ftc.h |
---|
13 | * Global declarations for ft.c. |
---|
14 | */ |
---|
15 | |
---|
16 | extern Boolean ascii_flag; |
---|
17 | extern Boolean cr_flag; |
---|
18 | extern unsigned long ft_length; |
---|
19 | extern FILE *ft_local_file; |
---|
20 | extern char *ft_local_filename; |
---|
21 | enum ft_state { |
---|
22 | FT_NONE, /* No transfer in progress */ |
---|
23 | FT_AWAIT_ACK, /* IND$FILE sent, awaiting acknowledgement message */ |
---|
24 | FT_RUNNING, /* Ack received, data flowing */ |
---|
25 | FT_ABORT_WAIT, /* Awaiting chance to send an abort */ |
---|
26 | FT_ABORT_SENT /* Abort sent; awaiting response */ |
---|
27 | }; |
---|
28 | extern enum ft_state ft_state; |
---|
29 | |
---|
30 | extern void popup_ft(); |
---|
31 | |
---|
32 | extern void dialog_focus_action(); |
---|
33 | extern void dialog_next_action(); |
---|
34 | |
---|
35 | extern void ft_aborting(); |
---|
36 | extern void ft_complete(); |
---|
37 | extern void ft_disconnected(); |
---|
38 | extern void ft_not3270(); |
---|
39 | extern void ft_running(); |
---|
40 | extern void ft_update_length(); |
---|