#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "util.h"
#include "cmd.h"
#include "options.h"
#include "log2lines.h"
#include "help.h"
Go to the source code of this file.
◆ backSpaceEdit()
◆ handle_address_cmd()
static int handle_address_cmd |
( |
FILE * |
outFile, |
|
|
char * |
arg |
|
) |
| |
|
static |
Definition at line 105 of file cmd.c.
123 esclog(outFile,
"Relocated base missing for '%s' ('mod' will update)\n",
Image);
129 esclog(outFile,
"usage: `a <Image>:<offset>\n");
132 esclog(outFile,
"':' expected\n");
_Check_return_ _CRTIMP int __cdecl sscanf(_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
_In_ ULONG _In_ ULONG Offset
char * strchr(const char *String, int ch)
Referenced by handle_escape_cmd().
◆ handle_escape_cmd()
Definition at line 138 of file cmd.c.
157 esclog(outFile,
"Command expected\n");
161 if (
res && cnt==2 && sep !=
' ')
163 esclog(outFile,
"' ' expected\n");
167 while ( *
l ==
' ')
l++;
213 esclog(outFile,
"Bye!\n");
222 esclog(outFile,
"Statistics cleared\n");
235 esclog(outFile,
"(Setting source tree not implemented)\n");
259 esclog(outFile,
"Command not implemented in cli: %c %s\n",
cmd,
arg)
_Check_return_ _CRTIMP int __cdecl sscanf(_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
GLsizeiptr const GLvoid GLenum usage
char * strchr(const char *String, int ch)
int strcmp(const char *String1, const char *String2)
Referenced by translate_files().
◆ handle_switch()
Definition at line 48 of file cmd.c.
64 esclog(outFile,
"%s is %d (%s)\n",
desc, *sw, changed ?
"changed":
"unchanged");
66 esclog(outFile,
"(readonly)\n");
GLint GLint GLint GLint GLint x
static const WCHAR desc[]
_Check_return_ int __cdecl atoi(_In_z_ const char *_Str)
int strcmp(const char *String1, const char *String2)
Referenced by handle_escape_cmd().
◆ handle_switch_str()
Definition at line 73 of file cmd.c.
96 esclog(outFile,
"%s is \"%s\" (%s)\n",
desc, sw, changed ?
"changed":
"unchanged");
98 esclog(outFile,
"(readonly)\n");
static const WCHAR desc[]
char * strcpy(char *DstString, const char *SrcString)
int strcmp(const char *String1, const char *String2)
Referenced by handle_escape_cmd().