icedb
version 0.5.1
Snow particle scattering database API
|
#include "../defs.h"
Go to the source code of this file.
Classes | |
struct | ICEDB_enumModulesRes |
Macros | |
#define | ICEDB_H_OS_FUNCTIONS |
#define ICEDB_H_OS_FUNCTIONS |
Definition at line 3 of file os_functions.h.
DL_ICEDB ICEDB_enumModulesRes* ICEDB_enumModules | ( | int | pid | ) |
Definition at line 607 of file os_functions.cpp.
References icedb::free(), icedb::os_functions::getPID(), ICEDB_COMPAT_strdup_s(), ICEDB_error_context_add_string2, ICEDB_error_context_create, ICEDB_error_getOSname, ICEDB_ERRORCODES_OS, ICEDB_malloc(), icedb::os_functions::vars::mmods, icedb::os_functions::vars::moduleCallbackBuffer, ICEDB_enumModulesRes::modules, and ICEDB_enumModulesRes::sz.
DL_ICEDB char* ICEDB_findModuleByFunc | ( | void * | ptr, |
size_t | sz, | ||
char * | res | ||
) |
Find the file that contains the symbol.
ptr | is the symbol. Can be any pointer. |
sz | is the size of the output buffer (bytes). |
res | is the output buffer, of size at least sz. Gets null terminated. |
Definition at line 677 of file os_functions.cpp.
References ICEDB_COMPAT_strncpy_s(), and ICEDB_DEBUG_RAISE_EXCEPTION.
DL_ICEDB void ICEDB_free_enumModulesRes | ( | ICEDB_enumModulesRes * | ) |
Definition at line 596 of file os_functions.cpp.
References ICEDB_free(), ICEDB_enumModulesRes::modules, and ICEDB_enumModulesRes::sz.
DL_ICEDB const char* ICEDB_getAppConfigDir | ( | ) |
Definition at line 587 of file os_functions.cpp.
References icedb::os_functions::vars::appConfigDir, and icedb::os_functions::populateOSstrings().
Referenced by icedb::os_functions::getAppConfigDir().
DL_ICEDB char* ICEDB_getAppDir | ( | size_t | sz, |
char * | res | ||
) |
Definition at line 765 of file os_functions.cpp.
References icedb::os_functions::vars::appDir, ICEDB_COMPAT_strncpy_s(), and ICEDB_getAppDirI().
DL_ICEDB const char* ICEDB_getAppDirC | ( | ) |
Definition at line 770 of file os_functions.cpp.
References icedb::os_functions::vars::appDir, and ICEDB_getAppDirI().
DL_ICEDB char* ICEDB_getAppPath | ( | size_t | sz, |
char * | res | ||
) |
Definition at line 813 of file os_functions.cpp.
References icedb::os_functions::vars::appPath, ICEDB_COMPAT_strncpy_s(), and ICEDB_getAppDirI().
DL_ICEDB const char* ICEDB_getAppPathC | ( | ) |
Definition at line 818 of file os_functions.cpp.
References icedb::os_functions::vars::appPath, and ICEDB_getAppDirI().
DL_ICEDB char* ICEDB_getCWD | ( | size_t | sz, |
char * | res | ||
) |
Definition at line 794 of file os_functions.cpp.
References icedb::os_functions::vars::CWD, ICEDB_COMPAT_strncpy_s(), and ICEDB_getCWDI().
DL_ICEDB const char* ICEDB_getCWDC | ( | ) |
Definition at line 799 of file os_functions.cpp.
References icedb::os_functions::vars::CWD, and ICEDB_getCWDI().
DL_ICEDB const char* ICEDB_getHomeDir | ( | ) |
Definition at line 591 of file os_functions.cpp.
References icedb::os_functions::vars::homeDir, and icedb::os_functions::populateOSstrings().
Referenced by icedb::os_functions::getHomeDir().
DL_ICEDB const char* ICEDB_getHostName | ( | ) |
Definition at line 583 of file os_functions.cpp.
References icedb::os_functions::vars::hostname, and icedb::os_functions::populateOSstrings().
Referenced by icedb::os_functions::getHostName().
DL_ICEDB char* ICEDB_getLibDir | ( | size_t | sz, |
char * | res | ||
) |
Definition at line 714 of file os_functions.cpp.
References ICEDB_COMPAT_strncpy_s(), ICEDB_getLibDirI(), and icedb::os_functions::vars::libDir.
DL_ICEDB const char* ICEDB_getLibDirC | ( | ) |
Definition at line 719 of file os_functions.cpp.
References ICEDB_getLibDirI(), and icedb::os_functions::vars::libDir.
DL_ICEDB char* ICEDB_getLibPath | ( | size_t | sz, |
char * | res | ||
) |
Definition at line 804 of file os_functions.cpp.
References ICEDB_COMPAT_strncpy_s(), ICEDB_getLibDirI(), and icedb::os_functions::vars::libPath.
DL_ICEDB const char* ICEDB_getLibPathC | ( | ) |
Definition at line 809 of file os_functions.cpp.
References ICEDB_getLibDirI(), and icedb::os_functions::vars::libPath.
DL_ICEDB int ICEDB_getPID | ( | ) |
Definition at line 481 of file os_functions.cpp.
References ICEDB_error_context_add_string2, ICEDB_error_context_create, ICEDB_error_getOSname, and ICEDB_ERRORCODES_UNIMPLEMENTED.
Referenced by icedb::os_functions::getPID(), and ICEDB_getAppDirI().
DL_ICEDB char* ICEDB_getPluginDir | ( | size_t | sz, |
char * | res | ||
) |
Definition at line 827 of file os_functions.cpp.
References ICEDB_COMPAT_strncpy_s(), ICEDB_getPluginDirI(), and icedb::os_functions::vars::pluginDir.
DL_ICEDB const char* ICEDB_getPluginDirC | ( | ) |
Definition at line 832 of file os_functions.cpp.
References ICEDB_getPluginDirI(), and icedb::os_functions::vars::pluginDir.
DL_ICEDB int ICEDB_getPPID | ( | int | pid | ) |
Definition at line 501 of file os_functions.cpp.
References ICEDB_error_context_add_string2, ICEDB_error_context_create, ICEDB_error_getOSname, and ICEDB_ERRORCODES_UNIMPLEMENTED.
Referenced by icedb::os_functions::getPPID().
DL_ICEDB const char* ICEDB_getUserName | ( | ) |
Definition at line 579 of file os_functions.cpp.
References icedb::os_functions::populateOSstrings(), and icedb::os_functions::vars::username.
Referenced by icedb::os_functions::getUserName().
DL_ICEDB void ICEDB_libEntry | ( | int | , |
char ** | |||
) |
Entry function that gets called when a debugged application first loads.
This function gets called at the beginning of an application's execution (generally). It:
Definition at line 848 of file os_functions.cpp.
References ICEDB_libExit().
Referenced by icedb::os_functions::libEntry().
DL_ICEDB void ICEDB_libExit | ( | ) |
Definition at line 904 of file os_functions.cpp.
References icedb::os_functions::vars::_consoleTerminated, and ICEDB_waitOnExitGet().
Referenced by ICEDB_libEntry().
ICEDB_BEGIN_DECL_C DL_ICEDB bool ICEDB_pidExists | ( | int | pid, |
bool & | res | ||
) |
Definition at line 401 of file os_functions.cpp.
References ICEDB_error_context_add_string2, ICEDB_error_context_create, ICEDB_error_getOSname, ICEDB_ERRORCODES_OS, and ICEDB_ERRORCODES_UNIMPLEMENTED.
Referenced by icedb::os_functions::pidExists().
DL_ICEDB bool ICEDB_waitOnExitGet | ( | ) |
Definition at line 570 of file os_functions.cpp.
References icedb::os_functions::vars::doWaitOnExit, icedb::os_functions::vars::doWaitOnExitQueriedDefault, ICEDB_waitOnExitGetDefault(), and icedb::os_functions::vars::m_sys_names.
Referenced by ICEDB_libExit(), and icedb::os_functions::waitOnExit().
DL_ICEDB bool ICEDB_waitOnExitGetDefault | ( | ) |
Definition at line 530 of file os_functions.cpp.
Referenced by ICEDB_waitOnExitGet().
DL_ICEDB void ICEDB_waitOnExitSet | ( | bool | val | ) |
Definition at line 565 of file os_functions.cpp.
References icedb::os_functions::vars::doWaitOnExit, icedb::os_functions::vars::doWaitOnExitQueriedDefault, and icedb::os_functions::vars::m_sys_names.
Referenced by icedb::os_functions::waitOnExit().
DL_ICEDB void ICEDB_writeDebugString | ( | const char * | ) |
Definition at line 922 of file os_functions.cpp.
References ICEDB_COMPAT_fprintf_s.
Referenced by icedb::logging::emit_log().