Commit e4a86737 authored by Rémi Duraffort's avatar Rémi Duraffort

Use add_password instead of add_string when applicable.

parent c75c32cb
......@@ -250,8 +250,8 @@ vlc_module_begin ()
true )
add_string( "dvb-http-user", NULL, NULL, USER_TEXT, USER_LONGTEXT,
true )
add_string( "dvb-http-password", NULL, NULL, PASSWORD_TEXT,
PASSWORD_LONGTEXT, true )
add_password( "dvb-http-password", NULL, NULL, PASSWORD_TEXT,
PASSWORD_LONGTEXT, true )
add_string( "dvb-http-acl", NULL, NULL, ACL_TEXT, ACL_LONGTEXT,
true )
add_string( "dvb-http-intf-cert", NULL, NULL, CERT_TEXT, CERT_LONGTEXT,
......
......@@ -79,8 +79,8 @@ vlc_module_begin ()
change_safe()
add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT,
false )
add_string( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_password( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT,
ACCOUNT_LONGTEXT, false )
add_shortcut( "ftp" )
......
......@@ -86,8 +86,8 @@ vlc_module_begin ()
change_safe()
add_string( "smb-user", NULL, NULL, USER_TEXT, USER_LONGTEXT,
false )
add_string( "smb-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_password( "smb-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_string( "smb-domain", NULL, NULL, DOMAIN_TEXT,
DOMAIN_LONGTEXT, false )
add_shortcut( "smb" )
......
......@@ -102,8 +102,8 @@ vlc_module_begin ()
set_subcategory( SUBCAT_SOUT_ACO )
add_string( SOUT_CFG_PREFIX "user", "", NULL,
USER_TEXT, USER_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "pwd", "", NULL,
PASS_TEXT, PASS_LONGTEXT, true )
add_password( SOUT_CFG_PREFIX "pwd", "", NULL,
PASS_TEXT, PASS_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "mime", "", NULL,
MIME_TEXT, MIME_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "cert", "vlc.pem", NULL,
......
......@@ -134,8 +134,8 @@ vlc_module_begin ()
KASENNA_LONGTEXT, true )
add_string( "rtsp-user", NULL, NULL, USER_TEXT,
USER_LONGTEXT, true )
add_string( "rtsp-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, true )
add_password( "rtsp-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, true )
vlc_module_end ()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment