From cc3540b0fbdd25619087c52c6e026827b9911347 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 15 Jul 2010 02:07:16 +0000 Subject: Move the code to get version information for libraries used by libwireshark into libwireshark, and call it only in programs linked with libwireshark. That way, programs that don't link with libwireshark don't have to link with libgcrypt or libgnutls solely so that they can say that they're linked with a particular version of libgcrypt or libgnutls. Don't link dumpcap with libgcrypt or libgnutls any more. svn path=/trunk/; revision=33531 --- epan/epan.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'epan/epan.h') diff --git a/epan/epan.h b/epan/epan.h index bfad1c8d5c..ab0c51ae7d 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -124,6 +124,18 @@ epan_dissect_free(epan_dissect_t* edt); /* Sets custom column */ const gchar * epan_custom_set(epan_dissect_t *edt, int id, - gchar *result, gchar *expr, const int size ); + gchar *result, gchar *expr, const int size); + +/* + * Get compile-time information for libraries used by libwireshark. + */ +void +epan_get_compiled_version_info(GString *str); + +/* + * Get runtime information for libraries used by libwireshark. + */ +void +epan_get_runtime_version_info(GString *str); #endif /* EPAN_H */ -- cgit v1.2.3