|
EvEmu
0.8.4
11 September 2021
|

Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
| void | ProcessString (const char *str) |
| Processes given string as command. More... | |
| void | ProcessString (const std::string &str) |
| Processes given string as command. More... | |
| void | ProcessFile (FILE *file) |
| Loads commands from given file. More... | |
| void | ProcessFile (const char *filename) |
| Loads commands from given file. More... | |
| void | ProcessFile (const std::string &filename) |
| Loads commands from given file. More... | |
Variables | |
| const char *const | CACHE_DIR = EVEMU_ROOT "/cache" |
| const char *const | LOG_FILE = EVEMU_ROOT "/log/eve-tool.log" |
| const char *const | LOG_SETTINGS_FILE = EVEMU_ROOT "/etc/log.ini" |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 34 of file eve-tool.cpp.
References load_log_settings(), LOG_FILE, log_open_logfile(), LOG_SETTINGS_FILE, ProcessFile(), and sLog.

| void ProcessFile | ( | FILE * | file | ) |
Loads commands from given file.
| [in] | file | File to load commands from. |
Definition at line 76 of file eve-tool.cpp.
References ProcessString().
Referenced by LoadScript(), main(), and ProcessFile().


| void ProcessFile | ( | const char * | filename | ) |
Loads commands from given file.
| [in] | filename | Name of file to load commands from. |
Definition at line 100 of file eve-tool.cpp.
References ProcessFile().

| void ProcessFile | ( | const std::string & | filename | ) |
Loads commands from given file.
| [in] | filename | Name of file to load commands from. |
Definition at line 105 of file eve-tool.cpp.
References ProcessFile(), and sLog.

| void ProcessString | ( | const char * | str | ) |
Processes given string as command.
| [in] | str | String to be processed. |
Definition at line 66 of file eve-tool.cpp.
References ProcessCommand().
Referenced by ProcessFile(), and ProcessString().


| void ProcessString | ( | const std::string & | str | ) |
Processes given string as command.
| [in] | str | String to be processed. |
Definition at line 71 of file eve-tool.cpp.
References ProcessString().

| const char* const CACHE_DIR = EVEMU_ROOT "/cache" |
Cache directory to be used.
Definition at line 30 of file eve-tool.cpp.
| const char* const LOG_FILE = EVEMU_ROOT "/log/eve-tool.log" |
| const char* const LOG_SETTINGS_FILE = EVEMU_ROOT "/etc/log.ini" |