add minimal documentation for DirectoryNode::link()
[senf.git] / Scheduler / Console / Server.hh
index ac86ca2..dfd0cf3 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief Server public header */
 
-#ifndef HH_Server_
-#define HH_Server_ 1
+#ifndef HH_SENF_Scheduler_Console_Server_
+#define HH_SENF_Scheduler_Console_Server_ 1
 
 // Custom includes
 #include <set>
@@ -161,7 +161,7 @@ namespace console {
         static const unsigned INTERACTIVE_TIMEOUT = 500; // milliseconds;
 
     public:
-        typedef Server::ServerHandle::ClientSocketHandle ClientHandle;
+        typedef Server::ServerHandle::ClientHandle ClientHandle;
 
         ~Client();
 
@@ -186,7 +186,7 @@ namespace console {
         void setNoninteractive();
         
         void translate(std::string & data);
-        unsigned handleInput(std::string input, bool incremental = false);
+        size_t handleInput(std::string input, bool incremental = false);
         virtual void v_write(senf::log::time_type timestamp, std::string const & stream, 
                              std::string const & area, unsigned level, 
                              std::string const & message);