Home
last modified time | relevance | path

Searched refs:psz_host (Results 1 – 25 of 49) sorted by relevance

12

/dports/multimedia/vlc/vlc-3.0.16/modules/access/
H A Dsatip.c647 free( psz_host ); in satip_open()
657 if (psz_host == NULL && url.psz_host ) in satip_open()
658 psz_host = strdup(url.psz_host); in satip_open()
659 if (psz_host == NULL ) in satip_open()
662 if (url.psz_host == NULL || url.psz_host[0] == '\0') in satip_open()
668 msg_Dbg(access, "connect to host '%s'", psz_host); in satip_open()
672 psz_host, url.i_port); in satip_open()
689 if( !strncasecmp( setup_url.psz_host, "sat.ip", 6 ) ) { in satip_open()
690 setup_url.psz_host = psz_host; in satip_open()
787 free(psz_host); in satip_open()
[all …]
H A Dsrt.c65 char *psz_host; member
125 stat = vlc_getaddrinfo( p_sys->psz_host, p_sys->i_port, &hints, &res ); in srt_schedule_reconnect()
129 p_sys->psz_host, in srt_schedule_reconnect()
186 p_sys->psz_host, p_sys->i_port); in srt_schedule_reconnect()
321 p_sys->psz_host = strdup( parsed_url.psz_host ); in Open()
353 free( p_sys->psz_host ); in Open()
375 free( p_sys->psz_host ); in Close()
H A Dsftp.c192 static int SSHSessionInit( stream_t *p_access, const char *psz_host, int i_port ) in SSHSessionInit() argument
198 p_sys->i_socket = net_ConnectTCP( p_access, psz_host, i_port ); in SSHSessionInit()
220 psz_host, i_port ); in SSHSessionInit()
267 if( EMPTY_STR( url.psz_host ) ) in Open()
279 if( SSHSessionInit( p_access, url.psz_host, i_port ) != VLC_SUCCESS ) in Open()
329 int check = libssh2_knownhost_check( ssh_knownhosts, url.psz_host, in Open()
374 if( SSHSessionInit( p_access, url.psz_host, i_port ) != VLC_SUCCESS ) in Open()
413 "the sftp connexion to %s"), url.psz_host ) ); in Open()
H A Dsmb.c202 url.psz_host, psz_decoded_path, NULL ) == -1 ) in Open()
216 SMB_LOGIN_DIALOG_TEXT, url.psz_host) ) in Open()
353 const char *psz_server = p_sys->url.psz_host; in DirRead()
362 psz_server = p_sys->url.psz_host; in DirRead()
407 wchar_t *wpsz_host = ToWide( p_sys->url.psz_host ); in DirRead()
432 p_sys->url.psz_host, p_sys->url.psz_path, in DirRead()
H A Dhttp.c168 if( vlc_UrlParse( &p_sys->url, psz_url ) || p_sys->url.psz_host == NULL ) in Open()
241 if( p_sys->proxy.psz_host == NULL || *p_sys->proxy.psz_host == '\0' ) in Open()
253 p_sys->url.psz_host, p_sys->url.i_port, in Open()
257 msg_Dbg( p_access, " proxy %s:%d", p_sys->proxy.psz_host, in Open()
651 p_sys->url.psz_host, p_sys->url.i_port ); in Connect()
660 vlc_memstream_printf( &stream, "Host: %s", p_sys->url.psz_host ); in Connect()
711 p_sys->fd = net_ConnectTCP( p_access, srv.psz_host, srv.i_port ); in Connect()
714 msg_Err( p_access, "cannot connect to %s:%d", srv.psz_host, srv.i_port ); in Connect()
828 p_sys->url.psz_host, p) < 0 ) in Connect()
834 p_sys->url.psz_host, p_sys->url.i_port, p) < 0 ) in Connect()
H A Dtcp.c85 || url.psz_host == NULL || url.i_port == 0) in Open()
92 sock = vlc_tls_SocketOpenTCP(obj, url.psz_host, url.i_port); in Open()
/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Dtcp.c74 int TcpDoConnect(psz_host, us_port, pn_socket) in TcpDoConnect() argument
75 char *psz_host; in TcpDoConnect()
88 if (*psz_host >= '0' && *psz_host <= '9') {
89 sin->sin_addr.s_addr = inet_addr(psz_host);
91 p_hostent = gethostbyname(psz_host);
134 psz_host);
H A Dftp.c54 int FtpDoConnect(psz_host, us_port, pn_socket) in FtpDoConnect() argument
55 char *psz_host; in FtpDoConnect()
58 int rc, len=strlen(psz_host)+80;
65 sprintf(msg, TgLoadCachedString(CSTID_MAKING_CONN_TO_HOST), "FTP", psz_host);
68 rc = TcpDoConnect(psz_host, us_port, pn_socket);
72 psz_host);
74 sprintf(msg, TgLoadString(STID_FAIL_TO_CONN_TO_HOST), "FTP", psz_host);
H A Dhttp.c516 int HttpDoConnect(psz_host, us_port, pn_socket) in HttpDoConnect() argument
517 char *psz_host; in HttpDoConnect()
520 int rc, len=strlen(psz_host)+80;
528 "HTTP", psz_host, us_port);
531 rc = TcpDoConnect(psz_host, us_port, pn_socket);
535 "HTTP", psz_host, us_port);
538 "HTTP", psz_host, us_port);
649 char *AppendHostString(buf, psz_host, us_port) in AppendHostString() argument
650 char *buf, *psz_host; in AppendHostString()
655 sprintf(tmp_buf, "%s:%1d", psz_host, us_port);
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/lua/
H A Dintf.c90 char *psz_host = var_InheritString( p_intf, "telnet-host" ); in MakeConfig() local
91 if( !strcmp( psz_host, "*console" ) ) in MakeConfig()
96 vlc_UrlParse( &url, psz_host ); in MakeConfig()
107 char *psz_esc_host = config_StringEscape( url.psz_host ); in MakeConfig()
108 free( psz_host ); in MakeConfig()
111 if( asprintf( &psz_host, "telnet://%s:%d", in MakeConfig()
113 psz_host = NULL; in MakeConfig()
122 psz_host, psz_esc_passwd ) == -1 ) in MakeConfig()
127 free( psz_host ); in MakeConfig()
/dports/multimedia/vlc/vlc-3.0.16/src/network/
H A Dtcp.c59 const char *psz_host, int i_port );
70 int net_Connect( vlc_object_t *p_this, const char *psz_host, int i_port, in net_Connect() argument
90 psz_host, i_port ); in net_Connect()
118 psz_realhost = psz_host; in net_Connect()
227 psz_host, i_port ) ) in net_Connect()
433 const char *psz_host, int i_port ) in SocksHandshakeTCP() argument
459 if (vlc_getaddrinfo_i11e(psz_host, 0, &hints, &res)) in SocksHandshakeTCP()
484 int i_hlen = __MIN(strlen( psz_host ), 255); in SocksHandshakeTCP()
493 memcpy( &buffer[5], psz_host, i_hlen ); in SocksHandshakeTCP()
H A Dio.c106 int *net_Listen (vlc_object_t *p_this, const char *psz_host, in net_Listen() argument
116 (psz_host != NULL) ? psz_host : "*", i_port); in net_Listen()
118 int i_val = vlc_getaddrinfo (psz_host, i_port, &hints, &res); in net_Listen()
122 (psz_host != NULL) ? psz_host : "", i_port, in net_Listen()
H A Dudp.c518 int net_ConnectDgram( vlc_object_t *p_this, const char *psz_host, int i_port, in net_ConnectDgram() argument
532 msg_Dbg( p_this, "net: connecting to [%s]:%d", psz_host, i_port ); in net_ConnectDgram()
534 int val = vlc_getaddrinfo (psz_host, i_port, &hints, &res); in net_ConnectDgram()
537 msg_Err (p_this, "cannot resolve [%s]:%d : %s", psz_host, i_port, in net_ConnectDgram()
579 msg_Warn( p_this, "%s port %d : %s", psz_host, i_port, in net_ConnectDgram()
589 msg_Err( p_this, "Host %s port %d is unreachable", psz_host, in net_ConnectDgram()
/dports/multimedia/vlc/vlc-3.0.16/src/text/
H A Durl.c409 url->psz_host = NULL; in vlc_UrlParseInner()
501 url->psz_host = strdup(cur + 1); in vlc_UrlParseInner()
518 if (url->psz_host == NULL) in vlc_UrlParseInner()
521 if (!vlc_uri_host_validate(url->psz_host)) in vlc_UrlParseInner()
523 free(url->psz_host); in vlc_UrlParseInner()
524 url->psz_host = NULL; in vlc_UrlParseInner()
597 free (url->psz_host); in vlc_UrlClean()
717 if (uri->psz_host != NULL) in vlc_uri_compose()
744 if (strchr(uri->psz_host, ':') != NULL) in vlc_uri_compose()
794 if (rel_uri.psz_host != NULL) in vlc_uri_resolve()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/src/android/
H A Dspecific.c321 const char *psz_host = NULL, *psz_port = NULL; in vlc_getProxyUrl() local
344 psz_host = (*env)->GetStringUTFChars(env, jhost, 0); in vlc_getProxyUrl()
346 if (psz_host == NULL || psz_host[0] == '\0') in vlc_getProxyUrl()
376 psz_host, in vlc_getProxyUrl()
382 if (psz_host != NULL) in vlc_getProxyUrl()
383 (*env)->ReleaseStringUTFChars(env, jhost, psz_host); in vlc_getProxyUrl()
/dports/multimedia/vlc/vlc-3.0.16/modules/access_output/
H A Dshout.c190 if( url.psz_host == NULL ) in Open()
213 || shout_set_host( p_shout, url.psz_host ) != SHOUTERR_SUCCESS in Open()
228 url.psz_host, url.i_port, url.psz_path ); in Open()
384 url.psz_host, url.i_port, url.psz_path, shout_get_error(p_shout) ); in Open()
392 url.psz_username, url.psz_host, url.i_port, url.psz_path ); in Open()
/dports/multimedia/vlc/vlc-3.0.16/modules/lua/libs/
H A Dnet.c181 const char *psz_host = luaL_checkstring( L, 1 ); in vlclua_net_listen_tcp() local
183 int *pi_fd = net_ListenTCP( p_this, psz_host, i_port ); in vlclua_net_listen_tcp()
185 return luaL_error( L, "Cannot listen on %s:%d", psz_host, i_port ); in vlclua_net_listen_tcp()
194 return luaL_error( L, "Cannot listen on %s:%d", psz_host, i_port ); in vlclua_net_listen_tcp()
253 const char *psz_host = luaL_checkstring( L, 1 ); in vlclua_net_connect_tcp() local
255 int i_fd = net_ConnectTCP( p_this, psz_host, i_port ); in vlclua_net_connect_tcp()
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/adaptive/http/
H A DConnectionParams.cpp110 if(url_components.psz_host) in parse()
111 hostname = url_components.psz_host; in parse()
/dports/multimedia/vlc/vlc-3.0.16/modules/access/http/
H A Dtunnel.c152 if (url.psz_protocol == NULL || url.psz_host == NULL) in vlc_https_connect_proxy()
161 sock = vlc_https_connect(creds, url.psz_host, url.i_port, &ptwo); in vlc_https_connect_proxy()
165 url.psz_host, url.i_port); in vlc_https_connect_proxy()
/dports/multimedia/vlc/vlc-3.0.16/modules/access/mms/
H A Dmmsh.c101 if( ( p_sys->proxy.psz_host == NULL ) || in MMSHOpen()
102 ( *p_sys->proxy.psz_host == '\0' ) ) in MMSHOpen()
113 p_sys->proxy.psz_host, p_sys->proxy.i_port ); in MMSHOpen()
118 if( ( p_sys->url.psz_host == NULL ) || in MMSHOpen()
119 ( *p_sys->url.psz_host == '\0' ) ) in MMSHOpen()
481 vlc_memstream_printf( stream, "http://%s:%d", sys->url.psz_host, in WriteRequestLine()
491 vlc_memstream_printf( stream, "Host: %s:%d\r\n", sys->url.psz_host, in WriteRequestLine()
533 int fd = net_ConnectTCP( p_access, srv->psz_host, srv->i_port ); in OpenConnection()
/dports/multimedia/vlc/vlc-3.0.16/modules/access/dsm/
H A Daccess.c274 if( p_sys->url.psz_host != NULL && in get_address()
275 !inet_pton( AF_INET, p_sys->url.psz_host, &p_sys->addr ) ) in get_address()
281 if( netbios_ns_resolve( p_sys->p_ns, p_sys->url.psz_host, in get_address()
285 strlcpy( p_sys->netbios_name, p_sys->url.psz_host, 16); in get_address()
289 else if( getaddrinfo( p_sys->url.psz_host, NULL, NULL, &p_info ) == 0 ) in get_address()
314 p_sys->url.psz_host ); in get_address()
/dports/multimedia/vlc/vlc-3.0.16/src/misc/
H A Drenderer_discovery.c67 if (url.psz_protocol == NULL || url.psz_host == NULL) in vlc_renderer_item_new()
80 url.psz_host) == -1) in vlc_renderer_item_new()
86 url.psz_protocol, url.psz_host, url.i_port, in vlc_renderer_item_new()
H A Dkeystore.c204 && p_url->psz_host && p_url->psz_host[0]; in is_url_valid()
292 ppsz_values[KEY_SERVER] = p_url->psz_host; in credential_find_keystore()
551 ppsz_values[KEY_SERVER] = p_url->psz_host; in vlc_credential_store()
562 p_url->psz_protocol, p_url->psz_host, in vlc_credential_store()
/dports/multimedia/vlc/vlc-3.0.16/modules/control/
H A Doldrc.c219 char *psz_host, *psz_unix_path = NULL; in set_category() local
305 vlc_UrlParse( &url, psz_host ); in set_category()
306 if( url.psz_host == NULL ) in set_category()
312 free( psz_host ); in set_category()
315 free( psz_host ); in set_category()
316 psz_host = psz_backward_compat_host; in set_category()
317 vlc_UrlParse( &url, psz_host ); in set_category()
322 pi_socket = net_ListenTCP(p_this, url.psz_host, url.i_port); in set_category()
326 url.psz_host, url.i_port ); in set_category()
328 free( psz_host ); in set_category()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/include/
H A Dvlc_network.h124 VLC_API int net_Connect(vlc_object_t *p_this, const char *psz_host, int i_port, int socktype, int p…
127 VLC_API int * net_Listen(vlc_object_t *p_this, const char *psz_host, int i_port, int socktype, int …
144 VLC_API int net_ConnectDgram( vlc_object_t *p_this, const char *psz_host, int i_port, int hlim, int…

12