feisty meow concerns codebase  2.140
unpacker_stub.cpp File Reference
Include dependency graph for unpacker_stub.cpp:

Go to the source code of this file.

Macros

#define BASE_LOG(to_print)   program_wide_logger::get().log(to_print, ALWAYS_PRINT)
 
#define LOG(to_print)   STAMPED_EMERGENCY_LOG(program_wide_logger::get(), to_print)
 

Functions

void show_message (const astring &msg, const astring &title)
 
astring find_unique_backup_name (astring original_file)
 

Variables

const int CHUNKING_SIZE = 64 * KILOBYTE
 
const astring TARGET_WORD = "TARGET"
 
const astring LOGDIR_WORD = "LOGDIR"
 
const char * ERROR_TITLE = "An Error Caused Incomplete Installation"
 
abyte MANIFEST_OFFSET_ARRAY [] = { 'm', 'u', 'f', 't', 'i', 'l', 'o', 'c', 0, 0, 0, 0, 0, 0, 0, 0 }
 

Macro Definition Documentation

◆ BASE_LOG

#define BASE_LOG (   to_print)    program_wide_logger::get().log(to_print, ALWAYS_PRINT)

Definition at line 70 of file unpacker_stub.cpp.

◆ LOG

#define LOG (   to_print)    STAMPED_EMERGENCY_LOG(program_wide_logger::get(), to_print)

Definition at line 71 of file unpacker_stub.cpp.

Function Documentation

◆ find_unique_backup_name()

astring find_unique_backup_name ( astring  original_file)

Definition at line 140 of file unpacker_stub.cpp.

References filesystem::filename::exists().

◆ show_message()

void show_message ( const astring msg,
const astring title 
)

Definition at line 99 of file unpacker_stub.cpp.

References BASE_LOG, and basis::astring::length().

Variable Documentation

◆ CHUNKING_SIZE

const int CHUNKING_SIZE = 64 * KILOBYTE

Definition at line 64 of file unpacker_stub.cpp.

◆ ERROR_TITLE

const char* ERROR_TITLE = "An Error Caused Incomplete Installation"

Definition at line 76 of file unpacker_stub.cpp.

◆ LOGDIR_WORD

const astring LOGDIR_WORD = "LOGDIR"

Definition at line 68 of file unpacker_stub.cpp.

◆ MANIFEST_OFFSET_ARRAY

abyte MANIFEST_OFFSET_ARRAY[] = { 'm', 'u', 'f', 't', 'i', 'l', 'o', 'c', 0, 0, 0, 0, 0, 0, 0, 0 }

Definition at line 163 of file unpacker_stub.cpp.

◆ TARGET_WORD

const astring TARGET_WORD = "TARGET"

Definition at line 67 of file unpacker_stub.cpp.