ossp-pkg/l2/l2.h.in 1.2 -> 1.3
--- 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 <stdio.h>
#include <stdlib.h>
|
|