Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 89) sorted by relevance

1234

/reactos/dll/win32/wldap32/
H A Dinit.c231 if (hostname) { in cldap_openA()
232 hostnameW = strAtoW( hostname ); in cldap_openA()
276 if (hostname) { in cldap_openW()
277 hostnameU = strWtoU( hostname ); in cldap_openW()
339 if (hostname) { in ldap_initA()
340 hostnameW = strAtoW( hostname ); in ldap_initA()
385 if (hostname) { in ldap_initW()
422 if (hostname) { in ldap_openA()
467 if (hostname) { in ldap_openW()
504 if (hostname) { in ldap_sslinitA()
[all …]
/reactos/base/applications/cmdutils/hostname/
H A DCMakeLists.txt2 add_executable(hostname hostname.c hostname.rc) target
3 set_module_type(hostname win32cui UNICODE)
4 add_importlibs(hostname user32 msvcrt kernel32)
5 add_cd_file(TARGET hostname DESTINATION reactos/system32 FOR all)
H A Dhostname.rc8 #define REACTOS_STR_INTERNAL_NAME "hostname"
9 #define REACTOS_STR_ORIGINAL_FILENAME "hostname.exe"
/reactos/drivers/network/tcpip/lwip/src/core/
H A Ddns.c482 (!hostname) || (!hostname[0])) { in dns_local_lookup()
547 if (((hostname == NULL) || !lwip_stricmp(entry->name, hostname)) && in dns_local_removehost()
583 namelen = strlen(hostname); in dns_local_addhost()
807 hostname = entry->name; in dns_send()
808 --hostname; in dns_send()
813 ++hostname; in dns_send()
814 hostname_part = hostname; in dns_send()
815 for (n = 0; *hostname != '.' && *hostname != 0; ++hostname) { in dns_send()
826 } while (*hostname != 0); in dns_send()
1580 (!hostname) || (!hostname[0])) { in dns_gethostbyname_addrtype()
[all …]
/reactos/dll/3rdparty/libtirpc/src/
H A Dclnt_generic.c94 clnt_create_vers(const char *hostname, const rpcprog_t prog, rpcvers_t *vers_out, in clnt_create_vers() argument
98 return (clnt_create_vers_timed(hostname, prog, vers_out, vers_low, in clnt_create_vers()
109 clnt_create_vers_timed(const char *hostname, const rpcprog_t prog, in clnt_create_vers_timed() argument
120 clnt = clnt_create_timed(hostname, prog, vers_high, nettype, tp); in clnt_create_vers_timed()
179 clnt_create(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, in clnt_create() argument
183 return (clnt_create_timed(hostname, prog, vers, nettype, NULL)); in clnt_create()
195 clnt_create_timed(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, in clnt_create_timed() argument
231 clnt = clnt_tp_create_timed(hostname, prog, vers, nconf, tp); in clnt_create_timed()
282 clnt_tp_create(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, in clnt_tp_create() argument
285 return (clnt_tp_create_timed(hostname, prog, vers, nconf, NULL)); in clnt_tp_create()
[all …]
H A Dnetname.c132 char hostname[MAXHOSTNAMELEN+1]; local
141 (void) gethostname(hostname, sizeof(hostname));
142 host = hostname;
H A Dnetnamer.c190 netname2host(netname, hostname, hostlen) in netname2host() argument
192 char *hostname;
205 (void) strncpy(hostname, val + 2, hostlen);
221 (void) strncpy(hostname, val, vallen);
222 hostname[vallen] = 0;
/reactos/drivers/network/tcpip/lwip/src/include/lwip/
H A Ddns.h109 err_t dns_gethostbyname(const char *hostname, ip_addr_t *addr,
111 err_t dns_gethostbyname_addrtype(const char *hostname, ip_addr_t *addr,
118 err_t dns_local_lookup(const char *hostname, ip_addr_t *addr, u8_t dns_addrtype);
120 int dns_local_removehost(const char *hostname, const ip_addr_t *addr);
121 err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
/reactos/dll/win32/winhttp/
H A Dnet.c285 status = InitializeSecurityContextW(cred_handle, NULL, hostname, isc_req_flags, 0, 0, NULL, 0, in netconn_secure_connect()
361 res = netconn_verify_cert(cert, hostname, security_flags, check_revocation); in netconn_secure_connect()
664 const WCHAR *hostname; member
672 return resolve_hostname( ra->hostname, ra->port, ra->sa ); in resolve_proc()
675 BOOL netconn_resolve( WCHAR *hostname, INTERNET_PORT port, struct sockaddr_storage *sa, int timeout… in netconn_resolve() argument
685 ra.hostname = hostname; in netconn_resolve()
697 else ret = resolve_hostname( hostname, port, sa ); in netconn_resolve()
711 const WCHAR *hostname; member
721 async->result = resolve_hostname( async->hostname, async->port, async->addr ); in resolve_proc()
729 if (!timeout) ret = resolve_hostname( hostname, port, addr ); in netconn_resolve()
[all …]
H A Durl.c183 struct url_component scheme, username, password, hostname, path, extra; in WinHttpCrackUrl() local
273 hostname.str = &uc->lpszHostName; in WinHttpCrackUrl()
274 hostname.len = &uc->dwHostNameLength; in WinHttpCrackUrl()
286 if ((err = set_component( &hostname, p, r - p, flags, &overflow ))) goto exit; in WinHttpCrackUrl()
292 if ((err = set_component( &hostname, p, q - p, flags, &overflow ))) goto exit; in WinHttpCrackUrl()
316 if ((err = set_component( &hostname, p, r - p, flags, &overflow ))) goto exit; in WinHttpCrackUrl()
322 if ((err = set_component( &hostname, p, len - (p - url), flags, &overflow ))) goto exit; in WinHttpCrackUrl()
331 debugstr_wn(*hostname.str, *hostname.len ), uc->nPort, debugstr_wn(*path.str, *path.len), in WinHttpCrackUrl()
H A Drequest.c1504 heap_free( host->hostname ); in release_host()
2272 if (connect->hostname) in send_request()
2705 WCHAR *hostname = NULL, *location; in handle_redirect() local
2758 hostname[len] = 0; in handle_redirect()
2761 if (strcmpiW( connect->hostname, hostname ) || connect->serverport != port) in handle_redirect()
2763 heap_free( connect->hostname ); in handle_redirect()
2764 connect->hostname = hostname; in handle_redirect()
2774 else heap_free( hostname ); in handle_redirect()
3670 hostname[uc.dwHostNameLength] = 0; in winhttp_request_Open()
3716 heap_free( hostname ); in winhttp_request_Open()
[all …]
/reactos/base/applications/network/ftp/
H A Druserpass.c55 extern char *hostname;
100 if (strcasecmp(hostname, tokval) == 0) in ruserpass()
102 if ((tmp = index(hostname, '.')) != NULL && in ruserpass()
104 strncasecmp(hostname, tokval, tmp - hostname) == 0 && in ruserpass()
105 tokval[tmp - hostname] == '\0') in ruserpass()
/reactos/base/services/dhcpcsvc/dhcp/
H A Dtree.c103 || !(dh -> hostname = dmalloc (strlen (name) + 1,
106 strcpy (dh -> hostname, name);
311 debug ("Looking up %s", dns -> hostname);
315 h = gethostbyname (dns -> hostname);
321 warn ("%s: host unknown.", dns -> hostname);
326 dns -> hostname);
329 warn ("%s: name server failed", dns -> hostname);
333 dns -> hostname);
/reactos/dll/win32/jsproxy/
H A Dmain.c313 static HRESULT dns_resolve( const WCHAR *hostname, VARIANT *result ) in dns_resolve() argument
321 if (hostname[0]) in dns_resolve()
322 hostnameA = strdupWA( hostname ); in dns_resolve()
509 static BOOL run_script( const WCHAR *script, const WCHAR *url, const WCHAR *hostname, char **result… in run_script() argument
560 V_BSTR( &args[0] ) = SysAllocString( hostname ); in run_script()
598 BOOL WINAPI InternetGetProxyInfo( LPCSTR url, DWORD len_url, LPCSTR hostname, DWORD len_hostname, L… in InternetGetProxyInfo() argument
604 …TRACE( "%s, %u, %s, %u, %p, %p\n", debugstr_a(url), len_url, hostname, len_hostname, proxy, len_pr… in InternetGetProxyInfo()
613 if (hostname && len_hostname < strlen( hostname )) in InternetGetProxyInfo()
619 if (hostname && !(hostnameW = strdupAW( hostname, -1 ))) goto done; in InternetGetProxyInfo()
/reactos/drivers/network/tcpip/lwip/doc/
H A Dmdns.txt48 mdns_resp_add_netif(struct netif *netif, const char *hostname)
50 The hostname will be copied. If this returns successfully, the netif will join
53 - <hostname>.local type A, AAAA or ANY returns relevant IP addresses
55 returns <hostname>.local
83 - <name>.<service>.<proto>.local type SRV returns hostname and port of service
95 Since a hostname struct is used for TXT storage each single item can be max
105 and point them to <hostname>.local:80
/reactos/sdk/lib/3rdparty/libxml2/
H A Dnanohttp.c288 if (ctxt->hostname != NULL) { in xmlNanoHTTPScanURL()
289 xmlFree(ctxt->hostname); in xmlNanoHTTPScanURL()
290 ctxt->hostname = NULL; in xmlNanoHTTPScanURL()
419 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname); in xmlNanoHTTPFreeCtxt()
1384 if (ctxt->hostname == NULL) { in xmlNanoHTTPMethodRedir()
1396 blen = strlen(ctxt->hostname); in xmlNanoHTTPMethodRedir()
1443 method, ctxt->hostname, in xmlNanoHTTPMethodRedir()
1448 ctxt->hostname, ctxt->path); in xmlNanoHTTPMethodRedir()
1458 ctxt->hostname); in xmlNanoHTTPMethodRedir()
1496 ctxt->hostname ); in xmlNanoHTTPMethodRedir()
[all …]
H A Dnanoftp.c108 char *hostname; /* the host name */ member
296 if (ctxt->hostname != NULL) { in xmlNanoFTPScanURL()
297 xmlFree(ctxt->hostname); in xmlNanoFTPScanURL()
298 ctxt->hostname = NULL; in xmlNanoFTPScanURL()
364 if (ctxt->hostname == NULL) in xmlNanoFTPUpdateURL()
376 (strcmp(ctxt->hostname, uri->server)) || in xmlNanoFTPUpdateURL()
495 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname); in xmlNanoFTPFreeCtxt()
850 if (ctxt->hostname == NULL) in xmlNanoFTPConnect()
1106 ctxt->hostname); in xmlNanoFTPConnect()
1109 ctxt->user, ctxt->hostname); in xmlNanoFTPConnect()
[all …]
/reactos/base/services/nfsd/
H A Dmount.c38 status = get_name(&buffer, &length, &args->hostname); in parse_mount()
50 "rsize=%d wsize=%d\n", args->hostname, args->path, in parse_mount()
67 status = nfs41_server_resolve(args->hostname, 2049, &addrs); in handle_mount()
79 status = nfs41_root_create(args->hostname, args->sec_flavor, in handle_mount()
H A Dnfs41_server.c276 IN const char *hostname, in nfs41_server_resolve() argument
288 hostname, port); in nfs41_server_resolve()
299 if (getaddrinfo(hostname, service, &hints, &res) != 0) in nfs41_server_resolve()
338 "error %d\n", hostname, port, status); in nfs41_server_resolve()
341 "%s\n", hostname, port, addrs->arr[0].uaddr); in nfs41_server_resolve()
H A Dnfs41_daemon.c315 char hostname[NI_MAXHOST], servInfo[NI_MAXSERV]; in getdomainname() local
334 (socklen_t)ptr->ai_addrlen, hostname, NI_MAXHOST, in getdomainname()
339 size_t i, len = strlen(hostname); in getdomainname()
340 char *p = hostname; in getdomainname()
341 dprintf(1, "getdomainname: hostname %s %d\n", hostname, len); in getdomainname()
348 memcpy(localdomain_name, &hostname[i+1], len-i); in getdomainname()
/reactos/modules/rostests/winetests/mshtml/
H A Dhtmllocation.c28 const char *hostname; member
185 ok(str_eq_wa(str, test->hostname), in test_hostname()
187 test->name, test->hostname, wine_dbgstr_w(str)); in test_hostname()
193 ok(str_eq_wa(str, test->hostname ? test->hostname : ""), in test_hostname()
195 test->name, test->hostname, wine_dbgstr_w(str)); in test_hostname()
/reactos/drivers/network/tcpip/lwip/src/api/
H A Dnetdb.c171 char *hostname; in lwip_gethostbyname_r() local
201 hostname = ((char *)h) + sizeof(struct gethostbyname_r_helper); in lwip_gethostbyname_r()
212 MEMCPY(hostname, name, namelen); in lwip_gethostbyname_r()
213 hostname[namelen] = 0; in lwip_gethostbyname_r()
219 ret->h_name = hostname; in lwip_gethostbyname_r()
/reactos/base/applications/cmdutils/hostname/lang/
H A Dcs-CZ.rc1 /* FILE: base/applications/cmdutils/hostname/lang/cs-CZ.rc
11 IDS_NOSET "hostname -s není podporováno."
/reactos/drivers/network/tcpip/lwip/src/include/lwip/apps/
H A Dmdns.h110 err_t mdns_resp_add_netif(struct netif *netif, const char *hostname);
112 err_t mdns_resp_rename_netif(struct netif *netif, const char *hostname);
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/
H A Drdesktop.c476 STRNCPY(This->hostname, optarg, sizeof(This->hostname)); in main()
812 if (This->hostname[0] == 0) in main()
824 STRNCPY(This->hostname, fullhostname, sizeof(This->hostname)); in main()
1400 path = (char *) xmalloc(strlen(home) + strlen(This->hostname) + sizeof("/.rdesktop/licence.")); in load_licence()
1401 sprintf(path, "%s/.rdesktop/licence.%s", home, This->hostname); in load_licence()
1430 path = (char *) xmalloc(strlen(home) + strlen(This->hostname) + sizeof("/.rdesktop/licence.")); in save_licence()
1441 sprintf(path, "%s/.rdesktop/licence.%s", home, This->hostname); in save_licence()

1234