ossp-pkg/l2/l2.h 1.22 -> 1.23
--- 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 <stdio.h>
#include <stdlib.h>
|
|