Blame libmultipath/version.h

Packit Service 0af388
/*
Packit Service 0af388
 * Soft:        multipath device mapper target autoconfig
Packit Service 0af388
 *
Packit Service 0af388
 * Version:     $Id: main.h,v 0.0.1 2003/09/18 15:13:38 cvaroqui Exp $
Packit Service 0af388
 *
Packit Service 0af388
 * Author:      Christophe Varoqui
Packit Service 0af388
 *
Packit Service 0af388
 *              This program is distributed in the hope that it will be useful,
Packit Service 0af388
 *              but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 0af388
 *              MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Packit Service 0af388
 *              See the GNU General Public License for more details.
Packit Service 0af388
 *
Packit Service 0af388
 *              This program is free software; you can redistribute it and/or
Packit Service 0af388
 *              modify it under the terms of the GNU General Public License
Packit Service 0af388
 *              as published by the Free Software Foundation; either version
Packit Service 0af388
 *              2 of the License, or (at your option) any later version.
Packit Service 0af388
 *
Packit Service 0af388
 * Copyright (c) 2006 Christophe Varoqui
Packit Service 0af388
 */
Packit Service 0af388
#ifndef _VERSION_H
Packit Service 0af388
#define _VERSION_H
Packit Service 0af388
Packit Service 0af388
#define VERSION_CODE 0x000804
Packit Service 0af388
#define DATE_CODE    0x050414
Packit Service 0af388
Packit Service 0af388
#define PROG    "multipath-tools"
Packit Service 0af388
Packit Service 0af388
#define MULTIPATH_VERSION(version)      \
Packit Service 0af388
	(version >> 16) & 0xFF,         \
Packit Service 0af388
	(version >> 8) & 0xFF,          \
Packit Service 0af388
	version & 0xFF
Packit Service 0af388
Packit Service 0af388
#define VERSION_STRING PROG" v%d.%d.%d (%.2d/%.2d, 20%.2d)\n",  \
Packit Service 0af388
		MULTIPATH_VERSION(VERSION_CODE),                \
Packit Service 0af388
		MULTIPATH_VERSION(DATE_CODE)
Packit Service 0af388
Packit Service 0af388
#endif /* _VERSION_H */