Index: ossp-pkg/l2/l2.h.in RCS File: /v/ossp/cvs/ossp-pkg/l2/l2.h.in,v rcsdiff -q -kk '-r1.2' '-r1.3' -u '/v/ossp/cvs/ossp-pkg/l2/l2.h.in,v' 2>/dev/null --- l2.h.in 2001/09/10 09:54:41 1.2 +++ l2.h.in 2001/09/10 10:15:11 1.3 @@ -30,9 +30,23 @@ #ifndef __L2_H__ #define __L2_H__ +/* version information (compile-time) */ #define L2_VERSION_STR "@L2_VERSION_STR@" #define L2_VERSION_HEX @L2_VERSION_HEX@ +/* 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 Index: ossp-pkg/l2/l2_p.h RCS File: /v/ossp/cvs/ossp-pkg/l2/l2_p.h,v rcsdiff -q -kk '-r1.13' '-r1.14' -u '/v/ossp/cvs/ossp-pkg/l2/l2_p.h,v' 2>/dev/null --- l2_p.h 2001/09/09 15:42:25 1.13 +++ l2_p.h 2001/09/10 10:15:11 1.14 @@ -36,10 +36,6 @@ #include "l2_ut_pcre.h" #include "l2_ut_sa.h" -#define _L2_VERSION_C_AS_HEADER_ -#include "l2_version.c" -#undef _L2_VERSION_C_AS_HEADER_ - #define L2_MAX_MSGSIZE 4096 #define L2_MAX_CHANNELS 128 #define L2_MAX_FORMATTERS 128