aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-03-08 07:00:48 +0000
committerGuy Harris <guy@alum.mit.edu>2003-03-08 07:00:48 +0000
commit170b5028e958fe22cdedbd362a8241359d48610e (patch)
treeca4dae0fb1f32ba7cbc81cbf5c819986d93b7c68 /util.h
parent55e1519797f13ba2335e50acc83012b929356f91 (diff)
Put the code to get version numbers of various libraries with which
Ethereal/Tethereal was linked into a common routine, and use that in both Ethereal and Tethereal. Add to that routine code to get OS version information. svn path=/trunk/; revision=7320
Diffstat (limited to 'util.h')
-rw-r--r--util.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/util.h b/util.h
index 6b75dd5adb..c928211bc6 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/* util.h
* Utility definitions
*
- * $Id: util.h,v 1.26 2002/08/28 21:00:41 jmayer Exp $
+ * $Id: util.h,v 1.27 2003/03/08 07:00:46 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,12 @@
extern "C" {
#endif /* __cplusplus */
+/*
+ * Get various library version and the OS version and append them to
+ * the specified GString.
+ */
+void get_version_info(GString *str);
+
int create_tempfile(char *, int, const char *);
/*