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