1 /* 2 * Copyright 2014, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef CONSTANTS_H 6 #define CONSTANTS_H 7 8 9 #include <SupportDefs.h> 10 11 12 extern const char* const kPackageFileNameExtension; 13 extern const char* const kAdminDirectoryName; 14 extern const char* const kActivationFileName; 15 extern const char* const kTemporaryActivationFileName; 16 extern const char* const kWritableFilesDirectoryName; 17 extern const char* const kPackageFileAttribute; 18 19 static const bigtime_t kHandleNodeMonitorEvents = 'nmon'; 20 21 static const bigtime_t kNodeMonitorEventHandlingDelay = 500000; 22 static const bigtime_t kCommunicationTimeout = 1000000; 23 24 // sanity limit for activation file size 25 static const size_t kMaxActivationFileSize = 10 * 1024 * 1024; 26 27 28 #endif // CONSTANTS_H 29