#include <stdio.h>#include <string.h>#include <ctype.h>#include "setup.h"#include "constant.h"#include "argacces.h"#include "constrct.h"#include "cstrcpsr.h"#include "envrnmnt.h"#include "exprnpsr.h"#include "filecom.h"#include "memalloc.h"#include "prcdrfun.h"#include "prcdrpsr.h"#include "router.h"#include "scanner.h"#include "strngrtr.h"#include "symbol.h"#include "sysdep.h"#include "utility.h"#include "commline.h"

Go to the source code of this file.
Defines | |
| #define | _COMMLINE_SOURCE_ |
| #define | _STDIO_INCLUDED_ |
Functions | |
| globle void | InitializeCommandLineData (void *theEnv) |
| globle int | ExpandCommandString (void *theEnv, int inchar) |
| globle void | FlushCommandString (void *theEnv) |
| globle void | SetCommandString (void *theEnv, char *str) |
| globle void | SetNCommandString (void *theEnv, char *str, unsigned length) |
| globle void | AppendCommandString (void *theEnv, char *str) |
| globle void | InsertCommandString (void *theEnv, char *str, unsigned int position) |
| globle void | AppendNCommandString (void *theEnv, char *str, unsigned length) |
| globle char * | GetCommandString (void *theEnv) |
| globle int | CompleteCommand (char *mstring) |
| globle void | CommandLoop (void *theEnv) |
| globle void | CommandLoopBatch (void *theEnv) |
| globle void | CommandLoopOnceThenBatch (void *theEnv) |
| globle void | CommandLoopBatchDriver (void *theEnv) |
| globle intBool | ExecuteIfCommandComplete (void *theEnv) |
| globle intBool | CommandCompleteAndNotEmpty (void *theEnv) |
| globle void | PrintPrompt (void *theEnv) |
| globle void | PrintBanner (void *theEnv) |
| globle void | SetAfterPromptFunction (void *theEnv, int(*funptr)(void *)) |
| globle void | SetBeforeCommandExecutionFunction (void *theEnv, int(*funptr)(void *)) |
| globle intBool | RouteCommand (void *theEnv, char *command, int printResult) |
| globle int(*)(void *) | SetEventFunction (void *theEnv, int(*theFunction)(void *)) |
| globle intBool | TopLevelCommand (void *theEnv) |
| globle char * | GetCommandCompletionString (void *theEnv, char *theString, size_t maxPosition) |
| globle void | SetHaltCommandLoopBatch (void *theEnv, int value) |
| globle int | GetHaltCommandLoopBatch (void *theEnv) |
| #define _COMMLINE_SOURCE_ |
Definition at line 32 of file commline.c.
| #define _STDIO_INCLUDED_ |
Definition at line 35 of file commline.c.
| globle void AppendCommandString | ( | void * | theEnv, | |
| char * | str | |||
| ) |
Definition at line 185 of file commline.c.
| globle void AppendNCommandString | ( | void * | theEnv, | |
| char * | str, | |||
| unsigned | length | |||
| ) |
Definition at line 209 of file commline.c.
| globle intBool CommandCompleteAndNotEmpty | ( | void * | theEnv | ) |
Definition at line 670 of file commline.c.
| globle void CommandLoop | ( | void * | theEnv | ) |
Definition at line 484 of file commline.c.
| globle void CommandLoopBatch | ( | void * | theEnv | ) |
Definition at line 547 of file commline.c.
| globle void CommandLoopBatchDriver | ( | void * | theEnv | ) |
Definition at line 578 of file commline.c.
| globle void CommandLoopOnceThenBatch | ( | void * | theEnv | ) |
Definition at line 565 of file commline.c.
| globle int CompleteCommand | ( | char * | mstring | ) |
Definition at line 236 of file commline.c.
| globle intBool ExecuteIfCommandComplete | ( | void * | theEnv | ) |
Definition at line 638 of file commline.c.
| globle int ExpandCommandString | ( | void * | theEnv, | |
| int | inchar | |||
| ) |
Definition at line 117 of file commline.c.
| globle void FlushCommandString | ( | void * | theEnv | ) |
Definition at line 132 of file commline.c.
| globle char* GetCommandCompletionString | ( | void * | theEnv, | |
| char * | theString, | |||
| size_t | maxPosition | |||
| ) |
Definition at line 927 of file commline.c.
| globle char* GetCommandString | ( | void * | theEnv | ) |
Definition at line 220 of file commline.c.
| globle int GetHaltCommandLoopBatch | ( | void * | theEnv | ) |
Definition at line 1012 of file commline.c.
| globle void InitializeCommandLineData | ( | void * | theEnv | ) |
Definition at line 76 of file commline.c.
| globle void InsertCommandString | ( | void * | theEnv, | |
| char * | str, | |||
| unsigned int | position | |||
| ) |
Definition at line 195 of file commline.c.
| globle void PrintBanner | ( | void * | theEnv | ) |
Definition at line 696 of file commline.c.
| globle void PrintPrompt | ( | void * | theEnv | ) |
Definition at line 684 of file commline.c.
| globle intBool RouteCommand | ( | void * | theEnv, | |
| char * | command, | |||
| int | printResult | |||
| ) |
Definition at line 727 of file commline.c.
| globle void SetAfterPromptFunction | ( | void * | theEnv, | |
| int(*)(void *) | funptr | |||
| ) |
Definition at line 706 of file commline.c.
| globle void SetBeforeCommandExecutionFunction | ( | void * | theEnv, | |
| int(*)(void *) | funptr | |||
| ) |
Definition at line 717 of file commline.c.
| globle void SetCommandString | ( | void * | theEnv, | |
| char * | str | |||
| ) |
Definition at line 145 of file commline.c.
| globle int(*)(void *) SetEventFunction | ( | void * | theEnv, | |
| int(*)(void *) | theFunction | |||
| ) |
Definition at line 904 of file commline.c.
| globle void SetHaltCommandLoopBatch | ( | void * | theEnv, | |
| int | value | |||
| ) |
Definition at line 1002 of file commline.c.
| globle void SetNCommandString | ( | void * | theEnv, | |
| char * | str, | |||
| unsigned | length | |||
| ) |
Definition at line 166 of file commline.c.
| globle intBool TopLevelCommand | ( | void * | theEnv | ) |
Definition at line 917 of file commline.c.
1.5.6