00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef _QORE_QORE_H
00025
00026 #define _QORE_QORE_H
00027
00032
00033 #ifdef _QORE_LIB_INTERN
00034 #include <qore/intern/config.h>
00035 #endif
00036
00037 #include <qore/common.h>
00038 #include <qore/QoreEncoding.h>
00039 #include <qore/ReferenceHolder.h>
00040 #include <qore/AbstractQoreNode.h>
00041 #include <qore/QoreNodeEvalOptionalRefHolder.h>
00042 #include <qore/QoreListNode.h>
00043 #include <qore/QoreProgram.h>
00044 #include <qore/ModuleManager.h>
00045 #include <qore/QoreLib.h>
00046 #include <qore/QoreStringNode.h>
00047 #include <qore/DateTimeNode.h>
00048 #include <qore/QoreHashNode.h>
00049 #include <qore/QoreBigIntNode.h>
00050 #include <qore/QoreBoolNode.h>
00051 #include <qore/QoreFloatNode.h>
00052 #include <qore/QoreNothingNode.h>
00053 #include <qore/QoreNullNode.h>
00054 #include <qore/QoreNet.h>
00055 #include <qore/QoreURL.h>
00056 #include <qore/QoreFile.h>
00057 #include <qore/AbstractPrivateData.h>
00058 #include <qore/QoreObject.h>
00059 #include <qore/QoreRWLock.h>
00060 #include <qore/QoreNamespace.h>
00061 #include <qore/ExceptionSink.h>
00062 #include <qore/BinaryNode.h>
00063 #include <qore/QoreString.h>
00064 #include <qore/DateTime.h>
00065 #include <qore/QoreType.h>
00066 #include <qore/BuiltinFunctionList.h>
00067 #include <qore/qore_thread.h>
00068 #include <qore/QoreThreadLock.h>
00069 #include <qore/QoreThreadLocalStorage.h>
00070 #include <qore/QoreCondition.h>
00071 #include <qore/DBI.h>
00072 #include <qore/Datasource.h>
00073 #include <qore/QoreClass.h>
00074 #include <qore/ScopeGuard.h>
00075 #include <qore/SystemEnvironment.h>
00076 #include <qore/AutoVLock.h>
00077 #include <qore/CallReferenceNode.h>
00078 #include <qore/ReferenceNode.h>
00079 #include <qore/params.h>
00080 #include <qore/QoreTypeSafeReferenceHelper.h>
00081 #include <qore/QoreEvents.h>
00082 #include <qore/qore-version.h>
00083
00085 DLLEXPORT extern const char *qore_version_string;
00086
00088 DLLEXPORT extern int qore_version_major;
00089
00091 DLLEXPORT extern int qore_version_minor;
00092
00094 DLLEXPORT extern int qore_version_sub;
00095
00097 DLLEXPORT extern int qore_build_number;
00098
00100 DLLEXPORT extern int qore_target_bits;
00101
00103 DLLEXPORT extern const char *qore_target_os;
00104
00106 DLLEXPORT extern const char *qore_target_arch;
00107
00109 DLLEXPORT extern const char *qore_module_dir;
00110
00112 DLLEXPORT extern const char *qore_cplusplus_compiler;
00113
00115 DLLEXPORT extern const char *qore_cflags;
00116
00118 DLLEXPORT extern const char *qore_ldflags;
00119
00121 DLLEXPORT extern const char *qore_build_host;
00122
00124 DLLEXPORT bool qore_has_debug();
00125
00127 DLLEXPORT extern int qore_min_mod_api_major;
00128
00130 DLLEXPORT extern int qore_min_mod_api_minor;
00131
00132 #define QLO_NONE 0
00133 #define QLO_DISABLE_SIGNAL_HANDLING 1 << 0
00134
00136
00145 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);
00146
00148
00152 DLLEXPORT void qore_cleanup();
00153
00154 #include <qore/support.h>
00155
00156
00157 #ifdef _QORE_LIB_INTERN
00158 #include <qore/intern/QoreLibIntern.h>
00159 #endif
00160
00161 #endif // _QORE_QORE_H