Initial revision
[ssr] / StraySrc / Libraries / Sapphire / csapph / h / xfer / save
CommitLineData
2ee739cc 1/*
2 * save.h
3 *
4 * [Generated from save, 08 November 1995]
5 */
6
7#pragma include_only_once
8#pragma force_top_level
9
10#ifndef __save_h
11#define __save_h
12
13/*----- Overview ----------------------------------------------------------*
14 *
15 * Functions provided:
16 *
17 * save
18 */
19
20/* --- save --- *
21 *
22 * On entry: R0 == window handle to send to
23 * R1 == icon handle to send to
24 * R2 == estimated size of the data
25 * R3 == file type of data to send and flag:
26 * bit 31: use R8 as below
27 * R4 == pointer to name of file (may be full path)
28 * R5 == address of handler block
29 * R6 == value to pass handlers in R10
30 * R7 == value to pass handlers in R12
31 * R8 == pointer to extra handler block (only if bit 31 of R3)
32 *
33 * On exit: --
34 *
35 * Use: Starts a save operation to another application. The extra
36 * handler is used by systems like saveas which need to be
37 * aware of data transfer start/end conditions without
38 * interfering with the normal entry table. This will not
39 * normally concern applications however.
40 */
41
42extern routine save;
43
44/*----- The save handler --------------------------------------------------*/
45
46#define sEntry__save 0
47
48#define sEntry__send 4
49
50#define sEntry__success 8
51
52#define sEntry__failed 12
53
54/*----- That's all, folks -------------------------------------------------*/
55
56#endif