/dports/multimedia/vlc/vlc-3.0.16/modules/access/ |
H A D | satip.c | 647 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 D | srt.c | 65 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 D | sftp.c | 192 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 D | smb.c | 202 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 D | http.c | 168 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 D | tcp.c | 85 || 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 D | tcp.c | 74 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 D | ftp.c | 54 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 D | http.c | 516 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 D | intf.c | 90 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 D | tcp.c | 59 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 D | io.c | 106 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 D | udp.c | 518 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 D | url.c | 409 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 D | specific.c | 321 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 D | shout.c | 190 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 D | net.c | 181 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 D | ConnectionParams.cpp | 110 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 D | tunnel.c | 152 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 D | mmsh.c | 101 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 D | access.c | 274 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 D | renderer_discovery.c | 67 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 D | keystore.c | 204 && 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 D | oldrc.c | 219 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 D | vlc_network.h | 124 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…
|