void vb_download_external(WebKitWebView *view, WebKitDownload *download, const char *file);
static void download_progress_cp(WebKitDownload *download, GParamSpec *pspec);
static void read_from_stdin(void);
+#if defined(FEATURE_AUTOCMD) || defined(FEATURE_ARH)
static void session_request_queued_cb(SoupSession *session, SoupMessage *msg, gpointer data);
+#endif
/* functions */
#ifdef FEATURE_WGET_PROGRESS_BAR
NULL
);
+#if defined(FEATURE_AUTOCMD) || defined(FEATURE_ARH)
g_signal_connect(vb.session, "request-queued", G_CALLBACK(session_request_queued_cb), NULL);
+#endif
#ifdef FEATURE_NO_SCROLLBARS
WebKitWebFrame *frame = webkit_web_view_get_main_frame(vb.gui.webview);
g_free(buf);
}
+#if defined(FEATURE_AUTOCMD) || defined(FEATURE_ARH)
static void session_request_queued_cb(SoupSession *session, SoupMessage *msg, gpointer data)
{
SoupURI *suri = soup_message_get_uri(msg);
g_free(uri);
}
+#endif
static gboolean autocmdOptionArgFunc(const gchar *option_name, const gchar *value, gpointer data, GError **error)
{