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 10 namespace UserlandFS { 11 12 class ServerSettings { 13 public: 14 ServerSettings(); 15 ~ServerSettings(); 16 17 void SetEnterDebugger(bool enterDebugger); 18 bool ShallEnterDebugger() const; 19 20 private: 21 bool fEnterDebugger; 22 }; 23 24 extern ServerSettings gServerSettings; 25 26 static const int32 kRequestPortSize = B_PAGE_SIZE; 27 28 } // namespace UserlandFS 29 30 using UserlandFS::ServerSettings; 31 using UserlandFS::gServerSettings; 32 using UserlandFS::kRequestPortSize; 33 34 #endif // USERLAND_FS_SERVER_DEFS_H 35