1/* 2 * Copyright 2001-2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef USERLAND_FS_SERVER_DEFS_H 6#define USERLAND_FS_SERVER_DEFS_H 7 8#include <OS.h> 9 10namespace UserlandFS { 11 12class ServerSettings { 13public: 14 ServerSettings(); 15 ~ServerSettings(); 16 17 void SetEnterDebugger(bool enterDebugger); 18 bool ShallEnterDebugger() const; 19 20private: 21 bool fEnterDebugger; 22}; 23 24extern ServerSettings gServerSettings; 25 26static const int32 kRequestPortSize = B_PAGE_SIZE; 27 28} // namespace UserlandFS 29 30using UserlandFS::ServerSettings; 31using UserlandFS::gServerSettings; 32using UserlandFS::kRequestPortSize; 33 34#endif // USERLAND_FS_SERVER_DEFS_H 35