host 93 lib/lock.c char host[BUF_SIZE]; host 110 lib/lock.c if (gethostname (host, sizeof (host) - 1) == -1) host 111 lib/lock.c *host = '\0'; host 113 lib/lock.c return g_strdup_printf ("%s@%s.%d", user, host, (int) getpid ()); host 286 lib/vfs/path.c path_element->host = g_strdup (rest); host 854 lib/vfs/path.c new_element->host = g_strdup (element->host); host 888 lib/vfs/path.c g_free (element->host); host 1165 lib/vfs/path.c mc_config_set_string_raw (cpath, groupname, "host", element->host); host 1237 lib/vfs/path.c element->host = mc_config_get_string_raw (cpath, groupname, "host", NULL); host 1542 lib/vfs/path.c if (element->host != NULL) host 1548 lib/vfs/path.c g_string_append (buffer, element->host); host 37 lib/vfs/path.h char *host; host 352 lib/vfs/utilvfs.c path_element->host = g_strdup (rest); host 1531 src/filemanager/layout.c char host[BUF_TINY]; host 1538 src/filemanager/layout.c res = gethostname (host, sizeof (host)); host 1540 src/filemanager/layout.c host[0] = '\0'; host 1542 src/filemanager/layout.c host[sizeof (host) - 1] = '\0'; host 1546 src/filemanager/layout.c *login = g_strdup_printf ("%s@%s", pw->pw_name, host); host 1548 src/filemanager/layout.c *login = g_strdup (host); host 1586 src/filemanager/layout.c const gchar *host; host 1589 src/filemanager/layout.c host = g_get_host_name (); host 1593 src/filemanager/layout.c fprintf (stdout, ESC_STR "]7;file://%s%s" ESC_STR "\\", host, path_uri); host 1130 src/filemanager/mountlist.c char *host, *dir; host 1134 src/filemanager/mountlist.c host = thisent + vmp->vmt_data[VMT_HOSTNAME].vmt_off; host 1136 src/filemanager/mountlist.c me->me_devname = g_strconcat (host, ":", dir, (char *) NULL); host 243 src/vfs/ftpfs/ftpfs.c static gboolean ftpfs_netrc_lookup (const char *host, char **login, char **pass); host 361 src/vfs/ftpfs/ftpfs.c ftpfs_netrc_lookup (path_element->host, &path_element->user, &path_element->password); host 372 src/vfs/ftpfs/ftpfs.c ftpfs_netrc_lookup (path_element->host, &new_user, &new_passwd); host 586 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: Disconnecting from %s"), super->path_element->host); host 657 src/vfs/ftpfs/ftpfs.c super->path_element->host[0] == '!' ? super->path_element->host + 1 host 658 src/vfs/ftpfs/ftpfs.c : super->path_element->host, host 779 src/vfs/ftpfs/ftpfs.c ftpfs_check_proxy (const char *host) host 782 src/vfs/ftpfs/ftpfs.c if (ftpfs_proxy_host == NULL || *ftpfs_proxy_host == '\0' || host == NULL || *host == '\0') host 785 src/vfs/ftpfs/ftpfs.c if (*host == '!') host 791 src/vfs/ftpfs/ftpfs.c if (strchr (host, '.') == NULL) host 809 src/vfs/ftpfs/ftpfs.c lh = strlen (host); host 811 src/vfs/ftpfs/ftpfs.c while (ld != 0 && lh != 0 && host[lh - 1] == domain[ld - 1]) host 820 src/vfs/ftpfs/ftpfs.c else if (g_ascii_strcasecmp (host, domain) == 0) host 831 src/vfs/ftpfs/ftpfs.c ftpfs_get_proxy_host_and_port (const char *proxy, char **host, int *port) host 836 src/vfs/ftpfs/ftpfs.c *host = path_element->host; host 837 src/vfs/ftpfs/ftpfs.c path_element->host = NULL; host 849 src/vfs/ftpfs/ftpfs.c char *host = NULL; host 856 src/vfs/ftpfs/ftpfs.c if (super->path_element->host == NULL || *super->path_element->host == '\0') host 866 src/vfs/ftpfs/ftpfs.c ftpfs_get_proxy_host_and_port (ftpfs_proxy_host, &host, &tmp_port); host 869 src/vfs/ftpfs/ftpfs.c host = g_strdup (super->path_element->host); host 888 src/vfs/ftpfs/ftpfs.c e = getaddrinfo (host, port, &hints, &res); host 895 src/vfs/ftpfs/ftpfs.c e = getaddrinfo (host, port, &hints, &res); host 905 src/vfs/ftpfs/ftpfs.c g_free (host); host 921 src/vfs/ftpfs/ftpfs.c g_free (host); host 927 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: making connection to %s"), host); host 928 src/vfs/ftpfs/ftpfs.c MC_PTR_FREE (host); host 1024 src/vfs/ftpfs/ftpfs.c if (ftpfs_check_proxy (super->path_element->host)) host 1046 src/vfs/ftpfs/ftpfs.c result = ((strcmp (path_element->host, super->path_element->host) == 0) host 2518 src/vfs/ftpfs/ftpfs.c ftpfs_find_machine (const char *host, const char *domain) host 2522 src/vfs/ftpfs/ftpfs.c if (host == NULL) host 2523 src/vfs/ftpfs/ftpfs.c host = ""; host 2555 src/vfs/ftpfs/ftpfs.c if (g_ascii_strcasecmp (host, buffer) != 0) host 2560 src/vfs/ftpfs/ftpfs.c host_domain = strchr (host, '.'); host 2569 src/vfs/ftpfs/ftpfs.c if (g_ascii_strncasecmp (host, buffer, host_domain - host) != 0) host 2586 src/vfs/ftpfs/ftpfs.c ftpfs_netrc_lookup (const char *host, char **login, char **pass) host 2595 src/vfs/ftpfs/ftpfs.c char *host; host 2606 src/vfs/ftpfs/ftpfs.c if (strcmp (host, rupp->host) == 0) host 2632 src/vfs/ftpfs/ftpfs.c ftpfs_find_machine (host, domain); host 2709 src/vfs/ftpfs/ftpfs.c rupp->host = g_strdup (host); host 176 src/vfs/sftpfs/config_parser.c sftpsfs_expand_hostname (const char *host, const char *real_host) host 179 src/vfs/sftpfs/config_parser.c return g_strconcat (host, real_host + 2, (char *) NULL); host 308 src/vfs/sftpfs/config_parser.c if (strcmp (host_pattern, vpath_element->host) == 0) host 321 src/vfs/sftpfs/config_parser.c pattern_block_hit = mc_search_run (pattern_regexp, vpath_element->host, 0, host 322 src/vfs/sftpfs/config_parser.c strlen (vpath_element->host), NULL); host 427 src/vfs/sftpfs/config_parser.c char *tmp_str = super->path_element->host; host 429 src/vfs/sftpfs/config_parser.c super->path_element->host = host 430 src/vfs/sftpfs/config_parser.c sftpsfs_expand_hostname (super->path_element->host, config_entity->real_host); host 143 src/vfs/sftpfs/connection.c if (super->path_element->host == NULL || *super->path_element->host == '\0') host 164 src/vfs/sftpfs/connection.c e = getaddrinfo (super->path_element->host, port, &hints, &res); host 171 src/vfs/sftpfs/connection.c e = getaddrinfo (super->path_element->host, port, &hints, &res); host 223 src/vfs/sftpfs/connection.c vfs_print_message (_ ("sftp: making connection to %s"), super->path_element->host); host 294 src/vfs/sftpfs/connection.c found = strcmp (store->name, super->path_element->host) == 0; host 310 src/vfs/sftpfs/connection.c found = strncmp (store->name + 1, super->path_element->host, kh_name_size) == 0; host 408 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_addc (sftpfs_super->known_hosts, super->path_element->host, NULL, host 422 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); host 476 src/vfs/sftpfs/connection.c struct libssh2_knownhost *host = NULL; host 537 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts, super->path_element->host, super->path_element->port, remote_key, host 539 src/vfs/sftpfs/connection.c &host); host 558 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address, key_type, fingerprint_hash); host 571 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); host 694 src/vfs/sftpfs/sftpfs.c result = ((g_strcmp0 (vpath_element->host, orig_connect_info->host) == 0) host 738 src/vfs/sftpfs/sftpfs.c if (vpath_element->host == NULL || *vpath_element->host == '\0') host 552 src/vfs/shell/shell.c argv[i++] = super->path_element->host; host 647 src/vfs/shell/shell.c g_strconcat ("sh://", super->path_element->user, "@", super->path_element->host, host 673 src/vfs/shell/shell.c shell_super->scr_ls = shell_load_script_from_file (super->path_element->host, VFS_SHELL_LS_FILE, host 676 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_EXISTS_FILE, VFS_SHELL_EXISTS_DEF_CONTENT); host 678 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_MKDIR_FILE, VFS_SHELL_MKDIR_DEF_CONTENT); host 680 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_UNLINK_FILE, VFS_SHELL_UNLINK_DEF_CONTENT); host 682 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_CHOWN_FILE, VFS_SHELL_CHOWN_DEF_CONTENT); host 684 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_CHMOD_FILE, VFS_SHELL_CHMOD_DEF_CONTENT); host 686 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_UTIME_FILE, VFS_SHELL_UTIME_DEF_CONTENT); host 688 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_RMDIR_FILE, VFS_SHELL_RMDIR_DEF_CONTENT); host 689 src/vfs/shell/shell.c shell_super->scr_ln = shell_load_script_from_file (super->path_element->host, VFS_SHELL_LN_FILE, host 691 src/vfs/shell/shell.c shell_super->scr_mv = shell_load_script_from_file (super->path_element->host, VFS_SHELL_MV_FILE, host 694 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_HARDLINK_FILE, VFS_SHELL_HARDLINK_DEF_CONTENT); host 696 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_GET_FILE, VFS_SHELL_GET_DEF_CONTENT); host 698 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_SEND_FILE, VFS_SHELL_SEND_DEF_CONTENT); host 700 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_APPEND_FILE, VFS_SHELL_APPEND_DEF_CONTENT); host 702 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_INFO_FILE, VFS_SHELL_INFO_DEF_CONTENT); host 724 src/vfs/shell/shell.c result = ((strcmp (path_element->host, super->path_element->host) == 0) host 1680 src/vfs/shell/shell.c super->path_element->user, "@", super->path_element->host, flags,