Index: ossp-pkg/l2/l2.h RCS File: /v/ossp/cvs/ossp-pkg/l2/Attic/l2.h,v rcsdiff -q -kk '-r1.22' '-r1.23' -u '/v/ossp/cvs/ossp-pkg/l2/Attic/l2.h,v' 2>/dev/null --- l2.h 2001/09/10 09:48:48 1.22 +++ l2.h 2001/09/12 08:08:46 1.23 @@ -30,6 +30,23 @@ #ifndef __L2_H__ #define __L2_H__ +/* version information (compile-time) */ +#define L2_VERSION_STR "0.1.0 (08-Sep-2001)" +#define L2_VERSION_HEX 0x001200 + +/* version information (run-time) */ +typedef struct { + const int v_hex; + const char *v_short; + const char *v_long; + const char *v_tex; + const char *v_gnu; + const char *v_web; + const char *v_sccs; + const char *v_rcs; +} l2_version_t; +extern l2_version_t l2_version; + /* include standard environment we are based on */ #include #include