[vlc-devel] [RFC PATCH 1/8] add vlc_keystore API

Jean-Baptiste Kempf jb at videolan.org
Thu Dec 31 20:39:19 CET 2015


On 31 Dec, Rémi Denis-Courmont wrote :
> >+vlc_keystore_store(vlc_keystore *p_keystore,
> >+                   const char * const ppsz_values[KEY_MAX],
> >+                   const uint8_t *p_secret, ssize_t i_secret_len,
> >+                   const char *psz_label)
> >+{
> >+    assert(p_keystore && ppsz_values && p_secret && i_secret_len);
> >+
> >+    if (!ppsz_values[KEY_PROTOCOL] || !ppsz_values[KEY_SERVER]
> >+     || !ppsz_values[KEY_PATH] || !ppsz_values[KEY_USER])
> 
> So how does this work if the username is not known?
> 
> Also AFAIK, FTP and SSH credentials don't depend on the path.

But SMB ones do, no?
What about webdav? It's realm based?

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list