diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-03-08 07:00:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-03-08 07:00:48 +0000 |
commit | 170b5028e958fe22cdedbd362a8241359d48610e (patch) | |
tree | ca4dae0fb1f32ba7cbc81cbf5c819986d93b7c68 /util.h | |
parent | 55e1519797f13ba2335e50acc83012b929356f91 (diff) | |
download | wireshark-170b5028e958fe22cdedbd362a8241359d48610e.tar.gz wireshark-170b5028e958fe22cdedbd362a8241359d48610e.tar.bz2 wireshark-170b5028e958fe22cdedbd362a8241359d48610e.zip |
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.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 *); /* |