aboutsummaryrefslogtreecommitdiff
path: root/src/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin.c')
-rw-r--r--src/plugin.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c
index baead872..6a656f06 100644
--- a/src/plugin.c
+++ b/src/plugin.c
@@ -1080,6 +1080,22 @@ const gchar *syl_plugin_update_check_get_check_url(void)
return SAFE_CALL_RET(func);
}
+void syl_plugin_update_check_set_download_url(const gchar *url)
+{
+ void (*func)(const gchar *);
+
+ func = syl_plugin_lookup_symbol("update_check_set_download_url");
+ SAFE_CALL_ARG1(func, url);
+}
+
+const gchar *syl_plugin_update_check_get_download_url(void)
+{
+ const gchar * (*func)(void);
+
+ func = syl_plugin_lookup_symbol("update_check_get_download_url");
+ return SAFE_CALL_RET(func);
+}
+
void syl_plugin_update_check_set_jump_url(const gchar *url)
{
void (*func)(const gchar *);
@@ -1096,6 +1112,38 @@ const gchar *syl_plugin_update_check_get_jump_url(void)
return SAFE_CALL_RET(func);
}
+void syl_plugin_update_check_set_check_plugin_url(const gchar *url)
+{
+ void (*func)(const gchar *);
+
+ func = syl_plugin_lookup_symbol("update_check_set_check_plugin_url");
+ SAFE_CALL_ARG1(func, url);
+}
+
+const gchar *syl_plugin_update_check_get_check_plugin_url(void)
+{
+ const gchar * (*func)(void);
+
+ func = syl_plugin_lookup_symbol("update_check_get_check_plugin_url");
+ return SAFE_CALL_RET(func);
+}
+
+void syl_plugin_update_check_set_jump_plugin_url(const gchar *url)
+{
+ void (*func)(const gchar *);
+
+ func = syl_plugin_lookup_symbol("update_check_set_jump_plugin_url");
+ SAFE_CALL_ARG1(func, url);
+}
+
+const gchar *syl_plugin_update_check_get_jump_plugin_url(void)
+{
+ const gchar * (*func)(void);
+
+ func = syl_plugin_lookup_symbol("update_check_get_jump_plugin_url");
+ return SAFE_CALL_RET(func);
+}
+
gint syl_plugin_alertpanel_full(const gchar *title, const gchar *message,
gint type, gint default_value,
gboolean can_disable,