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 9054 - (hide annotations) (download) (as text)
Sun Dec 20 12:06:32 2020 UTC (3 years, 3 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/filesys.h
File MIME type: text/x-chdr
File size: 4506 byte(s)
ttpfile.dll のプロトコル関連の関数を使用しないようにした

- ttpfile_proto.cpp,h へ移動
  - ProtoInit()
  - ProtoParse()
  - ProtoTimeOutProc()
  - ProtoCancel()
- UILanguageFile グローバル変数をなくした
  - ファイル内のグローバル変数を追加 quickvan.c, zmodem.c, kermit.c
- bplus.c でダイアログを開く箇所を常に失敗するようにした
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3 nmaya 9048 * (C) 2007- 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 zmatsuo 9053
37     #if 0
38 doda 6801 typedef BOOL (PASCAL *PGetSetupFname)
39 maya 3227 (HWND HWin, WORD FuncId, PTTSet ts);
40 doda 6801 typedef BOOL (PASCAL *PGetTransFname)
41 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPLONG Option);
42 doda 6801 typedef BOOL (PASCAL *PGetMultiFname)
43 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPWORD Option);
44 doda 6801 typedef BOOL (PASCAL *PGetGetFname)
45 zmatsuo 9051 (HWND HWin, PFileVar fv, PTTSet ts);
46 doda 6801 typedef void (PASCAL *PSetFileVar) (PFileVar fv);
47     typedef BOOL (PASCAL *PGetXFname)
48 maya 3227 (HWND HWin, BOOL Receive, LPLONG Option, PFileVar fv, PCHAR CurDir);
49 zmatsuo 9053 #endif
50 doda 6801 typedef void (PASCAL *PProtoInit)
51 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv, PTTSet ts);
52 doda 6801 typedef BOOL (PASCAL *PProtoParse)
53 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
54 doda 6801 typedef void (PASCAL *PProtoTimeOutProc)
55 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
56 doda 6801 typedef BOOL (PASCAL *PProtoCancel)
57 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
58 maya 7182 typedef BOOL (PASCAL *PTTFILESetUILanguageFile)
59     (char *file);
60     typedef BOOL (PASCAL *PTTFILESetFileSendFilter)
61     (char *file);
62 maya 3227
63 zmatsuo 9053 #if 0
64 maya 3227 extern PGetSetupFname GetSetupFname;
65 zmatsuo 9052 extern PGetTransFname GetTransFname;
66 maya 3227 extern PGetMultiFname GetMultiFname;
67     extern PGetGetFname GetGetFname;
68     extern PSetFileVar SetFileVar;
69     extern PGetXFname GetXFname;
70 zmatsuo 9053 #endif
71 zmatsuo 9054 #if 0
72 maya 3227 extern PProtoInit ProtoInit;
73 zmatsuo 9052 extern PProtoParse ProtoParse;
74 maya 3227 extern PProtoTimeOutProc ProtoTimeOutProc;
75     extern PProtoCancel ProtoCancel;
76 zmatsuo 9054 #endif
77 zmatsuo 9053 #if 0
78 maya 7182 extern PTTFILESetUILanguageFile TTFILESetUILanguageFile;
79     extern PTTFILESetFileSendFilter TTFILESetFileSendFilter;
80 zmatsuo 9053 #endif
81 maya 3227
82 zmatsuo 8858 BOOL LoadTTFILE(void);
83     BOOL FreeTTFILE(void);
84 zmatsuo 8949 //BOOL NewFileVar(PFileVar *FV);
85     //void FreeFileVar(PFileVar *FV);
86 zmatsuo 8948 BOOL IsSendVarNULL();
87     BOOL IsFileVarNULL();
88 maya 3227
89 zmatsuo 8858 void FileSendStart(void);
90 zmatsuo 8949 BOOL FileSendStart2(const char *filename, int binary);
91 zmatsuo 8858 void FileSend(void);
92 maya 3227 void FileTransEnd(WORD OpId);
93 zmatsuo 8857 void FileTransPause(WORD OpId, BOOL Pause);
94 maya 3227
95 zmatsuo 8858 void ProtoEnd(void);
96     int ProtoDlgParse(void);
97     void ProtoDlgTimeOut(void);
98     void ProtoDlgCancel(void);
99 maya 3227 void KermitStart(int mode);
100 zmatsuo 8949 BOOL KermitStartSend(const char *filename);
101     BOOL KermitGet(const char *filename);
102     BOOL KermitStartRecive(void);
103     BOOL KermitFinish(void);
104 maya 3227 void XMODEMStart(int mode);
105 zmatsuo 8949 BOOL XMODEMStartReceive(const char *fiename, WORD ParamBinaryFlag, WORD ParamXmodemOpt);
106     BOOL XMODEMStartSend(const char *fiename, WORD ParamXmodemOpt);
107 maya 3227 void YMODEMStart(int mode);
108 zmatsuo 8949 BOOL YMODEMStartReceive(void);
109     BOOL YMODEMStartSend(const char *fiename);
110 maya 3227 void ZMODEMStart(int mode);
111 zmatsuo 8949 BOOL ZMODEMStartReceive(void);
112     BOOL ZMODEMStartSend(const char *fiename, WORD ParamBinaryFlag);
113 maya 3227 void BPStart(int mode);
114 zmatsuo 8949 BOOL BPSendStart(const char *filename);
115     BOOL BPStartReceive(void);
116 maya 3227 void QVStart(int mode);
117 zmatsuo 8949 BOOL QVStartReceive(void);
118     BOOL QVStartSend(const char *filename);
119 maya 3227
120 zmatsuo 8852 extern PFileVar SendVar, FileVar;
121 maya 3227
122     #ifdef __cplusplus
123     }
124     #endif
125 zmatsuo 8900
126     #include "filesys_log.h"

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