Develop and Download Open Source Software

Browse Subversion Repository

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6806 - (hide annotations) (download) (as text)
Thu Jun 15 00:37:01 2017 UTC (6 years, 9 months ago) by doda
Original Path: trunk/teraterm/teraterm/ttfileio.h
File MIME type: text/x-chdr
File size: 2320 byte(s)
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加
1 doda 6806 /*
2     * Copyright (C) 2008-2017 TeraTerm Project
3     * All rights reserved.
4     *
5     * Redistribution and use in source and binary forms, with or without modification,
6     * are permitted provided that the following conditions are met:
7     *
8     * 1. Redistributions of source code must retain the above copyright notice,
9     * this list of conditions and the following disclaimer.
10     * 2. Redistributions in binary form must reproduce the above copyright notice,
11     * this list of conditions and the following disclaimer in the documentation
12     * and/or other materials provided with the distribution.
13     * 3. The name of the author may not be used to endorse or promote products derived
14     * from this software without specific prior written permission.
15     *
16     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
17     * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18     * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
19     * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
20     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
21     * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
23     * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
24     * OF SUCH DAMAGE.
25     */
26 maya 3227
27     /* TERATERM.EXE, Serial/File interface */
28     #ifdef __cplusplus
29     extern "C" {
30     #endif
31    
32 doda 6801 typedef BOOL (PASCAL *TReadFile)
33 maya 3227 (HANDLE FHandle, LPVOID Buff, DWORD ReadSize, LPDWORD ReadBytes,
34     LPOVERLAPPED ReadOverLap);
35 doda 6801 typedef BOOL (PASCAL *TWriteFile)
36 maya 3227 (HANDLE FHandle, LPCVOID Buff, DWORD WriteSize, LPDWORD WriteBytes,
37     LPOVERLAPPED WriteOverLap);
38 doda 6801 typedef HANDLE (PASCAL *TCreateFile)
39 maya 3227 (LPCTSTR FName, DWORD AcMode, DWORD ShMode, LPSECURITY_ATTRIBUTES SecAttr,
40     DWORD CreateDisposition, DWORD FileAttr, HANDLE Template);
41 doda 6801 typedef BOOL (PASCAL *TCloseFile)
42 maya 3227 (HANDLE FHandle);
43    
44     extern TReadFile PReadFile;
45     extern TWriteFile PWriteFile;
46     extern TCreateFile PCreateFile;
47     extern TCloseFile PCloseFile;
48    
49     /* proto types */
50     void InitFileIO(int ConnType);
51    
52     #ifdef __cplusplus
53     }
54     #endif

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