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 409 by douglas, 2004-12-31T01:13:08-08:00 vs.
Revision 418 by douglas, 2005-03-02T22:36:24-08:00

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines