Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/teraterm/ttpmacro/ttmdde.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3227 - (show annotations) (download) (as text)
Tue Mar 24 15:10:33 2009 UTC (15 years, 1 month ago) by maya
File MIME type: text/x-chdr
File size: 2858 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
1 /* Tera Term
2 Copyright(C) 1994-1998 T. Teranishi
3 All rights reserved. */
4
5 /* TTMACRO.EXE, DDE routines */
6
7 #define CmdSetHWnd ' '
8 #define CmdSetFile '!'
9 #define CmdSetBinary '"'
10 #define CmdSetAppend '#'
11 #define CmdSetXmodemOpt '$'
12 #define CmdSetSync '%'
13
14 #define CmdBPlusRecv '&'
15 #define CmdBPlusSend '\''
16 #define CmdChangeDir '('
17 #define CmdClearScreen ')'
18 #define CmdCloseWin '*'
19 #define CmdConnect '+'
20 #define CmdDisconnect ','
21 #define CmdEnableKeyb '-'
22 #define CmdGetTitle '.'
23 #define CmdInit '/'
24 #define CmdKmtFinish '0'
25 #define CmdKmtGet '1'
26 #define CmdKmtRecv '2'
27 #define CmdKmtSend '3'
28 #define CmdLoadKeyMap '4'
29 #define CmdLogClose '5'
30 #define CmdLogOpen '6'
31 #define CmdLogPause '7'
32 #define CmdLogStart '8'
33 #define CmdLogWrite '9'
34 #define CmdQVRecv ':'
35 #define CmdQVSend ';'
36 #define CmdRestoreSetup '<'
37 #define CmdSendBreak '='
38 #define CmdSendFile '>'
39 #define CmdSendKCode '?'
40 #define CmdSetEcho '@'
41 #define CmdSetTitle 'A'
42 #define CmdShowTT 'B'
43 #define CmdXmodemSend 'C'
44 #define CmdXmodemRecv 'D'
45 #define CmdZmodemSend 'E'
46 #define CmdZmodemRecv 'F'
47 #define CmdCallMenu 'G'
48 #define CmdScpSend 'H'
49 #define CmdScpRcv 'I'
50 #define CmdSetSecondFile 'J'
51 #define CmdSetBaud 'K'
52 #define CmdSetRts 'L'
53 #define CmdSetDtr 'M'
54 #define CmdGetHostname 'N'
55 #define CmdSendBroadcast 'O'
56 #define CmdSendMulticast 'P'
57 #define CmdSetMulticastName 'Q'
58
59 #ifdef __cplusplus
60 extern "C" {
61 #endif
62
63 void Word2HexStr(WORD w, PCHAR HexStr);
64 BOOL InitDDE(HWND HWin);
65 void EndDDE();
66 void DDEOut1Byte(BYTE B);
67 void DDEOut(PCHAR B);
68 void DDESend();
69 PCHAR GetRecvLnBuff();
70 void FlushRecv();
71 void ClearWait();
72 void SetWait(int Index, PCHAR Str);
73 void ClearWaitN();
74 void SetWaitN(int Len);
75 int CmpWait(int Index, PCHAR Str);
76 void SetWait2(PCHAR Str, int Len, int Pos);
77 int Wait();
78 BOOL Wait2();
79 BOOL WaitN();
80 int Wait4all();
81 void SetFile(PCHAR FN);
82 void SetSecondFile(PCHAR FN);
83 void SetBinary(int BinFlag);
84 void SetAppend(int AppendFlag);
85 void SetXOption(int XOption);
86 void SendSync();
87 void SetSync(BOOL OnFlag);
88 WORD SendCmnd(char OpId, int WaitFlag);
89 WORD GetTTParam(char OpId, PCHAR Param, int destlen);
90 WORD CallMenu(int MenuId);
91 int FindRegexStringOne(char *regex, int regex_len, char *target, int target_len);
92
93 extern BOOL Linked;
94 extern WORD ComReady;
95 extern int OutLen;
96
97 // for "WaitRecv" command
98 extern TStrVal Wait2Str;
99 extern BOOL Wait2Found;
100
101 enum regex_type {
102 REGEX_NONE,
103 REGEX_WAIT,
104 REGEX_WAITLN,
105 REGEX_WAITRECV,
106 REGEX_WAITEVENT,
107 };
108 extern enum regex_type RegexActionType;
109
110 extern BOOL Wait4allGotIndex;
111 extern int Wait4allFoundNum;
112
113
114 #ifdef __cplusplus
115 }
116 #endif

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