Privacy and Security Notice

Archived Messages for CDEV_1997@cebaf.gov: Version information of cdev

Version information of cdev

Jie chen (chen@merak.cebaf.gov)
Mon, 11 Aug 1997 10:13:41 -0400

Hi, all:
I think it is the time to add version information to cdev
that callers can retrieve. By doing this way, programmers can be
able to do conditional compilation on their applications or services.
In addition, cdevSystem can find out version information of loaded
services at run time. I created a simple header file called
cdevVersion.h which can be included in the cdevSystem.h and cdev.h.
If there is no objection, I will put this file into CVS. The following
is the cdevVersion.h

#ifndef _CDEV_VERSION_H
#define _CDEV_VERSION_H

#define CDEV_MAJOR_VERS 1
#define CDEV_MINOR_VERS 6
#define CDEV_REVISION 1

#define CDEV_VERSION (CDEV_MAJOR_VERS*10000 + CDEV_MINOR_VERS*100 + CDEV_REVISION)

#define CDEV_VERSION_STRING "CDEV Version 1.6.1"

#endif