#include <stdio.h>
Go to the source code of this file.
◆ KDBG_BS_CHAR
Definition at line 12 of file cmd.h.
◆ KDBG_CONT
Definition at line 18 of file cmd.h.
◆ KDBG_DISCARD
#define KDBG_DISCARD "Command '" KDBG_ESC_STR |
Definition at line 19 of file cmd.h.
◆ KDBG_ESC_CHAR
Definition at line 13 of file cmd.h.
◆ KDBG_ESC_OFF
Definition at line 16 of file cmd.h.
◆ KDBG_ESC_RESP
#define KDBG_ESC_RESP "| L2L- " |
Definition at line 15 of file cmd.h.
◆ KDBG_ESC_STR
Definition at line 14 of file cmd.h.
◆ KDBG_PROMPT
Definition at line 17 of file cmd.h.
◆ handle_escape_cmd()
Definition at line 138 of file cmd.c.
139{
141 char sep = '\n';
145 int cnt = 0;
146 int changed = 0;
147
151
153
156 {
157 esclog(outFile,
"Command expected\n");
159 }
160
161 if (
res && cnt==2 && sep !=
' ')
162 {
163 esclog(outFile,
"' ' expected\n");
165 }
167 while ( *
l ==
' ')
l++;
171 {
172 case 'a':
174 break;
175 case 'h':
177 break;
178 case 'b':
181 break;
182 case 'c':
184 break;
185 case 'd':
187 break;
188 case 'l':
190 {
193 }
194 break;
195 case 'L':
197 {
200 }
201 break;
202 case 'm':
204 break;
205 case 'M':
207 break;
208 case 'P':
210 break;
211 case 'q':
213 esclog(outFile,
"Bye!\n");
214 break;
215 case 'r':
217 break;
218 case 's':
220 {
222 esclog(outFile,
"Statistics cleared\n");
223 }
224 else
226 break;
227 case 'S':
230 {
233 }
235 esclog(outFile,
"(Setting source tree not implemented)\n");
236 break;
237 case 't':
239 break;
240 case 'T':
243 break;
244 case 'u':
246 break;
247 case 'U':
250 break;
251 case 'v':
253 break;
254 case 'z':
256 break;
257 default:
259 esclog(outFile,
"Command not implemented in cli: %c %s\n",
cmd,
arg)
260 else
262 }
264
266
268}
int strcmp(const char *String1, const char *String2)
char * strchr(const char *String, int ch)
GLsizeiptr const GLvoid GLenum usage
_Check_return_ _CRTIMP int __cdecl sscanf(_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
Referenced by translate_files().