haiku/src/servers/package/Constants.h

31 lines
908 B
C

/*
* Copyright 2014, Ingo Weinhold, ingo_weinhold@gmx.de.
* Distributed under the terms of the MIT License.
*/
#ifndef CONSTANTS_H
#define CONSTANTS_H
#include <SupportDefs.h>
extern const char* const kPackageFileNameExtension;
extern const char* const kAdminDirectoryName;
extern const char* const kActivationFileName;
extern const char* const kTemporaryActivationFileName;
extern const char* const kFirstBootProcessingNeededFileName;
extern const char* const kWritableFilesDirectoryName;
extern const char* const kPackageFileAttribute;
extern const char* const kQueuedScriptsDirectoryName;
static const bigtime_t kHandleNodeMonitorEvents = 'nmon';
static const bigtime_t kNodeMonitorEventHandlingDelay = 500000;
static const bigtime_t kCommunicationTimeout = 1000000;
// sanity limit for activation file size
static const size_t kMaxActivationFileSize = 10 * 1024 * 1024;
#endif // CONSTANTS_H