/*****************************************************************************
* Module descriptor
*****************************************************************************/
+static int Open( vlc_object_t * );
+static void Close( vlc_object_t * );
+
+#define vlc_sd_probe_Open bdsm_sd_probe_Open
#define USER_TEXT N_("SMB user name")
#define USER_LONGTEXT N_("User name that will " \
set_category( CAT_PLAYLIST )
set_subcategory( SUBCAT_PLAYLIST_SD )
set_capability( "services_discovery", 0 )
- set_callbacks( SdOpen, SdClose )
+ set_callbacks( bdsm_SdOpen, bdsm_SdClose )
VLC_SD_PROBE_SUBMODULE
/*****************************************************************************
* Open: Initialize module's data structures and libdsm
*****************************************************************************/
-int Open( vlc_object_t *p_this )
+static int Open( vlc_object_t *p_this )
{
access_t *p_access = (access_t*)p_this;
access_sys_t *p_sys;
/*****************************************************************************
* Close: free unused data structures
*****************************************************************************/
-void Close( vlc_object_t *p_this )
+static void Close( vlc_object_t *p_this )
{
access_t *p_access = (access_t*)p_this;
access_sys_t *p_sys = p_access->p_sys;
#include <vlc_services_discovery.h>
#include <vlc_url.h>
-int Open( vlc_object_t * );
-void Close( vlc_object_t * );
-
-int SdOpen( vlc_object_t * );
-void SdClose( vlc_object_t * );
-int vlc_sd_probe_Open( vlc_object_t * );
+int bdsm_SdOpen( vlc_object_t * );
+void bdsm_SdClose( vlc_object_t * );
+int bdsm_sd_probe_Open( vlc_object_t * );
int BrowserInit( access_t *p_access );
netbios_ns *ns;
};
-int vlc_sd_probe_Open (vlc_object_t *p_this)
+int bdsm_sd_probe_Open (vlc_object_t *p_this)
{
vlc_probe_t *p_probe = (vlc_probe_t *)p_this;
return VLC_PROBE_CONTINUE;
}
-int SdOpen (vlc_object_t *p_this)
+int bdsm_SdOpen (vlc_object_t *p_this)
{
services_discovery_t *p_sd = (services_discovery_t *)p_this;
services_discovery_sys_t *p_sys = malloc (sizeof (*p_sys));
return VLC_EGENERIC;
}
-void SdClose (vlc_object_t *p_this)
+void bdsm_SdClose (vlc_object_t *p_this)
{
services_discovery_t *sd = (services_discovery_t *)p_this;
services_discovery_sys_t *p_sys = sd->p_sys;