ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Spectre2/Spectre2.hpp
(Generate patch)

Comparing Spectre2/Spectre2.hpp (file contents):
Revision 405 by douglas, 2004-12-30T00:44:18-08:00 vs.
Revision 414 by douglas, 2005-01-14T22:35:17-08:00

# Line 14 | Line 14
14   #endif
15  
16   #include <menes-api/console.hpp>
17 + #include <menes-api/files.hpp>
18   #include <menes-ext/string.hpp>
19  
20 + #include <unistd.h>
21 +
22 + typedef api::Posix::FileStream<api::Posix::HandleWriter, O_WRONLY | O_CREAT | O_TRUNC, 0600> SecretFileWriter;
23 +
24 + #ifndef _Spectre2_prefix_
25 + #define _Spectre2_prefix_ "/usr/local"
26 + #endif
27 +
28 + #ifndef _Spectre2_root_
29 + #define _Spectre2_root_ "/smb"
30 + #endif
31 +
32   class Daemon;
33  
34   class Spectre2
# Line 25 | Line 38 | private:
38   public:
39          Spectre2(const ext::String& config, const ext::String& pid);
40          ~Spectre2();
41 <        static ext::String program;
41 >        static ext::String program, prefix, root;
42          static bool debug;
43          static ext::Vector<Daemon*> daemons;
44   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines