libt2n: (tomj) doxygen support
[libt2n] / src / server.hxx
index 3d28584..8d2db8e 100644 (file)
@@ -26,6 +26,9 @@
 namespace libt2n
 {
 
+/**
+    Basic connection class
+*/
 class connection
 {
     private:
@@ -63,6 +66,9 @@ class connection
         virtual void write(const std::string& data)=0;
 };
 
+/**
+    Basic server class
+*/
 class server
 {
     public:
@@ -103,7 +109,11 @@ class server
 
         bool get_packet(std::string& data, unsigned int& conn_id);
 
+        void fill_connection_buffers(void);
+
     protected:
+        void log(log_level_values level, const std::string& message)
+            { log(level,message.c_str()); }
         void log(log_level_values level, const char* message);
 };