GNOME Bugzilla – Bug 731581
curlsshsink: use the locally defined types instead of libcurl's
Last modified: 2014-10-26 21:17:43 UTC
Created attachment 278351 [details] [review] use our own GstCurlSshAuthType type Since we have our own "GstCurlSshAuthType" it feels right to use that one.
They must match exactly, so I'm not sure it matters much.
Oliver, the way they are defined, they do match: typedef enum { GST_CURLSSH_AUTH_NONE = CURLSSH_AUTH_NONE, GST_CURLSSH_AUTH_PUBLICKEY = CURLSSH_AUTH_PUBLICKEY, GST_CURLSSH_AUTH_PASSWORD = CURLSSH_AUTH_PASSWORD } GstCurlSshAuthType;
Comment on attachment 278351 [details] [review] use our own GstCurlSshAuthType type Please add a comment to the enum, saying that these must always be kept in sync with the definitions from curl.
Created attachment 288528 [details] [review] added comment on enum definition Added comment as hinted above...
Pushed, thanks: commit 09f0b037629a3e59d9e63c7083f59df9d9fd9db5 Author: L. Sorin <sorin@axis.com> Date: Thu Jun 12 16:59:46 2014 +0200 curlsshsink: use the locally defined types Just a matter of coding style, makes the code a bit tidier... https://bugzilla.gnome.org/show_bug.cgi?id=731581