summaryrefslogtreecommitdiff
path: root/epan/epan.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-07-15 02:07:16 +0000
committerGuy Harris <guy@alum.mit.edu>2010-07-15 02:07:16 +0000
commitcc3540b0fbdd25619087c52c6e026827b9911347 (patch)
tree57a489332b4e4693a73fa7de09672b2b5f178b14 /epan/epan.h
parente10147fb73f29185353af69bf969fbfe7634198c (diff)
downloadwireshark-cc3540b0fbdd25619087c52c6e026827b9911347.tar.gz
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
Diffstat (limited to 'epan/epan.h')
-rw-r--r--epan/epan.h14
1 files changed, 13 insertions, 1 deletions
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 */