Line data Source code
1 : /** 2 : Copyright (c) 2017-2022 Roman Katuntsev <sbkarr@stappler.org> 3 : Copyright (c) 2023 Stappler LLC <admin@stappler.dev> 4 : 5 : Permission is hereby granted, free of charge, to any person obtaining a copy 6 : of this software and associated documentation files (the "Software"), to deal 7 : in the Software without restriction, including without limitation the rights 8 : to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 : copies of the Software, and to permit persons to whom the Software is 10 : furnished to do so, subject to the following conditions: 11 : 12 : The above copyright notice and this permission notice shall be included in 13 : all copies or substantial portions of the Software. 14 : 15 : THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 : IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 : FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 : AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 : LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 : OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 : THE SOFTWARE. 22 : **/ 23 : 24 : #include "SPCommon.h" 25 : 26 : #include "SPIO.cc" 27 : #include "SPMemPoolAllocator.cc" 28 : #include "SPMemPoolApr.cc" 29 : #include "SPMemPoolHash.cc" 30 : #include "SPMemPoolInterface.cc" 31 : #include "SPMemPoolPool.cc" 32 : #include "SPMemPoolUtils.cc" 33 : #include "SPMemAlloc.cc" 34 : #include "SPMemRbtree.cc" 35 : #include "SPMemUserData.cc" 36 : #include "SPMemUuid.cc" 37 : #include "SPBase64.cc" 38 : #include "SPCharGroup.cc" 39 : #include "SPSha2.cc" 40 : #include "SPGost3411-2012.cc" 41 : #include "SPString.cc" 42 : #include "SPUnicode.cc" 43 : #include "SPCommon.h" 44 : #include "SPHtmlParser.cc" 45 : #include "SPLog.cc" 46 : #include "SPRef.cc" 47 : #include "SPTime.cc" 48 : #include "SPDso.cc" 49 : 50 : #include "platform/SPCore-linux.cc" 51 : #include "platform/SPCore-android.cc" 52 : #include "platform/SPCore-win32.cc" 53 : 54 : #ifdef MODULE_STAPPLER_DATA 55 : #include "SPData.cc" 56 : #include "SPDataUrlencoded.cc" 57 : #endif 58 : 59 : #include "SPUrl.cc" 60 : #include "SPValid.cc" 61 : 62 : #ifdef MODULE_STAPPLER_SQL 63 : #include "SPSql.cc" 64 : #endif 65 : 66 : namespace STAPPLER_VERSIONIZED stappler { 67 : 68 : #define STRINGIFY(x) #x 69 : #define TOSTRING(x) STRINGIFY(x) 70 : 71 25 : const char * getStapplerVersionString() { 72 25 : return TOSTRING(STAPPLER_VERSION_NUMBER) "/" TOSTRING(STAPPLER_VERSION_BUILD); 73 : } 74 : 75 0 : uint32_t getStapplerVersionNumber() { 76 0 : return STAPPLER_VERSION_NUMBER; 77 : } 78 : 79 0 : uint32_t getStapplerVersionBuild() { 80 0 : return STAPPLER_VERSION_BUILD; 81 : } 82 : 83 : }