OSDN Git Service

Update INSTALL.ja.utf-8 for new release.
[ultramonkey-l7/ultramonkey-l7-v2.git] / include / l7vs.h
1 /*!
2  * @file        l7vs.h
3  * @brief       UltraMonkey-L7 main header
4  * @author      nakai norihisa
5  *
6  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
7  * Copyright (C) 2005  NTT COMWARE Corporation.
8  *
9  * This program is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 2.1 of the License, or (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with this library; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22  * 02110-1301 USA
23  *
24  **********************************************************************/
25
26 #ifndef L7VS_H
27 #define L7VS_H
28
29 #include <string.h>
30
31 #define L7VS_VERSION_STRING             VERSION
32
33 /*!
34  * default module path
35  */
36 #ifndef L7VS_MODULE_PATH
37         #define L7VS_MODULE_PATH        "."
38 #endif  //L7VS_MODULE_PATH
39
40 #define L7VS_IPADDR_LEN                 (16)
41 #define L7VS_MODNAME_LEN                (16)            /*!     Module name length*/
42 #define L7VS_PROTOMOD_MAX_BUFSIZE       (256)           /*! protocol module max buffer size */
43 #define L7VS_PROTOMOD_MAX_ADD_BUFSIZE   (256)           /*! protocol module max addbuffer size */
44 #define L7VS_PROTOMOD_MAX_SERVICE_ARG   (256)           /*! protocol module max service argument size */
45 #define L7VS_PROTOMOD_OPT_LEN           (512)
46 #define L7VS_PROTOMOD_KEY_LEN           (256)
47
48 extern char l7vs_module_path[];                                         /*! protocol module path */
49
50 #endif /* L7VS_H */