|
#define | QLO_CLEANUP_MASK (QLO_DISABLE_OPENSSL_CLEANUP) |
| mask of qore library init options that affect qore library cleanup (ie settable with qore_set_library_cleanup_options())
|
|
#define | QLO_DISABLE_GARBAGE_COLLECTION (1 << 3) |
| disable garbage collection / recursive object reference detection
|
|
#define | QLO_DISABLE_OPENSSL_CLEANUP (1 << 2) |
| do not perform cleanup on the openssl library (= is cleaned up manually)
|
|
#define | QLO_DISABLE_OPENSSL_INIT (1 << 1) |
| do not initialize the openssl library (= is initialized before the qore library is initialized)
|
|
#define | QLO_DISABLE_OPENSSL_INIT_CLEANUP (QLO_DISABLE_OPENSSL_INIT|QLO_DISABLE_OPENSSL_CLEANUP) |
| do not perform any initialization or cleanup of the openssl library (= is performed outside of the qore library)
|
|
#define | QLO_DISABLE_SIGNAL_HANDLING (1 << 0) |
| disable qore signal handling entirely
|
|
#define | QLO_DISABLE_TLS_13 (1 << 5) |
| disable TLS v1.3 (may be set at runtime with qore_set_library_options())
|
|
#define | QLO_DO_NOT_SEED_RNG (1 << 4) |
| disable seeding the random number generator when the Qore library is initialized
|
|
#define | QLO_MINIMUM_TLS_13 (1 << 6) |
| minimum TLS v1.3; overrides QLO_DISABLE_TLS_13 (may be set at runtime with qore_set_library_options())
|
|
#define | QLO_NONE 0 |
| no options (default)
|
|
|
DLLEXPORT bool | qore_check_option (int opt) |
| returns true if all the bits set in the argument are also set in the qore library init option variable
|
|
DLLEXPORT void | qore_cleanup () |
| frees all memory allocated by the library More...
|
|
DLLEXPORT int | qore_get_library_init_options () |
| returns the current library options More...
|
|
DLLEXPORT int | qore_get_library_options () |
| returns library options More...
|
|
DLLEXPORT bool | qore_has_debug () |
| if the qore library includes debugging or not
|
|
DLLEXPORT void | qore_init (qore_license_t license=QL_GPL, const char *default_encoding=0, bool show_module_errors=false, int init_options=QLO_NONE) |
| initializes the Qore library More...
|
|
DLLEXPORT int | qore_set_library_cleanup_options (int options) |
| the given options will be combined with binary or to the library init options; only options that affect library cleanup are settable; returns the new library init option mask
|
|
DLLEXPORT int | qore_set_library_options (int opts) |
| set library options at runtime More...
|
|
|
DLLEXPORT const QoreStringMaker | mpfrInfo |
| a string giving information about the MPFR library used by the qore library
|
|
DLLEXPORT const char * | qore_build_host |
| information about the build host
|
|
DLLEXPORT int | qore_build_number |
| the build number of the qore library More...
|
|
DLLEXPORT const char * | qore_cflags |
| the compiler flags used to build qore
|
|
DLLEXPORT const char * | qore_cplusplus_compiler |
| the c++ compiler used to build qore
|
|
DLLEXPORT const char * | qore_git_hash |
| the git hash of the sources
|
|
DLLEXPORT const char * | qore_ldflags |
| the linker flags used to link qore
|
|
DLLEXPORT int | qore_min_mod_api_major |
| the recommended minimum module api major number to use
|
|
DLLEXPORT int | qore_min_mod_api_minor |
| the recommended minimum module api minor number to use
|
|
DLLEXPORT const char * | qore_module_dir |
| the qore module directory
|
|
DLLEXPORT const char * | qore_module_ver_dir |
| the qore version-specific module directory
|
|
DLLEXPORT const char * | qore_mpfr_info |
| information about the MPFR library used by the qore library More...
|
|
DLLEXPORT const char * | qore_target_arch |
| the build target machine architecture name
|
|
DLLEXPORT int | qore_target_bits |
| the build target machine word size in bits (32 or 64 normally)
|
|
DLLEXPORT const char * | qore_target_os |
| the build target Operating System name
|
|
DLLEXPORT const char * | qore_user_module_dir |
| the qore user module directory
|
|
DLLEXPORT const char * | qore_user_module_ver_dir |
| the qore version-specific user module directory
|
|
DLLEXPORT int | qore_version_major |
| the major version number of the qore library
|
|
DLLEXPORT int | qore_version_minor |
| the minor version number of the qore library
|
|
DLLEXPORT int | qore_version_patch |
| the version number below the sub version number of the qore library
|
|
DLLEXPORT const char * | qore_version_string |
| the complete version string of the qore library
|
|
DLLEXPORT int | qore_version_sub |
| the version number below the minor version number of the qore library
|
|
DLLEXPORT QoreCounter | thread_counter |
| global background thread counter (for threads started explicitly by Qore)
|
|
the main header file for the Qore library. All code using any part of the Qore library's functionality should include this file
DLLEXPORT int qore_get_library_init_options |
( |
| ) |
|
returns the current library options
this function could be checked, for example, if performing external openssl cleanup, if a module has set QLO_DISABLE_OPENSSL_CLEANUP, for example, indicating that the openssl library has already been cleaned up, meaning that the cleanup should also not be performed externally.