diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-17 15:37:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-17 15:40:56 +0100 |
| commit | 1d5462ef8d6a32b964f0335e3dd68aac31075d14 (patch) | |
| tree | 69d94357bbfcc3b194152a6260d3cc450a47e8e9 /src/lib/config.h | |
| parent | b6abe4901c7115d37706f52febe0c7caa5d3c258 (diff) | |
Add FTP uploader using curl.
Diffstat (limited to 'src/lib/config.h')
| -rw-r--r-- | src/lib/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/config.h b/src/lib/config.h index 312118a55..b008fe22f 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -90,6 +90,10 @@ public: return _servers; } + Protocol tms_protocol () const { + return _tms_protocol; + } + /** @return The IP address of a TMS that we can copy DCPs to */ std::string tms_ip () const { return _tms_ip; @@ -247,6 +251,10 @@ public: maybe_set (_server_port_base, p); } + void set_tms_protocol (Protocol p) { + maybe_set (_tms_protocol, p); + } + /** @param i IP address of a TMS that we can copy DCPs to */ void set_tms_ip (std::string i) { maybe_set (_tms_ip, i); @@ -447,6 +455,7 @@ private: bool _use_any_servers; /** J2K encoding servers that should definitely be used */ std::vector<std::string> _servers; + Protocol _tms_protocol; /** The IP address of a TMS that we can copy DCPs to */ std::string _tms_ip; /** The path on a TMS that we should write DCPs to */ |
