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 428 by douglas, 2005-03-24T17:38:00-08:00 vs.
Revision 439 by douglas, 2005-04-07T15:56:53-07:00

# Line 29 | Line 29
29  
30   #include "Matcher/Matcher.hpp"
31  
32 typedef api::Posix::FileStream<api::Posix::HandleWriter, O_WRONLY | O_CREAT | O_TRUNC, 0600> SecretFileWriter;
33 typedef api::Posix::FileStream<api::Posix::HandleWriter, O_WRONLY | O_APPEND, 0> AppendFileWriter;
34
32   #ifndef _Spectre2_prefix_
33   #define _Spectre2_prefix_ "/usr/local"
34   #endif
# Line 44 | Line 41 | typedef api::Posix::FileStream<api::Posi
41   #define _Spectre2_mount_ "/sbin/mount"
42   #endif
43  
44 + #ifndef _Spectre2_umount_
45 + #define _Spectre2_umount_ "/sbin/umount"
46 + #endif
47 +
48   class Daemon;
48 class Share;
49  
50   class Spectre2
51   {
# Line 54 | Line 54 | private:
54   public:
55          Spectre2(const api::Path& config);
56          ~Spectre2();
57 <        static ext::String program, prefix, root, mount;
57 >        static ext::String program, prefix, root, mount, umount;
58          static bool debug;
59 <        static ext::Vector<Daemon*> daemons;
60 <        static ext::RedBlackSet<Share> shares;
61 <        static api::ThreadMutex sharesLock;
59 >        static Daemon* daemon;
60   };
61  
62   #endif//_Spectre2_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines