OSDN Git Service

Delete urla module files.
[ultramonkey-l7/ultramonkey-l7-v2.git] / module / protocol / module_urla_map.h
diff --git a/module/protocol/module_urla_map.h b/module/protocol/module_urla_map.h
deleted file mode 100644 (file)
index 112503f..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * @file  module_urla_map.h
- * @brief this module provide session persistence by URL session ID.
- *
- * L7VSD: Linux Virtual Server for Layer7 Load Balancing
- * Copyright (C) 2009  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
- *
- **********************************************************************/
-
-#ifndef MODULE_URLA_MAP_H
-#define MODULE_URLA_MAP_H
-
-#include <map>
-#include <string>
-#include <list>
-#include <sys/time.h>
-#include "l7vs_dest.h"
-
-#define SESSION_ID_LENGTH
-
-struct session {
-    char id[SESSION_ID_LENGTH];
-    sockaddr_in dest;
-    time_t time;
-};
-
-typedef std::list<session*> session_list_t;
-typedef std::map<std::string, std::list<session*>::iterator> session_map_t;
-
-extern "C" {
-    int create_session_area(int);
-    int insert_session(char*, struct sockaddr_in*);
-    sockaddr_in find_session(char*);
-}
-
-#endif // MODULE_URLA_MAP_H