OSSP CVS Repository

ossp - Difference in ossp-pkg/str/str.h.in versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/str/str.h.in 1.1 -> 1.2

--- str.h.in     2001/09/10 09:55:13     1.1
+++ str.h.in     2001/09/10 10:14:38     1.2
@@ -38,9 +38,23 @@
 #define END_DECLARATION   /*nop*/
 #endif
 
+/* version information (compile-time) */
 #define STR_VERSION_STR "@STR_VERSION_STR@"
 #define STR_VERSION_HEX @STR_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;
+} str_version_t;
+extern str_version_t str_version;
+
 #include <string.h>
 #include <sys/types.h>
 #include <stdarg.h>

CVSTrac 2.0.1