aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-12-04 14:08:04 +0100
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-12-04 14:52:23 +0000
commit4b206d1b06f829bcfe3268fd166d5500ae5e3aaf (patch)
tree529ab4e096595862d770bec2ad90d5bf4393036d
parent85e94d5e9a9a3abb1a0c209243efcf7cfd470b75 (diff)
Export prefs_register_module() and prefs_register_subtree() functions
Change-Id: I09796eadb5fb8b564adfab5060715571983b1bb3 Reviewed-on: https://code.wireshark.org/review/12428 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
-rw-r--r--epan/prefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/prefs.h b/epan/prefs.h
index 3ffc5313ee..8300c10670 100644
--- a/epan/prefs.h
+++ b/epan/prefs.h
@@ -273,7 +273,7 @@ void prefs_cleanup(void);
* name is the protocol name specified at the "proto_register_protocol()"
* call so that the "Protocol Properties..." menu item works.
*/
-module_t *prefs_register_module(module_t *parent, const char *name,
+WS_DLL_PUBLIC module_t *prefs_register_module(module_t *parent, const char *name,
const char *title, const char *description, void (*apply_cb)(void),
const gboolean use_gui);
@@ -283,7 +283,7 @@ module_t *prefs_register_module(module_t *parent, const char *name,
* at the top level and the title used in the tab for it in a preferences
* dialog box.
*/
-module_t *prefs_register_subtree(module_t *parent, const char *title,
+WS_DLL_PUBLIC module_t *prefs_register_subtree(module_t *parent, const char *title,
const char *description, void (*apply_cb)(void));
/*