Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /branches/ttcomtester/teraterm/teraterm/filesys.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8949 - (hide annotations) (download) (as text)
Fri Oct 2 15:46:34 2020 UTC (3 years, 6 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/filesys.h
File MIME type: text/x-chdr
File size: 4441 byte(s)
ttdde.c 内で変数 FileVar の参照をなくした

- 各通信プロトコルの受信送信開始関数を追加
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3 zmatsuo 8822 * (C) 2007-2020 TeraTerm Project
4 doda 6806 * All rights reserved.
5     *
6 doda 6841 * Redistribution and use in source and binary forms, with or without
7     * modification, are permitted provided that the following conditions
8     * are met:
9 doda 6806 *
10 doda 6841 * 1. Redistributions of source code must retain the above copyright
11     * notice, this list of conditions and the following disclaimer.
12     * 2. Redistributions in binary form must reproduce the above copyright
13     * notice, this list of conditions and the following disclaimer in the
14     * documentation and/or other materials provided with the distribution.
15     * 3. The name of the author may not be used to endorse or promote products
16     * derived from this software without specific prior written permission.
17 doda 6806 *
18 doda 6841 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
19     * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21     * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23     * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25     * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26     * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27     * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 doda 6806 */
29 maya 3227
30 zmatsuo 8900 #pragma once
31    
32 maya 3227 /* TERATERM.EXE, file transfer routines */
33     #ifdef __cplusplus
34     extern "C" {
35     #endif
36 doda 6801 typedef BOOL (PASCAL *PGetSetupFname)
37 maya 3227 (HWND HWin, WORD FuncId, PTTSet ts);
38 doda 6801 typedef BOOL (PASCAL *PGetTransFname)
39 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPLONG Option);
40 doda 6801 typedef BOOL (PASCAL *PGetMultiFname)
41 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPWORD Option);
42 doda 6801 typedef BOOL (PASCAL *PGetGetFname)
43 maya 3227 (HWND HWin, PFileVar fv);
44 doda 6801 typedef void (PASCAL *PSetFileVar) (PFileVar fv);
45     typedef BOOL (PASCAL *PGetXFname)
46 maya 3227 (HWND HWin, BOOL Receive, LPLONG Option, PFileVar fv, PCHAR CurDir);
47 doda 6801 typedef void (PASCAL *PProtoInit)
48 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv, PTTSet ts);
49 doda 6801 typedef BOOL (PASCAL *PProtoParse)
50 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
51 doda 6801 typedef void (PASCAL *PProtoTimeOutProc)
52 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
53 doda 6801 typedef BOOL (PASCAL *PProtoCancel)
54 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
55 maya 7182 typedef BOOL (PASCAL *PTTFILESetUILanguageFile)
56     (char *file);
57     typedef BOOL (PASCAL *PTTFILESetFileSendFilter)
58     (char *file);
59 maya 3227
60     extern PGetSetupFname GetSetupFname;
61 zmatsuo 8852 //extern PGetTransFname GetTransFname;
62 maya 3227 extern PGetMultiFname GetMultiFname;
63     extern PGetGetFname GetGetFname;
64     extern PSetFileVar SetFileVar;
65     extern PGetXFname GetXFname;
66     extern PProtoInit ProtoInit;
67 zmatsuo 8857 //extern PProtoParse ProtoParse;
68 maya 3227 extern PProtoTimeOutProc ProtoTimeOutProc;
69     extern PProtoCancel ProtoCancel;
70 maya 7182 extern PTTFILESetUILanguageFile TTFILESetUILanguageFile;
71     extern PTTFILESetFileSendFilter TTFILESetFileSendFilter;
72 maya 3227
73 zmatsuo 8858 BOOL LoadTTFILE(void);
74     BOOL FreeTTFILE(void);
75 zmatsuo 8949 //BOOL NewFileVar(PFileVar *FV);
76     //void FreeFileVar(PFileVar *FV);
77 zmatsuo 8948 BOOL IsSendVarNULL();
78     BOOL IsFileVarNULL();
79 maya 3227
80 zmatsuo 8858 void FileSendStart(void);
81 zmatsuo 8949 BOOL FileSendStart2(const char *filename, int binary);
82 zmatsuo 8858 void FileSend(void);
83 maya 3227 void FileTransEnd(WORD OpId);
84 zmatsuo 8857 void FileTransPause(WORD OpId, BOOL Pause);
85 maya 3227
86 zmatsuo 8858 void ProtoEnd(void);
87     int ProtoDlgParse(void);
88     void ProtoDlgTimeOut(void);
89     void ProtoDlgCancel(void);
90 maya 3227 void KermitStart(int mode);
91 zmatsuo 8949 BOOL KermitStartSend(const char *filename);
92     BOOL KermitGet(const char *filename);
93     BOOL KermitStartRecive(void);
94     BOOL KermitFinish(void);
95 maya 3227 void XMODEMStart(int mode);
96 zmatsuo 8949 BOOL XMODEMStartReceive(const char *fiename, WORD ParamBinaryFlag, WORD ParamXmodemOpt);
97     BOOL XMODEMStartSend(const char *fiename, WORD ParamXmodemOpt);
98 maya 3227 void YMODEMStart(int mode);
99 zmatsuo 8949 BOOL YMODEMStartReceive(void);
100     BOOL YMODEMStartSend(const char *fiename);
101 maya 3227 void ZMODEMStart(int mode);
102 zmatsuo 8949 BOOL ZMODEMStartReceive(void);
103     BOOL ZMODEMStartSend(const char *fiename, WORD ParamBinaryFlag);
104 maya 3227 void BPStart(int mode);
105 zmatsuo 8949 BOOL BPSendStart(const char *filename);
106     BOOL BPStartReceive(void);
107 maya 3227 void QVStart(int mode);
108 zmatsuo 8949 BOOL QVStartReceive(void);
109     BOOL QVStartSend(const char *filename);
110 maya 3227
111 zmatsuo 8852 extern PFileVar SendVar, FileVar;
112 maya 3227
113     #ifdef __cplusplus
114     }
115     #endif
116 zmatsuo 8900
117     #include "filesys_log.h"

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26