[vlc-devel] [PATCH 03/13] libvlc: dialog: add b_store_secure to pf_display_login
Thomas Guillem
thomas at gllm.fr
Wed Feb 24 14:25:12 CET 2016
In order to signal the login dialog if the keystore is secure.
---
include/vlc/libvlc_dialog.h | 3 ++-
include/vlc_dialog.h | 2 +-
lib/dialog.c | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/vlc/libvlc_dialog.h b/include/vlc/libvlc_dialog.h
index d9b63eb..5cbe792 100644
--- a/include/vlc/libvlc_dialog.h
+++ b/include/vlc/libvlc_dialog.h
@@ -74,12 +74,13 @@ typedef struct libvlc_dialog_cbs
* @param psz_default_username user name that should be set on the user form
* @param b_ask_store if true, ask the user if he wants to save the
* credentials
+ * @param b_store_secure if true, the store is secure
* @param p_data opaque pointer for the callback
*/
void (*pf_display_login)(libvlc_dialog_id *p_id, const char *psz_title,
const char *psz_text,
const char *psz_default_username,
- bool b_ask_store, void *p_data);
+ bool b_ask_store, bool b_store_secure, void *p_data);
/**
* Called when a question dialog needs to be displayed
diff --git a/include/vlc_dialog.h b/include/vlc_dialog.h
index 6bb21c8..0a51ecd 100644
--- a/include/vlc_dialog.h
+++ b/include/vlc_dialog.h
@@ -300,7 +300,7 @@ typedef struct vlc_dialog_cbs
* @param psz_default_username user name that should be set on the user form
* @param b_ask_store if true, ask the user if he wants to save the
* credentials
- @ @param b_store_secure if true, the store is secure
+ * @param b_store_secure if true, the store is secure
* @param p_data opaque pointer for the callback
*/
void (*pf_display_login)(vlc_dialog_id *p_id, const char *psz_title,
diff --git a/lib/dialog.c b/lib/dialog.c
index 1eeffc4..b85ee38 100644
--- a/lib/dialog.c
+++ b/lib/dialog.c
@@ -63,7 +63,7 @@ display_login_cb(vlc_dialog_id *p_id, const char *psz_title,
p_instance->dialog.cbs.pf_display_login((libvlc_dialog_id *) p_id,
psz_title, psz_text,
psz_default_username,
- b_ask_store,
+ b_ask_store, b_store_secure,
p_instance->dialog.data);
}
--
2.7.0
More information about the vlc-devel
mailing list