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 () ...@@ -250,8 +250,8 @@ vlc_module_begin ()
true ) true )
add_string( "dvb-http-user", NULL, NULL, USER_TEXT, USER_LONGTEXT, add_string( "dvb-http-user", NULL, NULL, USER_TEXT, USER_LONGTEXT,
true ) true )
add_string( "dvb-http-password", NULL, NULL, PASSWORD_TEXT, add_password( "dvb-http-password", NULL, NULL, PASSWORD_TEXT,
PASSWORD_LONGTEXT, true ) PASSWORD_LONGTEXT, true )
add_string( "dvb-http-acl", NULL, NULL, ACL_TEXT, ACL_LONGTEXT, add_string( "dvb-http-acl", NULL, NULL, ACL_TEXT, ACL_LONGTEXT,
true ) true )
add_string( "dvb-http-intf-cert", NULL, NULL, CERT_TEXT, CERT_LONGTEXT, add_string( "dvb-http-intf-cert", NULL, NULL, CERT_TEXT, CERT_LONGTEXT,
......
...@@ -79,8 +79,8 @@ vlc_module_begin () ...@@ -79,8 +79,8 @@ vlc_module_begin ()
change_safe() change_safe()
add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT, add_string( "ftp-user", "anonymous", NULL, USER_TEXT, USER_LONGTEXT,
false ) false )
add_string( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT, add_password( "ftp-pwd", "anonymous@example.com", NULL, PASS_TEXT,
PASS_LONGTEXT, false ) PASS_LONGTEXT, false )
add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT, add_string( "ftp-account", "anonymous", NULL, ACCOUNT_TEXT,
ACCOUNT_LONGTEXT, false ) ACCOUNT_LONGTEXT, false )
add_shortcut( "ftp" ) add_shortcut( "ftp" )
......
...@@ -86,8 +86,8 @@ vlc_module_begin () ...@@ -86,8 +86,8 @@ vlc_module_begin ()
change_safe() change_safe()
add_string( "smb-user", NULL, NULL, USER_TEXT, USER_LONGTEXT, add_string( "smb-user", NULL, NULL, USER_TEXT, USER_LONGTEXT,
false ) false )
add_string( "smb-pwd", NULL, NULL, PASS_TEXT, add_password( "smb-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, false ) PASS_LONGTEXT, false )
add_string( "smb-domain", NULL, NULL, DOMAIN_TEXT, add_string( "smb-domain", NULL, NULL, DOMAIN_TEXT,
DOMAIN_LONGTEXT, false ) DOMAIN_LONGTEXT, false )
add_shortcut( "smb" ) add_shortcut( "smb" )
......
...@@ -102,8 +102,8 @@ vlc_module_begin () ...@@ -102,8 +102,8 @@ vlc_module_begin ()
set_subcategory( SUBCAT_SOUT_ACO ) set_subcategory( SUBCAT_SOUT_ACO )
add_string( SOUT_CFG_PREFIX "user", "", NULL, add_string( SOUT_CFG_PREFIX "user", "", NULL,
USER_TEXT, USER_LONGTEXT, true ) USER_TEXT, USER_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "pwd", "", NULL, add_password( SOUT_CFG_PREFIX "pwd", "", NULL,
PASS_TEXT, PASS_LONGTEXT, true ) PASS_TEXT, PASS_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "mime", "", NULL, add_string( SOUT_CFG_PREFIX "mime", "", NULL,
MIME_TEXT, MIME_LONGTEXT, true ) MIME_TEXT, MIME_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "cert", "vlc.pem", NULL, add_string( SOUT_CFG_PREFIX "cert", "vlc.pem", NULL,
......
...@@ -134,8 +134,8 @@ vlc_module_begin () ...@@ -134,8 +134,8 @@ vlc_module_begin ()
KASENNA_LONGTEXT, true ) KASENNA_LONGTEXT, true )
add_string( "rtsp-user", NULL, NULL, USER_TEXT, add_string( "rtsp-user", NULL, NULL, USER_TEXT,
USER_LONGTEXT, true ) USER_LONGTEXT, true )
add_string( "rtsp-pwd", NULL, NULL, PASS_TEXT, add_password( "rtsp-pwd", NULL, NULL, PASS_TEXT,
PASS_LONGTEXT, true ) PASS_LONGTEXT, true )
vlc_module_end () 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