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 extern const char* const kQueuedScriptsDirectoryName; 19 20 static const bigtime_t kHandleNodeMonitorEvents = 'nmon'; 21 22 static const bigtime_t kNodeMonitorEventHandlingDelay = 500000; 23 static const bigtime_t kCommunicationTimeout = 1000000; 24 25 // sanity limit for activation file size 26 static const size_t kMaxActivationFileSize = 10 * 1024 * 1024; 27 28 29 #endif // CONSTANTS_H 30