OSDN Git Service

メソッド追加
authoryatabe <yatabe@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Mon, 16 Feb 2009 08:02:50 +0000 (08:02 +0000)
committeryatabe <yatabe@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Mon, 16 Feb 2009 08:02:50 +0000 (08:02 +0000)
git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-shamshel@6926 1ed66053-1c2d-0410-8867-f7571e6e31d3

module/protocol/protocol_module_cinsert.cpp

index d0b486f..374d4d8 100644 (file)
@@ -5200,12 +5200,13 @@ protocol_module_cinsert::handle_realserver_close(
        return  STOP;
 }
 //---------------------------------------------------------------------------------
-protocol_module_cinsert::EVENT_TAG
-protocol_module_cinsert::handle_realserver_close(
-                               const boost::thread::id thread_id,
-                               const boost::asio::ip::udp::endpoint & rs_endpoint )
-{
-       // NOP
-       return  STOP;
+extern "C" l7vs::protocol_module_base*\r
+create_module(){\r
+       return dynamic_cast<l7vs::protocol_module_base*>(new l7vs::protocol_module_cinsert());\r
+}\r
+\r
+extern "C" void\r
+destroy_module( l7vs::protocol_module_base* in ){\r
+       delete in;\r
 }
 }