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 283 lib/vfs/path.c path_element->host = g_strdup (rest); host 830 lib/vfs/path.c new_element->host = g_strdup (element->host); host 862 lib/vfs/path.c g_free (element->host); host 1130 lib/vfs/path.c mc_config_set_string_raw (cpath, groupname, "host", element->host); host 1200 lib/vfs/path.c element->host = mc_config_get_string_raw (cpath, groupname, "host", NULL); host 1505 lib/vfs/path.c if (element->host != NULL) host 1511 lib/vfs/path.c g_string_append (buffer, element->host); host 37 lib/vfs/path.h char *host; host 351 lib/vfs/utilvfs.c path_element->host = g_strdup (rest); host 1532 src/filemanager/layout.c char host[BUF_TINY]; host 1539 src/filemanager/layout.c res = gethostname (host, sizeof (host)); host 1541 src/filemanager/layout.c host[0] = '\0'; host 1543 src/filemanager/layout.c host[sizeof (host) - 1] = '\0'; host 1547 src/filemanager/layout.c *login = g_strdup_printf ("%s@%s", pw->pw_name, host); host 1549 src/filemanager/layout.c *login = g_strdup (host); host 1587 src/filemanager/layout.c const gchar *host; host 1590 src/filemanager/layout.c host = g_get_host_name (); host 1594 src/filemanager/layout.c fprintf (stdout, ESC_STR "]7;file://%s%s" ESC_STR "\\", host, path_uri); host 1107 src/filemanager/mountlist.c char *host, *dir; host 1111 src/filemanager/mountlist.c host = thisent + vmp->vmt_data[VMT_HOSTNAME].vmt_off; host 1113 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 584 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: Disconnecting from %s"), super->path_element->host); host 655 src/vfs/ftpfs/ftpfs.c super->path_element->host[0] == '!' ? super->path_element->host + 1 host 656 src/vfs/ftpfs/ftpfs.c : super->path_element->host, host 777 src/vfs/ftpfs/ftpfs.c ftpfs_check_proxy (const char *host) host 780 src/vfs/ftpfs/ftpfs.c if (ftpfs_proxy_host == NULL || *ftpfs_proxy_host == '\0' || host == NULL || *host == '\0') host 783 src/vfs/ftpfs/ftpfs.c if (*host == '!') host 789 src/vfs/ftpfs/ftpfs.c if (strchr (host, '.') == NULL) host 807 src/vfs/ftpfs/ftpfs.c lh = strlen (host); host 809 src/vfs/ftpfs/ftpfs.c while (ld != 0 && lh != 0 && host[lh - 1] == domain[ld - 1]) host 818 src/vfs/ftpfs/ftpfs.c else if (g_ascii_strcasecmp (host, domain) == 0) host 829 src/vfs/ftpfs/ftpfs.c ftpfs_get_proxy_host_and_port (const char *proxy, char **host, int *port) host 834 src/vfs/ftpfs/ftpfs.c *host = path_element->host; host 835 src/vfs/ftpfs/ftpfs.c path_element->host = NULL; host 847 src/vfs/ftpfs/ftpfs.c char *host = NULL; host 854 src/vfs/ftpfs/ftpfs.c if (super->path_element->host == NULL || *super->path_element->host == '\0') host 864 src/vfs/ftpfs/ftpfs.c ftpfs_get_proxy_host_and_port (ftpfs_proxy_host, &host, &tmp_port); host 867 src/vfs/ftpfs/ftpfs.c host = g_strdup (super->path_element->host); host 886 src/vfs/ftpfs/ftpfs.c e = getaddrinfo (host, port, &hints, &res); host 893 src/vfs/ftpfs/ftpfs.c e = getaddrinfo (host, port, &hints, &res); host 903 src/vfs/ftpfs/ftpfs.c g_free (host); host 919 src/vfs/ftpfs/ftpfs.c g_free (host); host 925 src/vfs/ftpfs/ftpfs.c vfs_print_message (_ ("ftpfs: making connection to %s"), host); host 926 src/vfs/ftpfs/ftpfs.c MC_PTR_FREE (host); host 1022 src/vfs/ftpfs/ftpfs.c if (ftpfs_check_proxy (super->path_element->host)) host 1044 src/vfs/ftpfs/ftpfs.c result = ((strcmp (path_element->host, super->path_element->host) == 0) host 2516 src/vfs/ftpfs/ftpfs.c ftpfs_find_machine (const char *host, const char *domain) host 2520 src/vfs/ftpfs/ftpfs.c if (host == NULL) host 2521 src/vfs/ftpfs/ftpfs.c host = ""; host 2553 src/vfs/ftpfs/ftpfs.c if (g_ascii_strcasecmp (host, buffer) != 0) host 2558 src/vfs/ftpfs/ftpfs.c host_domain = strchr (host, '.'); host 2567 src/vfs/ftpfs/ftpfs.c if (g_ascii_strncasecmp (host, buffer, host_domain - host) != 0) host 2584 src/vfs/ftpfs/ftpfs.c ftpfs_netrc_lookup (const char *host, char **login, char **pass) host 2593 src/vfs/ftpfs/ftpfs.c char *host; host 2604 src/vfs/ftpfs/ftpfs.c if (strcmp (host, rupp->host) == 0) host 2630 src/vfs/ftpfs/ftpfs.c ftpfs_find_machine (host, domain); host 2707 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 302 src/vfs/sftpfs/connection.c found = strcmp (store->name, super->path_element->host) == 0; host 318 src/vfs/sftpfs/connection.c found = strncmp (store->name + 1, super->path_element->host, kh_name_size) == 0; host 416 src/vfs/sftpfs/connection.c rc = libssh2_knownhost_addc (sftpfs_super->known_hosts, super->path_element->host, NULL, host 430 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address); host 484 src/vfs/sftpfs/connection.c struct libssh2_knownhost *host = NULL; host 545 src/vfs/sftpfs/connection.c sftpfs_super->known_hosts, super->path_element->host, super->path_element->port, remote_key, host 547 src/vfs/sftpfs/connection.c &host); host 566 src/vfs/sftpfs/connection.c super->path_element->host, sftpfs_super->ip_address, key_type, fingerprint_hash); host 579 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 551 src/vfs/shell/shell.c argv[i++] = super->path_element->host; host 646 src/vfs/shell/shell.c g_strconcat ("sh://", super->path_element->user, "@", super->path_element->host, host 672 src/vfs/shell/shell.c shell_super->scr_ls = shell_load_script_from_file (super->path_element->host, VFS_SHELL_LS_FILE, host 675 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_EXISTS_FILE, VFS_SHELL_EXISTS_DEF_CONTENT); host 677 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_MKDIR_FILE, VFS_SHELL_MKDIR_DEF_CONTENT); host 679 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_UNLINK_FILE, VFS_SHELL_UNLINK_DEF_CONTENT); host 681 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_CHOWN_FILE, VFS_SHELL_CHOWN_DEF_CONTENT); host 683 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_CHMOD_FILE, VFS_SHELL_CHMOD_DEF_CONTENT); host 685 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_UTIME_FILE, VFS_SHELL_UTIME_DEF_CONTENT); host 687 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_RMDIR_FILE, VFS_SHELL_RMDIR_DEF_CONTENT); host 688 src/vfs/shell/shell.c shell_super->scr_ln = shell_load_script_from_file (super->path_element->host, VFS_SHELL_LN_FILE, host 690 src/vfs/shell/shell.c shell_super->scr_mv = shell_load_script_from_file (super->path_element->host, VFS_SHELL_MV_FILE, host 693 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_HARDLINK_FILE, VFS_SHELL_HARDLINK_DEF_CONTENT); host 695 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_GET_FILE, VFS_SHELL_GET_DEF_CONTENT); host 697 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_SEND_FILE, VFS_SHELL_SEND_DEF_CONTENT); host 699 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_APPEND_FILE, VFS_SHELL_APPEND_DEF_CONTENT); host 701 src/vfs/shell/shell.c super->path_element->host, VFS_SHELL_INFO_FILE, VFS_SHELL_INFO_DEF_CONTENT); host 723 src/vfs/shell/shell.c result = ((strcmp (path_element->host, super->path_element->host) == 0) host 1677 src/vfs/shell/shell.c super->path_element->user, "@", super->path_element->host, flags,