ReactOS 0.4.16-dev-303-g11d5cb8
|
#include "syshdrs.h"
#include "shell.h"
#include "util.h"
#include "bookmark.h"
#include "cmds.h"
#include "readln.h"
#include "trace.h"
#include "main.h"
Go to the source code of this file.
Functions | |
static int | CommandSortCmp (const CommandPtr a, const CommandPtr b) |
void | InitCommandList (void) |
static int | CommandExactSearchCmp (const char *const key, const CommandPtr b) |
static int | CommandSubSearchCmp (const char *const key, const CommandPtr a) |
CommandPtr | GetCommandByIndex (const int i) |
CommandPtr | GetCommandByName (const char *const name, int wantExactMatch) |
void | PrintCmdHelp (CommandPtr c) |
void | PrintCmdUsage (CommandPtr c) |
int | MakeArgv (char *line, int *cargc, const char **cargv, int cargcmax, char *dbuf, size_t dbufsize, int *noglobargv, int readlineHacks) |
static int | DoCommand (const ArgvInfoPtr aip) |
void | XferCanceller (int sigNum) |
void | BackToTop (int sigNum) |
void | Cancel (int sigNum) |
void | CommandShell (void) |
Variables | |
int | gDoneApplication = 0 |
int | gNumInterruptions = 0 |
int | gEventNumber = 0 |
jmp_buf | gCancelJmp |
jmp_buf | gBackToTopJmp |
int | gMayCancelJmp = 0 |
int | gMayBackToTopJmp = 0 |
int | gGotSig = 0 |
int | gRunningCommand = 0 |
int | gCancelCtrl = 0 |
Command | gCommands [] |
size_t | gNumCommands |
int | gStartupUrlParameterGiven |
FTPLibraryInfo | gLib |
FTPConnectionInfo | gConn |
LineList | gStartupURLCdList |
int | gNumProgramRuns |
char | gCopyright [] |
Definition at line 452 of file shell.c.
Referenced by CommandShell().
Definition at line 481 of file shell.c.
Referenced by CreatePartitionPage(), DECLARE_INTERFACE_(), DECLSPEC_ALIGN(), ListCmd(), LocalListCmd(), PageCmd(), and ShowPartitionSizeInputBox().
Definition at line 499 of file shell.c.
Referenced by main().
|
static |
Definition at line 80 of file shell.c.
Referenced by InitCommandList().
Definition at line 116 of file shell.c.
Referenced by GetCommandByName().
|
static |
Definition at line 381 of file shell.c.
Referenced by CommandShell().
CommandPtr GetCommandByIndex | ( | const int | i | ) |
Definition at line 140 of file shell.c.
Referenced by CommandCompletionFunction().
CommandPtr GetCommandByName | ( | const char *const | name, |
int | wantExactMatch | ||
) |
Definition at line 156 of file shell.c.
Referenced by CompletionFunction(), DoCommand(), and HelpCmd().
Definition at line 90 of file shell.c.
Referenced by PreInit().
int MakeArgv | ( | char * | line, |
int * | cargc, | ||
const char ** | cargv, | ||
int | cargcmax, | ||
char * | dbuf, | ||
size_t | dbufsize, | ||
int * | noglobargv, | ||
int | readlineHacks | ||
) |
Definition at line 221 of file shell.c.
Referenced by CommandShell(), and CompletionFunction().
void PrintCmdHelp | ( | CommandPtr | c | ) |
void PrintCmdUsage | ( | CommandPtr | c | ) |
Definition at line 210 of file shell.c.
Referenced by ChdirCmd(), DeleteCmd(), DoCommand(), GetCmd(), HelpCmd(), ListCmd(), LocalListCmd(), LookupCmd(), MkdirCmd(), MlsCmd(), OpenCmd(), PutCmd(), RmdirCmd(), SpoolGetCmd(), and SpoolPutCmd().
Definition at line 419 of file shell.c.
jmp_buf gBackToTopJmp |
Definition at line 50 of file shell.c.
Referenced by BackToTop(), CommandShell(), and XferCanceller().
int gCancelCtrl = 0 |
Definition at line 66 of file shell.c.
Referenced by CommandShell(), and XferCanceller().
jmp_buf gCancelJmp |
|
extern |
Definition at line 16 of file cmdlist.c.
Referenced by GetCommandByIndex(), GetCommandByName(), and InitCommandList().
|
extern |
Definition at line 37 of file main.c.
Referenced by CommandShell(), DoCommand(), and XferCanceller().
int gDoneApplication = 0 |
Definition at line 21 of file shell.c.
Referenced by BackToTop(), and CommandShell().
int gEventNumber = 0 |
Definition at line 27 of file shell.c.
Referenced by CommandShell().
int gGotSig = 0 |
Definition at line 60 of file shell.c.
Referenced by BackToTop(), Cancel(), CommandShell(), and XferCanceller().
|
extern |
int gMayBackToTopJmp = 0 |
Definition at line 57 of file shell.c.
Referenced by BackToTop(), CommandShell(), and XferCanceller().
int gMayCancelJmp = 0 |
|
extern |
Definition at line 525 of file cmdlist.c.
Referenced by GetCommandByIndex(), GetCommandByName(), and InitCommandList().
|
extern |
Definition at line 14 of file preffw.c.
Referenced by LoadFirewallPrefs().
int gRunningCommand = 0 |
Definition at line 63 of file shell.c.
Referenced by BackToTop(), and CommandShell().
|
extern |
Definition at line 38 of file main.c.
Referenced by OpenURL(), PreInit(), and SetStartupURL().