[vlc-commits] commit: add_password: remove callback parameter ( Rémi Denis-Courmont )
git at videolan.org
git at videolan.org
Fri Oct 22 20:12:07 CEST 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Oct 22 20:52:25 2010 +0300| [2e6858af6a52984118962e3e57050d2de38878a3] | committer: Rémi Denis-Courmont
add_password: remove callback parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e6858af6a52984118962e3e57050d2de38878a3
---
include/vlc_plugin.h | 2 +-
modules/access/dvb/access.c | 2 +-
modules/access/http.c | 2 +-
modules/access/smb.c | 2 +-
modules/access_output/http.c | 2 +-
modules/demux/live555.cpp | 2 +-
modules/misc/audioscrobbler.c | 2 +-
modules/misc/lua/vlc.c | 2 +-
modules/misc/notify/growl_udp.c | 2 +-
modules/stream_out/raop.c | 2 +-
modules/video_filter/remoteosd.c | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/include/vlc_plugin.h b/include/vlc_plugin.h
index 6192dcf..d2f50a8 100644
--- a/include/vlc_plugin.h
+++ b/include/vlc_plugin.h
@@ -303,7 +303,7 @@ enum vlc_module_properties
add_string_inner( CONFIG_ITEM_STRING, name, text, longtext, advc, \
value )
-#define add_password( name, value, p_callback, text, longtext, advc ) \
+#define add_password( name, value, text, longtext, advc ) \
add_string_inner( CONFIG_ITEM_PASSWORD, name, text, longtext, advc, \
value )
diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 70e6a7a..9f6e7d6 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -258,7 +258,7 @@ vlc_module_begin ()
true )
add_string( "dvb-http-user", NULL, USER_TEXT, USER_LONGTEXT,
true )
- add_password( "dvb-http-password", NULL, NULL, PASSWORD_TEXT,
+ add_password( "dvb-http-password", NULL, PASSWORD_TEXT,
PASSWORD_LONGTEXT, true )
add_string( "dvb-http-acl", NULL, ACL_TEXT, ACL_LONGTEXT,
true )
diff --git a/modules/access/http.c b/modules/access/http.c
index 103fb47..5d5a138 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -114,7 +114,7 @@ vlc_module_begin ()
add_string( "http-proxy", NULL, PROXY_TEXT, PROXY_LONGTEXT,
false )
- add_password( "http-proxy-pwd", NULL, NULL,
+ add_password( "http-proxy-pwd", NULL,
PROXY_PASS_TEXT, PROXY_PASS_LONGTEXT, false )
add_integer( "http-caching", 4 * DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, true )
diff --git a/modules/access/smb.c b/modules/access/smb.c
index 6c6a5cd..0f51e1f 100644
--- a/modules/access/smb.c
+++ b/modules/access/smb.c
@@ -85,7 +85,7 @@ vlc_module_begin ()
change_safe()
add_string( "smb-user", NULL, USER_TEXT, USER_LONGTEXT,
false )
- add_password( "smb-pwd", NULL, NULL, PASS_TEXT,
+ add_password( "smb-pwd", NULL, PASS_TEXT,
PASS_LONGTEXT, false )
add_string( "smb-domain", NULL, DOMAIN_TEXT,
DOMAIN_LONGTEXT, false )
diff --git a/modules/access_output/http.c b/modules/access_output/http.c
index 7ec1085..2b65fcf 100644
--- a/modules/access_output/http.c
+++ b/modules/access_output/http.c
@@ -100,7 +100,7 @@ vlc_module_begin ()
set_subcategory( SUBCAT_SOUT_ACO )
add_string( SOUT_CFG_PREFIX "user", "",
USER_TEXT, USER_LONGTEXT, true )
- add_password( SOUT_CFG_PREFIX "pwd", "", NULL,
+ add_password( SOUT_CFG_PREFIX "pwd", "",
PASS_TEXT, PASS_LONGTEXT, true )
add_string( SOUT_CFG_PREFIX "mime", "",
MIME_TEXT, MIME_LONGTEXT, true )
diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 415cd57..019d36d 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -140,7 +140,7 @@ vlc_module_begin ()
add_string( "rtsp-user", NULL, USER_TEXT,
USER_LONGTEXT, true )
change_safe()
- add_password( "rtsp-pwd", NULL, NULL, PASS_TEXT,
+ add_password( "rtsp-pwd", NULL, PASS_TEXT,
PASS_LONGTEXT, true )
change_safe()
vlc_module_end ()
diff --git a/modules/misc/audioscrobbler.c b/modules/misc/audioscrobbler.c
index d6b8f96..284f759 100644
--- a/modules/misc/audioscrobbler.c
+++ b/modules/misc/audioscrobbler.c
@@ -164,7 +164,7 @@ vlc_module_begin ()
set_description( N_("Submission of played songs to last.fm") )
add_string( "lastfm-username", "",
USERNAME_TEXT, USERNAME_LONGTEXT, false )
- add_password( "lastfm-password", "", NULL,
+ add_password( "lastfm-password", "",
PASSWORD_TEXT, PASSWORD_LONGTEXT, false )
add_string( "scrobbler-url", "post.audioscrobbler.com",
URL_TEXT, URL_LONGTEXT, false )
diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index 7297a02..c4016db 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -116,7 +116,7 @@ vlc_module_begin ()
TELNETHOST_LONGTEXT, true )
add_integer( "telnet-port", TELNETPORT_DEFAULT, NULL, TELNETPORT_TEXT,
TELNETPORT_LONGTEXT, true )
- add_password( "telnet-password", TELNETPWD_DEFAULT, NULL, TELNETPWD_TEXT,
+ add_password( "telnet-password", TELNETPWD_DEFAULT, TELNETPWD_TEXT,
TELNETPWD_LONGTEXT, true )
set_callbacks( Open_LuaIntf, Close_LuaIntf )
diff --git a/modules/misc/notify/growl_udp.c b/modules/misc/notify/growl_udp.c
index ef39368..bbb54af 100644
--- a/modules/misc/notify/growl_udp.c
+++ b/modules/misc/notify/growl_udp.c
@@ -83,7 +83,7 @@ vlc_module_begin ()
add_string( "growl-server", SERVER_DEFAULT,
SERVER_TEXT, SERVER_LONGTEXT, false )
- add_password( "growl-password", PASS_DEFAULT, NULL,
+ add_password( "growl-password", PASS_DEFAULT,
PASS_TEXT, PASS_LONGTEXT, false )
add_integer( "growl-port", 9887, NULL,
PORT_TEXT, PORT_LONGTEXT, true )
diff --git a/modules/stream_out/raop.c b/modules/stream_out/raop.c
index 1fd3053..019dfbb 100644
--- a/modules/stream_out/raop.c
+++ b/modules/stream_out/raop.c
@@ -166,7 +166,7 @@ vlc_module_begin();
set_subcategory( SUBCAT_SOUT_STREAM )
add_string( SOUT_CFG_PREFIX "host", "",
HOST_TEXT, HOST_LONGTEXT, false )
- add_password( SOUT_CFG_PREFIX "password", NULL, NULL,
+ add_password( SOUT_CFG_PREFIX "password", NULL,
PASSWORD_TEXT, PASSWORD_LONGTEXT, false )
add_loadfile( SOUT_CFG_PREFIX "password-file", NULL, NULL,
PASSWORD_FILE_TEXT, PASSWORD_FILE_LONGTEXT, false )
diff --git a/modules/video_filter/remoteosd.c b/modules/video_filter/remoteosd.c
index ebe1fa2..a5d4d09 100644
--- a/modules/video_filter/remoteosd.c
+++ b/modules/video_filter/remoteosd.c
@@ -126,7 +126,7 @@ vlc_module_begin ()
RMTOSD_HOST_LONGTEXT, false )
add_integer_with_range( RMTOSD_CFG "port", 20001, 1, 0xFFFF, NULL,
RMTOSD_PORT_TEXT, RMTOSD_PORT_LONGTEXT, false )
- add_password( RMTOSD_CFG "password", "", NULL, RMTOSD_PASSWORD_TEXT,
+ add_password( RMTOSD_CFG "password", "", RMTOSD_PASSWORD_TEXT,
RMTOSD_PASSWORD_LONGTEXT, false )
add_integer_with_range( RMTOSD_CFG "update", RMTOSD_UPDATE_DEFAULT,
RMTOSD_UPDATE_MIN, RMTOSD_UPDATE_MAX, NULL, RMTOSD_UPDATE_TEXT,
More information about the vlc-commits
mailing list