]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_utilities/lib/machrunloopserver.h
Security-55471.14.4.tar.gz
[apple/security.git] / libsecurity_utilities / lib / machrunloopserver.h
index d810b6cf2f236b2755c58ead2b2f17910c2f23ce..da7f656d17c43e380dbed4e5676b1131bf89b16e 100644 (file)
@@ -54,16 +54,16 @@ public:
        MachRunLoopServer(const char *name, const Bootstrap &boot); // register in bootstrap
        virtual ~MachRunLoopServer();
 
        MachRunLoopServer(const char *name, const Bootstrap &boot); // register in bootstrap
        virtual ~MachRunLoopServer();
 
-       void run(size_t maxSize = 4096, mach_msg_options_t options = 0);
+       void run(mach_msg_size_t maxSize = 4096, mach_msg_options_t options = 0);
 
        static MachRunLoopServer &active()
        { return safer_cast<MachRunLoopServer &>(MachServer::active()); }
        
 
        static MachRunLoopServer &active()
        { return safer_cast<MachRunLoopServer &>(MachServer::active()); }
        
-       void notifyIfDead(Port port) const;
+       void notifyIfDead(Port port, bool doNotify = true) const;
 
 protected:
 
 protected:
-       void receive(Message &request);
-       void oneRequest(Message &request);
+       void receive(const Message &request);
+       void oneRequest(const Message &request);
 
 private:
        static void cfInvalidate(CFMachPortRef port, void *info);
 
 private:
        static void cfInvalidate(CFMachPortRef port, void *info);