summaryrefslogtreecommitdiffstats
path: root/core/options.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-07 18:47:39 +0200
committerwm4 <wm4@nowhere>2013-07-07 19:40:35 +0200
commitfeaa721916303c36dcd676c11ac74ecdec2db006 (patch)
tree745578fb3c91e9c62ffb9596e1843e41cc29b31a /core/options.h
parent2c732a46ba37182692748acd2b72310d21c451f8 (diff)
downloadmpv-feaa721916303c36dcd676c11ac74ecdec2db006.tar.bz2
mpv-feaa721916303c36dcd676c11ac74ecdec2db006.tar.xz
core: make network options available even if old net code is disabled
Preparation for removing the old network code.
Diffstat (limited to 'core/options.h')
-rw-r--r--core/options.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/options.h b/core/options.h
index 80398bae95..54048d9966 100644
--- a/core/options.h
+++ b/core/options.h
@@ -266,6 +266,16 @@ typedef struct MPOpts {
} encode_output;
} MPOpts;
+// Should be moved into MPOpts
+extern char **network_http_header_fields;
+extern char *network_username;
+extern char *network_password;
+extern int network_bandwidth;
+extern char *network_useragent;
+extern char *network_referrer;
+extern int network_cookies_enabled;
+extern char *cookies_file;
+
extern const m_option_t mp_opts[];
extern const struct MPOpts mp_default_opts;