[libmultipath] move get_refwwid() to libmultipath/configure.c
[platform/upstream/multipath-tools.git] / multipath / main.h
1 /*
2  * Soft:        Description here...
3  *
4  * Version:     $Id: main.h,v 0.0.1 2003/09/18 15:13:38 cvaroqui Exp $
5  *
6  * Author:      Copyright (C) 2003 Christophe Varoqui
7  *
8  *              This program is distributed in the hope that it will be useful,
9  *              but WITHOUT ANY WARRANTY; without even the implied warranty of
10  *              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11  *              See the GNU General Public License for more details.
12  *
13  *              This program is free software; you can redistribute it and/or
14  *              modify it under the terms of the GNU General Public License
15  *              as published by the Free Software Foundation; either version
16  *              2 of the License, or (at your option) any later version.
17  */
18
19 #ifndef _MAIN_H
20 #define _MAIN_H
21
22 /*
23  * Build version
24  */
25 #define PROG    "multipath"
26
27 #define VERSION_CODE 0x000406
28 #define DATE_CODE    0x0b0a05
29
30 #define MULTIPATH_VERSION(version)      \
31         (version >> 16) & 0xFF,         \
32         (version >> 8) & 0xFF,          \
33         version & 0xFF
34
35 #define VERSION_STRING PROG" v%d.%d.%d (%.2d/%.2d, 20%.2d)\n",  \
36                 MULTIPATH_VERSION(VERSION_CODE),                \
37                 MULTIPATH_VERSION(DATE_CODE)
38
39 #endif