sftpfs_super 355 src/vfs/sftpfs/config_parser.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 364 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type = (config_entity->pubkey_auth) ? PUBKEY : 0; sftpfs_super 365 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type |= (config_entity->identities_only) ? 0 : AGENT; sftpfs_super 366 src/vfs/sftpfs/config_parser.c sftpfs_super->config_auth_type |= (config_entity->password_auth) ? PASSWORD : 0; sftpfs_super 382 src/vfs/sftpfs/config_parser.c sftpfs_super->privkey = g_strdup (config_entity->identity_file); sftpfs_super 383 src/vfs/sftpfs/config_parser.c sftpfs_super->pubkey = g_strdup_printf ("%s.pub", config_entity->identity_file); sftpfs_super 175 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 179 src/vfs/sftpfs/connection.c userauthlist = libssh2_userauth_list (sftpfs_super->session, super->path_element->user, sftpfs_super 187 src/vfs/sftpfs/connection.c && (sftpfs_super->config_auth_type & PASSWORD) != 0) sftpfs_super 188 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= PASSWORD; sftpfs_super 191 src/vfs/sftpfs/connection.c && (sftpfs_super->config_auth_type & PUBKEY) != 0) sftpfs_super 192 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= PUBKEY; sftpfs_super 194 src/vfs/sftpfs/connection.c if ((sftpfs_super->config_auth_type & AGENT) != 0) sftpfs_super 195 src/vfs/sftpfs/connection.c sftpfs_super->auth_type |= AGENT; sftpfs_super 212 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 218 src/vfs/sftpfs/connection.c sftpfs_super->agent = NULL; sftpfs_super 220 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & AGENT) == 0) sftpfs_super 224 src/vfs/sftpfs/connection.c sftpfs_super->agent = libssh2_agent_init (sftpfs_super->session); sftpfs_super 225 src/vfs/sftpfs/connection.c if (sftpfs_super->agent == NULL) sftpfs_super 228 src/vfs/sftpfs/connection.c if (libssh2_agent_connect (sftpfs_super->agent) != 0) sftpfs_super 231 src/vfs/sftpfs/connection.c if (libssh2_agent_list_identities (sftpfs_super->agent) != 0) sftpfs_super 236 src/vfs/sftpfs/connection.c rc = libssh2_agent_get_identity (sftpfs_super->agent, &identity, prev_identity); sftpfs_super 243 src/vfs/sftpfs/connection.c if (libssh2_agent_userauth (sftpfs_super->agent, super->path_element->user, identity) == 0) sftpfs_super 264 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 270 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & PUBKEY) == 0) sftpfs_super 273 src/vfs/sftpfs/connection.c if (sftpfs_super->privkey == NULL) sftpfs_super 276 src/vfs/sftpfs/connection.c if (libssh2_userauth_publickey_fromfile (sftpfs_super->session, super->path_element->user, sftpfs_super 277 src/vfs/sftpfs/connection.c sftpfs_super->pubkey, sftpfs_super->privkey, sftpfs_super 289 src/vfs/sftpfs/connection.c ret_value = (libssh2_userauth_publickey_fromfile (sftpfs_super->session, sftpfs_super 291 src/vfs/sftpfs/connection.c sftpfs_super->pubkey, sftpfs_super 292 src/vfs/sftpfs/connection.c sftpfs_super->privkey, passwd) == 0); sftpfs_super 356 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 363 src/vfs/sftpfs/connection.c if ((sftpfs_super->auth_type & PASSWORD) == 0) sftpfs_super 368 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, sftpfs_super 378 src/vfs/sftpfs/connection.c libssh2_userauth_keyboard_interactive (sftpfs_super->session, sftpfs_super 399 src/vfs/sftpfs/connection.c while ((rc = libssh2_userauth_password (sftpfs_super->session, super->path_element->user, sftpfs_super 409 src/vfs/sftpfs/connection.c libssh2_userauth_keyboard_interactive (sftpfs_super->session, sftpfs_super 447 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 455 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = sftpfs_open_socket (super, mcerror); sftpfs_super 456 src/vfs/sftpfs/connection.c if (sftpfs_super->socket_handle == LIBSSH2_INVALID_SOCKET) sftpfs_super 460 src/vfs/sftpfs/connection.c sftpfs_super->session = libssh2_session_init (); sftpfs_super 461 src/vfs/sftpfs/connection.c if (sftpfs_super->session == NULL) sftpfs_super 468 src/vfs/sftpfs/connection.c rc = libssh2_session_startup (sftpfs_super->session, sftpfs_super->socket_handle); sftpfs_super 470 src/vfs/sftpfs/connection.c rc = libssh2_session_handshake (sftpfs_super->session, sftpfs_super 471 src/vfs/sftpfs/connection.c (libssh2_socket_t) sftpfs_super->socket_handle); sftpfs_super 484 src/vfs/sftpfs/connection.c sftpfs_super->fingerprint = sftpfs_super 485 src/vfs/sftpfs/connection.c libssh2_hostkey_hash (sftpfs_super->session, LIBSSH2_HOSTKEY_HASH_SHA1); sftpfs_super 491 src/vfs/sftpfs/connection.c sftp_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 492 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); sftpfs_super 501 src/vfs/sftpfs/connection.c sftpfs_super->sftp_session = libssh2_sftp_init (sftpfs_super->session); sftpfs_super 503 src/vfs/sftpfs/connection.c if (sftpfs_super->sftp_session == NULL) sftpfs_super 507 src/vfs/sftpfs/connection.c libssh2_session_set_blocking (sftpfs_super->session, 1); sftpfs_super 524 src/vfs/sftpfs/connection.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 529 src/vfs/sftpfs/connection.c if (sftpfs_super->sftp_session != NULL) sftpfs_super 531 src/vfs/sftpfs/connection.c libssh2_sftp_shutdown (sftpfs_super->sftp_session); sftpfs_super 532 src/vfs/sftpfs/connection.c sftpfs_super->sftp_session = NULL; sftpfs_super 535 src/vfs/sftpfs/connection.c if (sftpfs_super->agent != NULL) sftpfs_super 537 src/vfs/sftpfs/connection.c libssh2_agent_disconnect (sftpfs_super->agent); sftpfs_super 538 src/vfs/sftpfs/connection.c libssh2_agent_free (sftpfs_super->agent); sftpfs_super 539 src/vfs/sftpfs/connection.c sftpfs_super->agent = NULL; sftpfs_super 542 src/vfs/sftpfs/connection.c sftpfs_super->fingerprint = NULL; sftpfs_super 544 src/vfs/sftpfs/connection.c if (sftpfs_super->session != NULL) sftpfs_super 546 src/vfs/sftpfs/connection.c libssh2_session_disconnect (sftpfs_super->session, shutdown_message); sftpfs_super 547 src/vfs/sftpfs/connection.c libssh2_session_free (sftpfs_super->session); sftpfs_super 548 src/vfs/sftpfs/connection.c sftpfs_super->session = NULL; sftpfs_super 551 src/vfs/sftpfs/connection.c if (sftpfs_super->socket_handle != LIBSSH2_INVALID_SOCKET) sftpfs_super 553 src/vfs/sftpfs/connection.c close (sftpfs_super->socket_handle); sftpfs_super 554 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = LIBSSH2_INVALID_SOCKET; sftpfs_super 70 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 81 src/vfs/sftpfs/dir.c sftpfs_super = SFTP_SUPER (super); sftpfs_super 92 src/vfs/sftpfs/dir.c libssh2_sftp_open_ex (sftpfs_super->sftp_session, fixfname, fixfname_len, 0, 0, sftpfs_super 97 src/vfs/sftpfs/dir.c libssh_errno = libssh2_session_last_errno (sftpfs_super->session); sftpfs_super 98 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, libssh_errno, mcerror)) sftpfs_super 104 src/vfs/sftpfs/dir.c sftpfs_dir->super = sftpfs_super; sftpfs_super 179 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 192 src/vfs/sftpfs/dir.c sftpfs_super = SFTP_SUPER (super); sftpfs_super 193 src/vfs/sftpfs/dir.c if (sftpfs_super->sftp_session == NULL) sftpfs_super 203 src/vfs/sftpfs/dir.c res = libssh2_sftp_mkdir_ex (sftpfs_super->sftp_session, fixfname, fixfname_len, mode); sftpfs_super 207 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) sftpfs_super 229 src/vfs/sftpfs/dir.c sftpfs_super_t *sftpfs_super; sftpfs_super 242 src/vfs/sftpfs/dir.c sftpfs_super = SFTP_SUPER (super); sftpfs_super 243 src/vfs/sftpfs/dir.c if (sftpfs_super->sftp_session == NULL) sftpfs_super 253 src/vfs/sftpfs/dir.c res = libssh2_sftp_rmdir_ex (sftpfs_super->sftp_session, fixfname, fixfname_len); sftpfs_super 257 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) sftpfs_super 229 src/vfs/sftpfs/file.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 244 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (sftpfs_super, res, mcerror); sftpfs_super 109 src/vfs/sftpfs/vfs_subclass.c sftpfs_super_t *sftpfs_super = SFTP_SUPER (super); sftpfs_super 121 src/vfs/sftpfs/vfs_subclass.c sftpfs_super->original_connection_info = vfs_path_element_clone (vpath_element);