OSDN Git Service

Initial commit from 2.1.2-1
[ultramonkey-l7/ultramonkey-l7-v2.git] / src / l7vsadm.c
diff --git a/src/l7vsadm.c b/src/l7vsadm.c
new file mode 100644 (file)
index 0000000..56d52d2
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * @file  l7vsadm.c
+ * @brief the main module of l7vsadm wrapper
+ *
+ * L7VSADM: Virtual Server Administration Program for L7vsd
+ * Copyright (C) 2005  NTT COMWARE Corporation.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ *
+ **********************************************************************/
+
+#include "logger_wrapper.h"
+#include "parameter_wrapper.h"
+
+extern void l7vsadm_main(int, char *[]);
+
+using namespace l7vs;
+
+Logger Logger::instance;
+Parameter Parameter::instance;
+
+int
+main(int argc, char *argv[])
+{
+       l7vsadm_main(argc, argv);
+}