Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /trunk/teraterm/teraterm/logdlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8858 - (hide annotations) (download) (as text)
Sat Jul 25 16:00:00 2020 UTC (3 years, 8 months ago) by zmatsuo
Original Path: trunk/teraterm/teraterm/filesys.h
File MIME type: text/x-chdr
File size: 4546 byte(s)
API名を修正

- Log.. -> FLog..
  - r8852で追加したAPI
- 引数なし関数には (void) を追加
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     /* TERATERM.EXE, file transfer routines */
31     #ifdef __cplusplus
32     extern "C" {
33     #endif
34 doda 6801 typedef BOOL (PASCAL *PGetSetupFname)
35 maya 3227 (HWND HWin, WORD FuncId, PTTSet ts);
36 doda 6801 typedef BOOL (PASCAL *PGetTransFname)
37 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPLONG Option);
38 doda 6801 typedef BOOL (PASCAL *PGetMultiFname)
39 maya 3227 (PFileVar fv, PCHAR CurDir, WORD FuncId, LPWORD Option);
40 doda 6801 typedef BOOL (PASCAL *PGetGetFname)
41 maya 3227 (HWND HWin, PFileVar fv);
42 doda 6801 typedef void (PASCAL *PSetFileVar) (PFileVar fv);
43     typedef BOOL (PASCAL *PGetXFname)
44 maya 3227 (HWND HWin, BOOL Receive, LPLONG Option, PFileVar fv, PCHAR CurDir);
45 doda 6801 typedef void (PASCAL *PProtoInit)
46 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv, PTTSet ts);
47 doda 6801 typedef BOOL (PASCAL *PProtoParse)
48 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
49 doda 6801 typedef void (PASCAL *PProtoTimeOutProc)
50 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
51 doda 6801 typedef BOOL (PASCAL *PProtoCancel)
52 maya 3227 (int Proto, PFileVar fv, PCHAR pv, PComVar cv);
53 maya 7182 typedef BOOL (PASCAL *PTTFILESetUILanguageFile)
54     (char *file);
55     typedef BOOL (PASCAL *PTTFILESetFileSendFilter)
56     (char *file);
57 maya 3227
58     extern PGetSetupFname GetSetupFname;
59 zmatsuo 8852 //extern PGetTransFname GetTransFname;
60 maya 3227 extern PGetMultiFname GetMultiFname;
61     extern PGetGetFname GetGetFname;
62     extern PSetFileVar SetFileVar;
63     extern PGetXFname GetXFname;
64     extern PProtoInit ProtoInit;
65 zmatsuo 8857 //extern PProtoParse ProtoParse;
66 maya 3227 extern PProtoTimeOutProc ProtoTimeOutProc;
67     extern PProtoCancel ProtoCancel;
68 maya 7182 extern PTTFILESetUILanguageFile TTFILESetUILanguageFile;
69     extern PTTFILESetFileSendFilter TTFILESetFileSendFilter;
70 maya 3227
71 zmatsuo 8858 BOOL LoadTTFILE(void);
72     BOOL FreeTTFILE(void);
73 zmatsuo 8857 //void ShowFTDlg(WORD OpId);
74 maya 3227 BOOL NewFileVar(PFileVar *FV);
75     void FreeFileVar(PFileVar *FV);
76    
77 zmatsuo 8822 void LogPut1(BYTE b);
78 zmatsuo 8858 void LogToFile(void);
79     BOOL CreateLogBuf(void);
80     void FreeLogBuf(void);
81     BOOL CreateBinBuf(void);
82     void FreeBinBuf(void);
83 maya 3227
84 zmatsuo 8858 void FileSendStart(void);
85     void FileSend(void);
86 zmatsuo 8857 //void FLogChangeButton(BOOL Pause);
87     void FLogPause(BOOL Pause);
88 maya 3227 void FileTransEnd(WORD OpId);
89 zmatsuo 8857 void FileTransPause(WORD OpId, BOOL Pause);
90 maya 3227
91 zmatsuo 8858 void ProtoEnd(void);
92     int ProtoDlgParse(void);
93     void ProtoDlgTimeOut(void);
94     void ProtoDlgCancel(void);
95 maya 3227 void KermitStart(int mode);
96     void XMODEMStart(int mode);
97     void YMODEMStart(int mode);
98     void ZMODEMStart(int mode);
99     void BPStart(int mode);
100     void QVStart(int mode);
101    
102 zmatsuo 8852 extern PFileVar SendVar, FileVar;
103 maya 3227 extern BOOL FileLog, BinLog, DDELog;
104    
105 zmatsuo 8852
106     // log
107 maya 3227 void logfile_lock_initialize(void);
108 zmatsuo 8858 void FLogRotateSize(size_t size);
109     void FLogRotateRotate(int step);
110     void FLogRotateHalt(void);
111     void FLogAddCommentDlg(HINSTANCE hInst, HWND hWnd);
112     void FLogClose(void);
113     BOOL FLogOpen(const char *fname);
114     BOOL FLogIsOpend(void);
115     void FLogWriteStr(const char *str);
116     void FLogInfo(char *param_ptr, size_t param_len);
117     const char *FLogGetFilename(void);
118     BOOL FLogOpenDialog(char **filename);
119     char *FLogGetLogFilename(const char *log_filename);
120 zmatsuo 8857 BOOL FLogIsPause(void);
121     void FLogWindow(int nCmdShow);
122     void FLogShowDlg(void);
123 maya 3227
124     #ifdef __cplusplus
125     }
126     #endif

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