mcerror 51 lib/event/event.c mc_event_init (GError ** mcerror) mcerror 53 lib/event/event.c mc_return_val_if_error (mcerror, FALSE); mcerror 57 lib/event/event.c mc_propagate_error (mcerror, 0, "%s", _("Event system already initialized")); mcerror 67 lib/event/event.c mc_propagate_error (mcerror, 0, "%s", _("Failed to initialize event system")); mcerror 77 lib/event/event.c mc_event_deinit (GError ** mcerror) mcerror 79 lib/event/event.c mc_return_val_if_error (mcerror, FALSE); mcerror 83 lib/event/event.c mc_propagate_error (mcerror, 0, "%s", _("Event system not initialized")); mcerror 95 lib/event/event.c mc_event_mass_add (const event_init_t * events, GError ** mcerror) mcerror 99 lib/event/event.c mc_return_val_if_error (mcerror, FALSE); mcerror 105 lib/event/event.c events[array_index].cb, events[array_index].init_data, mcerror)) mcerror 24 lib/event/internal.h GError ** mcerror); mcerror 26 lib/event/internal.h gboolean create_new, GError ** mcerror); mcerror 65 lib/event/manage.c mc_event_callback_func_t event_callback, gpointer event_init_data, GError ** mcerror) mcerror 72 lib/event/manage.c mc_return_val_if_error (mcerror, FALSE); mcerror 77 lib/event/manage.c mc_propagate_error (mcerror, 0, "%s", _("Check input data! Some of parameters are NULL!")); mcerror 81 lib/event/manage.c event_group = mc_event_get_event_group_by_name (event_group_name, TRUE, mcerror); mcerror 85 lib/event/manage.c callbacks = mc_event_get_event_by_name (event_group, event_name, TRUE, mcerror); mcerror 159 lib/event/manage.c GError ** mcerror) mcerror 163 lib/event/manage.c mc_return_val_if_error (mcerror, FALSE); mcerror 175 lib/event/manage.c mc_propagate_error (mcerror, 0, _("Unable to create group '%s' for events!"), mcerror 188 lib/event/manage.c GError ** mcerror) mcerror 192 lib/event/manage.c mc_return_val_if_error (mcerror, FALSE); mcerror 200 lib/event/manage.c mc_propagate_error (mcerror, 0, _("Unable to create event '%s'!"), event_name); mcerror 44 lib/mcconfig.h gboolean mc_config_save_file (mc_config_t * config, GError ** mcerror); mcerror 46 lib/mcconfig.h GError ** mcerror); mcerror 104 lib/mcconfig.h gboolean mc_config_migrate_from_old_place (GError ** mcerror, char **msg); mcerror 49 lib/mcconfig/common.c mc_config_new_or_override_file (mc_config_t * mc_config, const gchar * ini_path, GError ** mcerror) mcerror 58 lib/mcconfig/common.c mc_return_val_if_error (mcerror, FALSE); mcerror 63 lib/mcconfig/common.c ret = g_file_set_contents (ini_path, data, len, mcerror); mcerror 76 lib/mcconfig/common.c mc_propagate_error (mcerror, 0, "%s", unix_error_string (errno)); mcerror 92 lib/mcconfig/common.c mc_propagate_error (mcerror, 0, "%s", unix_error_string (errno)); mcerror 256 lib/mcconfig/common.c mc_config_save_file (mc_config_t * mc_config, GError ** mcerror) mcerror 258 lib/mcconfig/common.c mc_return_val_if_error (mcerror, FALSE); mcerror 263 lib/mcconfig/common.c return mc_config_new_or_override_file (mc_config, mc_config->ini_path, mcerror); mcerror 269 lib/mcconfig/common.c mc_config_save_to_file (mc_config_t * mc_config, const gchar * ini_path, GError ** mcerror) mcerror 271 lib/mcconfig/common.c mc_return_val_if_error (mcerror, FALSE); mcerror 276 lib/mcconfig/common.c return mc_config_new_or_override_file (mc_config, ini_path, mcerror); mcerror 130 lib/mcconfig/paths.c mc_config_mkdir (const char *directory_name, GError ** mcerror) mcerror 132 lib/mcconfig/paths.c mc_return_if_error (mcerror); mcerror 136 lib/mcconfig/paths.c mc_propagate_error (mcerror, 0, _("Cannot create %s directory"), directory_name); mcerror 142 lib/mcconfig/paths.c mc_config_init_one_config_path (const char *path_base, const char *subdir, GError ** mcerror) mcerror 146 lib/mcconfig/paths.c mc_return_val_if_error (mcerror, FALSE); mcerror 161 lib/mcconfig/paths.c mc_config_mkdir (full_path, mcerror); mcerror 162 lib/mcconfig/paths.c if (mcerror != NULL && *mcerror != NULL) mcerror 179 lib/mcconfig/paths.c mc_config_copy (const char *old_name, const char *new_name, GError ** mcerror) mcerror 181 lib/mcconfig/paths.c mc_return_if_error (mcerror); mcerror 188 lib/mcconfig/paths.c if (g_file_get_contents (old_name, &contents, &length, mcerror)) mcerror 189 lib/mcconfig/paths.c g_file_set_contents (new_name, contents, length, mcerror); mcerror 200 lib/mcconfig/paths.c dir = g_dir_open (old_name, 0, mcerror); mcerror 207 lib/mcconfig/paths.c mc_propagate_error (mcerror, 0, mcerror 219 lib/mcconfig/paths.c mc_config_copy (old_name2, new_name2, mcerror); mcerror 278 lib/mcconfig/paths.c mc_config_init_config_paths (GError ** mcerror) mcerror 286 lib/mcconfig/paths.c mc_return_if_error (mcerror); mcerror 304 lib/mcconfig/paths.c mc_config_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror); mcerror 308 lib/mcconfig/paths.c mc_cache_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror); mcerror 312 lib/mcconfig/paths.c mc_data_str = mc_config_init_one_config_path (dir, MC_USERCONF_DIR, mcerror); mcerror 318 lib/mcconfig/paths.c mc_config_init_one_config_path (g_get_user_config_dir (), MC_USERCONF_DIR, mcerror); mcerror 320 lib/mcconfig/paths.c mc_config_init_one_config_path (g_get_user_cache_dir (), MC_USERCONF_DIR, mcerror); mcerror 322 lib/mcconfig/paths.c mc_config_init_one_config_path (g_get_user_data_dir (), MC_USERCONF_DIR, mcerror); mcerror 336 lib/mcconfig/paths.c mc_data_str = mc_cache_str = mc_config_str = mc_config_init_one_config_path (dir, "", mcerror); mcerror 421 lib/mcconfig/paths.c mc_config_migrate_from_old_place (GError ** mcerror, char **msg) mcerror 426 lib/mcconfig/paths.c mc_return_val_if_error (mcerror, FALSE); mcerror 433 lib/mcconfig/paths.c g_free (mc_config_init_one_config_path (mc_config_str, EDIT_HOME_DIR, mcerror)); mcerror 435 lib/mcconfig/paths.c g_free (mc_config_init_one_config_path (mc_cache_str, EDIT_HOME_DIR, mcerror)); mcerror 436 lib/mcconfig/paths.c g_free (mc_config_init_one_config_path (mc_data_str, EDIT_HOME_DIR, mcerror)); mcerror 439 lib/mcconfig/paths.c mc_return_val_if_error (mcerror, FALSE); mcerror 459 lib/mcconfig/paths.c mc_config_copy (old_name, new_name, mcerror); mcerror 326 lib/search/regex.c GError *mcerror = NULL; mcerror 330 lib/search/regex.c &lc_mc_search->regex_match_info, &mcerror)) mcerror 334 lib/search/regex.c if (mcerror != NULL) mcerror 339 lib/search/regex.c str_conv_gerror_message (mcerror, _("Regular expression error")); mcerror 340 lib/search/regex.c g_error_free (mcerror); mcerror 803 lib/search/regex.c GError *mcerror = NULL; mcerror 827 lib/search/regex.c g_regex_new (mc_search_cond->str->str, g_regex_options, 0, &mcerror); mcerror 829 lib/search/regex.c if (mcerror != NULL) mcerror 834 lib/search/regex.c str_conv_gerror_message (mcerror, _("Regular expression error")); mcerror 835 lib/search/regex.c g_error_free (mcerror); mcerror 114 lib/skin/common.c mc_skin_init (const gchar * skin_override, GError ** mcerror) mcerror 119 lib/skin/common.c mc_return_val_if_error (mcerror, FALSE); mcerror 131 lib/skin/common.c mc_propagate_error (mcerror, 0, mcerror 141 lib/skin/common.c mc_propagate_error (mcerror, 0, mcerror 152 lib/skin/common.c mc_propagate_error (mcerror, 0, mcerror 164 lib/skin/common.c mc_propagate_error (mcerror, 0, mcerror 138 lib/strutil/strutil.c GError *mcerror = NULL; mcerror 141 lib/strutil/strutil.c left, coder, &bytes_read, &bytes_written, &mcerror); mcerror 142 lib/strutil/strutil.c if (mcerror != NULL) mcerror 144 lib/strutil/strutil.c int code = mcerror->code; mcerror 146 lib/strutil/strutil.c g_error_free (mcerror); mcerror 147 lib/strutil/strutil.c mcerror = NULL; mcerror 304 lib/strutil/strutil.c str_conv_gerror_message (GError * mcerror, const char *def_msg) mcerror 306 lib/strutil/strutil.c return used_class.conv_gerror_message (mcerror, def_msg); mcerror 240 lib/strutil/strutil8bit.c str_8bit_conv_gerror_message (GError * mcerror, const char *def_msg) mcerror 256 lib/strutil/strutil8bit.c if (str_convert (conv, mcerror->message, buf) != ESTR_FAILURE) mcerror 213 lib/strutil/strutilascii.c str_ascii_conv_gerror_message (GError * mcerror, const char *def_msg) mcerror 216 lib/strutil/strutilascii.c if (mcerror != NULL) mcerror 217 lib/strutil/strutilascii.c return g_strdup (mcerror->message); mcerror 412 lib/strutil/strutilutf8.c str_utf8_conv_gerror_message (GError * mcerror, const char *def_msg) mcerror 414 lib/strutil/strutilutf8.c if (mcerror != NULL) mcerror 415 lib/strutil/strutilutf8.c return g_strdup (mcerror->message); mcerror 67 lib/tty/tty-internal.c GError *mcerror = NULL; mcerror 69 lib/tty/tty-internal.c if (!g_unix_open_pipe (sigwinch_pipe, FD_CLOEXEC, &mcerror)) mcerror 72 lib/tty/tty-internal.c mcerror->message, mcerror->code); mcerror 73 lib/tty/tty-internal.c g_error_free (mcerror); mcerror 82 lib/tty/tty-internal.c if (!g_unix_set_fd_nonblocking (sigwinch_pipe[0], TRUE, &mcerror)) mcerror 85 lib/tty/tty-internal.c mcerror->message, mcerror->code); mcerror 86 lib/tty/tty-internal.c g_error_free (mcerror); mcerror 91 lib/tty/tty-internal.c if (!g_unix_set_fd_nonblocking (sigwinch_pipe[1], TRUE, &mcerror)) mcerror 94 lib/tty/tty-internal.c mcerror->message, mcerror->code); mcerror 95 lib/tty/tty-internal.c g_error_free (mcerror); mcerror 27 lib/util.h #define mc_return_if_error(mcerror) do { if (mcerror != NULL && *mcerror != NULL) return; } while (0) mcerror 28 lib/util.h #define mc_return_val_if_error(mcerror, mcvalue) do { if (mcerror != NULL && *mcerror != NULL) return mcvalue; } while (0) mcerror 1086 lib/vfs/path.c vfs_path_serialize (const vfs_path_t * vpath, GError ** mcerror) mcerror 1092 lib/vfs/path.c mc_return_val_if_error (mcerror, FALSE); mcerror 1096 lib/vfs/path.c mc_propagate_error (mcerror, 0, "%s", "vpath object is empty"); mcerror 1125 lib/vfs/path.c ret_value = mc_serialize_config (cpath, mcerror); mcerror 1141 lib/vfs/path.c vfs_path_deserialize (const char *data, GError ** mcerror) mcerror 1147 lib/vfs/path.c mc_return_val_if_error (mcerror, FALSE); mcerror 1149 lib/vfs/path.c cpath = mc_deserialize_config (data, mcerror); mcerror 1171 lib/vfs/path.c g_set_error (mcerror, MC_ERROR, 0, "Unable to find VFS class by name '%s'", cfg_value); mcerror 1202 lib/vfs/path.c g_set_error (mcerror, MC_ERROR, 0, "No any path elements found"); mcerror 443 lib/widget/wtools.c mc_error_message (GError ** mcerror, int *code) mcerror 445 lib/widget/wtools.c if (mcerror == NULL || *mcerror == NULL) mcerror 448 lib/widget/wtools.c if ((*mcerror)->code == 0) mcerror 449 lib/widget/wtools.c message (D_ERROR, MSG_ERROR, "%s", (*mcerror)->message); mcerror 451 lib/widget/wtools.c message (D_ERROR, MSG_ERROR, _("%s (%d)"), (*mcerror)->message, (*mcerror)->code); mcerror 454 lib/widget/wtools.c *code = (*mcerror)->code; mcerror 456 lib/widget/wtools.c g_error_free (*mcerror); mcerror 457 lib/widget/wtools.c *mcerror = NULL; mcerror 86 lib/widget/wtools.h gboolean mc_error_message (GError ** mcerror, int *code); mcerror 87 src/args.c gpointer data, GError ** mcerror); mcerror 89 src/args.c gpointer data, GError ** mcerror); mcerror 462 src/args.c GError ** mcerror) mcerror 468 src/args.c mc_return_val_if_error (mcerror, FALSE); mcerror 479 src/args.c GError ** mcerror) mcerror 485 src/args.c mc_return_val_if_error (mcerror, FALSE); mcerror 663 src/args.c mc_args_parse (int *argc, char ***argv, const char *translation_domain, GError ** mcerror) mcerror 668 src/args.c mc_return_val_if_error (mcerror, FALSE); mcerror 702 src/args.c if (!g_option_context_parse (context, argc, argv, mcerror)) mcerror 704 src/args.c if (*mcerror == NULL) mcerror 705 src/args.c mc_propagate_error (mcerror, 0, "%s\n", _("Arguments parse error!")); mcerror 713 src/args.c mc_replace_error (mcerror, (*mcerror)->code, "%s\n\n%s\n", (*mcerror)->message, mcerror 720 src/args.c mc_args__convert_help_to_syscharset (_system_codepage, (*mcerror)->message, mcerror 722 src/args.c mc_replace_error (mcerror, (*mcerror)->code, "%s", full_help_str); mcerror 779 src/args.c mc_setup_by_args (int argc, char **argv, GError ** mcerror) mcerror 783 src/args.c mc_return_val_if_error (mcerror, FALSE); mcerror 825 src/args.c mc_propagate_error (mcerror, 0, "%s\n", _("No arguments given to the viewer.")); mcerror 836 src/args.c mc_propagate_error (mcerror, 0, "%s\n", mcerror 50 src/args.h gboolean mc_args_parse (int *argc, char ***argv, const char *translation_domain, GError ** mcerror); mcerror 52 src/args.h gboolean mc_setup_by_args (int argc, char **argv, GError ** mcerror); mcerror 58 src/events_init.c events_init (GError ** mcerror) mcerror 80 src/events_init.c if (!mc_event_init (mcerror)) mcerror 83 src/events_init.c return mc_event_mass_add (standard_events, mcerror); mcerror 158 src/filemanager/boxes.c GError *mcerror = NULL; mcerror 161 src/filemanager/boxes.c mc_skin_init (skin_override, &mcerror); mcerror 172 src/filemanager/boxes.c mc_error_message (&mcerror, NULL); mcerror 632 src/filemanager/ext.c gboolean * have_type, GError ** mcerror) mcerror 641 src/filemanager/ext.c mc_return_val_if_error (mcerror, FALSE); mcerror 662 src/filemanager/ext.c mc_propagate_error (mcerror, 0, _("Cannot fetch a local copy of %s"), mcerror 728 src/filemanager/ext.c mc_propagate_error (mcerror, 0, "%s", _("Pipe failed")); mcerror 746 src/filemanager/ext.c mc_propagate_error (mcerror, 0, "%s", _("Regular expression error")); mcerror 963 src/filemanager/ext.c GError *mcerror = NULL; mcerror 971 src/filemanager/ext.c found = regex_check_type (filename_vpath, p, case_insense, &have_type, &mcerror); mcerror 972 src/filemanager/ext.c if (mc_error_message (&mcerror, NULL)) mcerror 1507 src/filemanager/hotlist.c GError *mcerror = NULL; mcerror 1510 src/filemanager/hotlist.c if (!mc_config_save_file (mc_global.main_config, &mcerror)) mcerror 1511 src/filemanager/hotlist.c setup_save_config_show_error (mc_global.main_config->ini_path, &mcerror); mcerror 1513 src/filemanager/hotlist.c mc_error_message (&mcerror, NULL); mcerror 250 src/main.c GError *mcerror = NULL; mcerror 269 src/main.c if (!mc_args_parse (&argc, &argv, "mc", &mcerror)) mcerror 272 src/main.c fprintf (stderr, _("Failed to run:\n%s\n"), mcerror->message); mcerror 273 src/main.c g_error_free (mcerror); mcerror 285 src/main.c mc_propagate_error (&mcerror, 0, "%s: %s", _("Home directory path is not absolute"), mcerror 297 src/main.c if (!events_init (&mcerror)) mcerror 300 src/main.c mc_config_init_config_paths (&mcerror); mcerror 301 src/main.c config_migrated = mc_config_migrate_from_old_place (&mcerror, &config_migrate_msg); mcerror 302 src/main.c if (mcerror != NULL) mcerror 321 src/main.c if (!mc_setup_by_args (argc, argv, &mcerror)) mcerror 395 src/main.c mc_skin_init (NULL, &mcerror); mcerror 401 src/main.c mc_error_message (&mcerror, NULL); mcerror 548 src/main.c (void) mc_event_deinit (&mcerror); mcerror 549 src/main.c if (mcerror != NULL) mcerror 551 src/main.c fprintf (stderr, _("\nFailed while close:\n%s\n"), mcerror->message); mcerror 552 src/main.c g_error_free (mcerror); mcerror 1286 src/setup.c setup_save_config_show_error (const char *filename, GError ** mcerror) mcerror 1288 src/setup.c if (mcerror != NULL && *mcerror != NULL) mcerror 1290 src/setup.c message (D_ERROR, MSG_ERROR, _("Cannot save file %s:\n%s"), filename, (*mcerror)->message); mcerror 1291 src/setup.c g_error_free (*mcerror); mcerror 1292 src/setup.c *mcerror = NULL; mcerror 149 src/setup.h void setup_save_config_show_error (const char *filename, GError ** mcerror); mcerror 207 src/vfs/sftpfs/config_parser.c const vfs_path_element_t * vpath_element, GError ** mcerror) mcerror 215 src/vfs/sftpfs/config_parser.c mc_return_val_if_error (mcerror, FALSE); mcerror 233 src/vfs/sftpfs/config_parser.c mc_propagate_error (mcerror, e, mcerror 298 src/vfs/sftpfs/config_parser.c sftpfs_get_config_entity (const vfs_path_element_t * vpath_element, GError ** mcerror) mcerror 304 src/vfs/sftpfs/config_parser.c mc_return_val_if_error (mcerror, FALSE); mcerror 321 src/vfs/sftpfs/config_parser.c (ssh_config_handler, config_entity, vpath_element, mcerror); mcerror 338 src/vfs/sftpfs/config_parser.c mc_propagate_error (mcerror, EPERM, "%s", _("sftp: Unable to get current user name.")); mcerror 355 src/vfs/sftpfs/config_parser.c sftpfs_fill_connection_data_from_config (struct vfs_s_super *super, GError ** mcerror) mcerror 360 src/vfs/sftpfs/config_parser.c mc_return_if_error (mcerror); mcerror 362 src/vfs/sftpfs/config_parser.c config_entity = sftpfs_get_config_entity (super->path_element, mcerror); mcerror 71 src/vfs/sftpfs/connection.c sftpfs_open_socket (struct vfs_s_super *super, GError ** mcerror) mcerror 78 src/vfs/sftpfs/connection.c mc_return_val_if_error (mcerror, LIBSSH2_INVALID_SOCKET); mcerror 82 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, 0, "%s", _("sftp: Invalid host name.")); mcerror 114 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, e, _("sftp: %s"), gai_strerror (e)); mcerror 145 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, 0, "%s", _("sftp: connection interrupted by user")); mcerror 147 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, save_errno, _("sftp: connection to server failed: %s"), mcerror 210 src/vfs/sftpfs/connection.c sftpfs_open_connection_ssh_agent (struct vfs_s_super *super, GError ** mcerror) mcerror 216 src/vfs/sftpfs/connection.c mc_return_val_if_error (mcerror, FALSE); mcerror 262 src/vfs/sftpfs/connection.c sftpfs_open_connection_ssh_key (struct vfs_s_super *super, GError ** mcerror) mcerror 268 src/vfs/sftpfs/connection.c mc_return_val_if_error (mcerror, FALSE); mcerror 286 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, 0, "%s", _("sftp: Passphrase is empty.")); mcerror 354 src/vfs/sftpfs/connection.c sftpfs_open_connection_ssh_password (struct vfs_s_super *super, GError ** mcerror) mcerror 361 src/vfs/sftpfs/connection.c mc_return_val_if_error (mcerror, FALSE); mcerror 396 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, 0, "%s", _("sftp: Password is empty.")); mcerror 444 src/vfs/sftpfs/connection.c sftpfs_open_connection (struct vfs_s_super *super, GError ** mcerror) mcerror 449 src/vfs/sftpfs/connection.c mc_return_val_if_error (mcerror, -1); mcerror 455 src/vfs/sftpfs/connection.c sftpfs_super->socket_handle = sftpfs_open_socket (super, mcerror); mcerror 475 src/vfs/sftpfs/connection.c mc_propagate_error (mcerror, rc, "%s", _("sftp: Failure establishing SSH session")); mcerror 492 src/vfs/sftpfs/connection.c sftpfs_ssherror_to_gliberror (sftpfs_super, sftp_errno, mcerror); mcerror 496 src/vfs/sftpfs/connection.c if (!sftpfs_open_connection_ssh_agent (super, mcerror) mcerror 497 src/vfs/sftpfs/connection.c && !sftpfs_open_connection_ssh_key (super, mcerror) mcerror 498 src/vfs/sftpfs/connection.c && !sftpfs_open_connection_ssh_password (super, mcerror)) mcerror 522 src/vfs/sftpfs/connection.c sftpfs_close_connection (struct vfs_s_super *super, const char *shutdown_message, GError ** mcerror) mcerror 527 src/vfs/sftpfs/connection.c (void) mcerror; mcerror 66 src/vfs/sftpfs/dir.c sftpfs_opendir (const vfs_path_t * vpath, GError ** mcerror) mcerror 74 src/vfs/sftpfs/dir.c mc_return_val_if_error (mcerror, NULL); mcerror 98 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, libssh_errno, mcerror)) mcerror 119 src/vfs/sftpfs/dir.c sftpfs_readdir (void *data, GError ** mcerror) mcerror 126 src/vfs/sftpfs/dir.c mc_return_val_if_error (mcerror, NULL); mcerror 134 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_dir->super, rc, mcerror)) mcerror 152 src/vfs/sftpfs/dir.c sftpfs_closedir (void *data, GError ** mcerror) mcerror 157 src/vfs/sftpfs/dir.c mc_return_val_if_error (mcerror, -1); mcerror 175 src/vfs/sftpfs/dir.c sftpfs_mkdir (const vfs_path_t * vpath, mode_t mode, GError ** mcerror) mcerror 182 src/vfs/sftpfs/dir.c mc_return_val_if_error (mcerror, -1); mcerror 207 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) mcerror 225 src/vfs/sftpfs/dir.c sftpfs_rmdir (const vfs_path_t * vpath, GError ** mcerror) mcerror 232 src/vfs/sftpfs/dir.c mc_return_val_if_error (mcerror, -1); mcerror 257 src/vfs/sftpfs/dir.c if (!sftpfs_waitsocket (sftpfs_super, res, mcerror)) mcerror 67 src/vfs/sftpfs/file.c sftpfs_reopen (vfs_file_handler_t * fh, GError ** mcerror) mcerror 73 src/vfs/sftpfs/file.c g_return_if_fail (mcerror == NULL || *mcerror == NULL); mcerror 78 src/vfs/sftpfs/file.c sftpfs_close_file (fh, mcerror); mcerror 79 src/vfs/sftpfs/file.c sftpfs_open_file (fh, flags, mode, mcerror); mcerror 85 src/vfs/sftpfs/file.c sftpfs_file__handle_error (sftpfs_super_t * super, int sftp_res, GError ** mcerror) mcerror 93 src/vfs/sftpfs/file.c if (!sftpfs_waitsocket (super, sftp_res, mcerror)) mcerror 126 src/vfs/sftpfs/file.c sftpfs_open_file (vfs_file_handler_t * fh, int flags, mode_t mode, GError ** mcerror) mcerror 136 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, FALSE); mcerror 176 src/vfs/sftpfs/file.c sftpfs_ssherror_to_gliberror (super, libssh_errno, mcerror); mcerror 205 src/vfs/sftpfs/file.c if (sftpfs_fstat (fh, &file_info, mcerror) == 0) mcerror 222 src/vfs/sftpfs/file.c sftpfs_fstat (void *data, struct stat *buf, GError ** mcerror) mcerror 231 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, -1); mcerror 244 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (sftpfs_super, res, mcerror); mcerror 268 src/vfs/sftpfs/file.c sftpfs_read_file (vfs_file_handler_t * fh, char *buffer, size_t count, GError ** mcerror) mcerror 274 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, -1); mcerror 278 src/vfs/sftpfs/file.c mc_propagate_error (mcerror, 0, "%s", mcerror 293 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (super, (int) rc, mcerror); mcerror 318 src/vfs/sftpfs/file.c sftpfs_write_file (vfs_file_handler_t * fh, const char *buffer, size_t count, GError ** mcerror) mcerror 324 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, -1); mcerror 336 src/vfs/sftpfs/file.c err = sftpfs_file__handle_error (super, (int) rc, mcerror); mcerror 357 src/vfs/sftpfs/file.c sftpfs_close_file (vfs_file_handler_t * fh, GError ** mcerror) mcerror 361 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, -1); mcerror 382 src/vfs/sftpfs/file.c sftpfs_lseek (vfs_file_handler_t * fh, off_t offset, int whence, GError ** mcerror) mcerror 386 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, 0); mcerror 397 src/vfs/sftpfs/file.c sftpfs_reopen (fh, mcerror); mcerror 398 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, 0); mcerror 408 src/vfs/sftpfs/file.c sftpfs_reopen (fh, mcerror); mcerror 409 src/vfs/sftpfs/file.c mc_return_val_if_error (mcerror, 0); mcerror 78 src/vfs/sftpfs/internal.c sftpfs_internal_waitsocket (sftpfs_super_t * super, GError ** mcerror) mcerror 86 src/vfs/sftpfs/internal.c mc_return_val_if_error (mcerror, -1); mcerror 105 src/vfs/sftpfs/internal.c mc_propagate_error (mcerror, my_errno, _("sftp: socket error: %s"), mcerror 116 src/vfs/sftpfs/internal.c const vfs_path_t * vpath, GError ** mcerror) mcerror 120 src/vfs/sftpfs/internal.c mc_return_val_if_error (mcerror, FALSE); mcerror 142 src/vfs/sftpfs/internal.c const vfs_path_t * vpath, GError ** mcerror, int stat_type, mcerror 147 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (super, path_element, vpath, mcerror)) mcerror 168 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (*super, res, mcerror)) mcerror 181 src/vfs/sftpfs/internal.c sftpfs_waitsocket (sftpfs_super_t * super, int sftp_res, GError ** mcerror) mcerror 185 src/vfs/sftpfs/internal.c sftpfs_ssherror_to_gliberror (super, sftp_res, mcerror); mcerror 189 src/vfs/sftpfs/internal.c sftpfs_internal_waitsocket (super, mcerror); mcerror 191 src/vfs/sftpfs/internal.c return (mcerror == NULL || *mcerror == NULL); mcerror 213 src/vfs/sftpfs/internal.c sftpfs_ssherror_to_gliberror (sftpfs_super_t * super, int libssh_errno, GError ** mcerror) mcerror 218 src/vfs/sftpfs/internal.c mc_return_if_error (mcerror); mcerror 222 src/vfs/sftpfs/internal.c mc_propagate_error (mcerror, libssh_errno, "%s %lu", err, mcerror 225 src/vfs/sftpfs/internal.c mc_propagate_error (mcerror, libssh_errno, "%s", err); mcerror 289 src/vfs/sftpfs/internal.c sftpfs_lstat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror) mcerror 296 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_LSTAT, &attrs); mcerror 317 src/vfs/sftpfs/internal.c sftpfs_stat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror) mcerror 324 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_STAT, &attrs); mcerror 347 src/vfs/sftpfs/internal.c sftpfs_readlink (const vfs_path_t * vpath, char *buf, size_t size, GError ** mcerror) mcerror 353 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element, vpath, mcerror)) mcerror 369 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) mcerror 388 src/vfs/sftpfs/internal.c sftpfs_symlink (const vfs_path_t * vpath1, const vfs_path_t * vpath2, GError ** mcerror) mcerror 397 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element2, vpath2, mcerror)) mcerror 418 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) mcerror 442 src/vfs/sftpfs/internal.c sftpfs_utime (const vfs_path_t * vpath, time_t atime, time_t mtime, GError ** mcerror) mcerror 449 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_LSTAT, &attrs); mcerror 478 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) mcerror 497 src/vfs/sftpfs/internal.c sftpfs_chmod (const vfs_path_t * vpath, mode_t mode, GError ** mcerror) mcerror 504 src/vfs/sftpfs/internal.c res = sftpfs_stat_init (&super, &path_element, vpath, mcerror, LIBSSH2_SFTP_LSTAT, &attrs); mcerror 532 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) mcerror 550 src/vfs/sftpfs/internal.c sftpfs_unlink (const vfs_path_t * vpath, GError ** mcerror) mcerror 556 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element, vpath, mcerror)) mcerror 570 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) mcerror 589 src/vfs/sftpfs/internal.c sftpfs_rename (const vfs_path_t * vpath1, const vfs_path_t * vpath2, GError ** mcerror) mcerror 598 src/vfs/sftpfs/internal.c if (!sftpfs_op_init (&super, &path_element2, vpath2, mcerror)) mcerror 619 src/vfs/sftpfs/internal.c if (!sftpfs_waitsocket (super, res, mcerror)) mcerror 72 src/vfs/sftpfs/internal.h void sftpfs_ssherror_to_gliberror (sftpfs_super_t * super, int libssh_errno, GError ** mcerror); mcerror 73 src/vfs/sftpfs/internal.h gboolean sftpfs_waitsocket (sftpfs_super_t * super, int sftp_res, GError ** mcerror); mcerror 77 src/vfs/sftpfs/internal.h int sftpfs_lstat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror); mcerror 78 src/vfs/sftpfs/internal.h int sftpfs_stat (const vfs_path_t * vpath, struct stat *buf, GError ** mcerror); mcerror 79 src/vfs/sftpfs/internal.h int sftpfs_readlink (const vfs_path_t * vpath, char *buf, size_t size, GError ** mcerror); mcerror 80 src/vfs/sftpfs/internal.h int sftpfs_symlink (const vfs_path_t * vpath1, const vfs_path_t * vpath2, GError ** mcerror); mcerror 81 src/vfs/sftpfs/internal.h int sftpfs_utime (const vfs_path_t * vpath, time_t atime, time_t mtime, GError ** mcerror); mcerror 82 src/vfs/sftpfs/internal.h int sftpfs_chmod (const vfs_path_t * vpath, mode_t mode, GError ** mcerror); mcerror 83 src/vfs/sftpfs/internal.h int sftpfs_unlink (const vfs_path_t * vpath, GError ** mcerror); mcerror 84 src/vfs/sftpfs/internal.h int sftpfs_rename (const vfs_path_t * vpath1, const vfs_path_t * vpath2, GError ** mcerror); mcerror 86 src/vfs/sftpfs/internal.h void sftpfs_fill_connection_data_from_config (struct vfs_s_super *super, GError ** mcerror); mcerror 87 src/vfs/sftpfs/internal.h int sftpfs_open_connection (struct vfs_s_super *super, GError ** mcerror); mcerror 89 src/vfs/sftpfs/internal.h GError ** mcerror); mcerror 93 src/vfs/sftpfs/internal.h void *sftpfs_opendir (const vfs_path_t * vpath, GError ** mcerror); mcerror 94 src/vfs/sftpfs/internal.h struct vfs_dirent *sftpfs_readdir (void *data, GError ** mcerror); mcerror 95 src/vfs/sftpfs/internal.h int sftpfs_closedir (void *data, GError ** mcerror); mcerror 96 src/vfs/sftpfs/internal.h int sftpfs_mkdir (const vfs_path_t * vpath, mode_t mode, GError ** mcerror); mcerror 97 src/vfs/sftpfs/internal.h int sftpfs_rmdir (const vfs_path_t * vpath, GError ** mcerror); mcerror 99 src/vfs/sftpfs/internal.h gboolean sftpfs_open_file (vfs_file_handler_t * fh, int flags, mode_t mode, GError ** mcerror); mcerror 100 src/vfs/sftpfs/internal.h ssize_t sftpfs_read_file (vfs_file_handler_t * fh, char *buffer, size_t count, GError ** mcerror); mcerror 102 src/vfs/sftpfs/internal.h GError ** mcerror); mcerror 103 src/vfs/sftpfs/internal.h int sftpfs_close_file (vfs_file_handler_t * fh, GError ** mcerror); mcerror 104 src/vfs/sftpfs/internal.h int sftpfs_fstat (void *data, struct stat *buf, GError ** mcerror); mcerror 105 src/vfs/sftpfs/internal.h off_t sftpfs_lseek (vfs_file_handler_t * fh, off_t offset, int whence, GError ** mcerror); mcerror 101 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 148 src/vfs/sftpfs/vfs_class.c if (!sftpfs_open_file (fh, flags, mode, &mcerror)) mcerror 150 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 172 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 178 src/vfs/sftpfs/vfs_class.c ret_value = sftpfs_opendir (vpath, &mcerror); mcerror 179 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 194 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 203 src/vfs/sftpfs/vfs_class.c sftpfs_dirent = sftpfs_readdir (data, &mcerror); mcerror 204 src/vfs/sftpfs/vfs_class.c if (!mc_error_message (&mcerror, NULL)) mcerror 227 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 229 src/vfs/sftpfs/vfs_class.c rc = sftpfs_closedir (data, &mcerror); mcerror 230 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 247 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 249 src/vfs/sftpfs/vfs_class.c rc = sftpfs_lstat (vpath, buf, &mcerror); mcerror 250 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 267 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 269 src/vfs/sftpfs/vfs_class.c rc = sftpfs_stat (vpath, buf, &mcerror); mcerror 270 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 287 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 289 src/vfs/sftpfs/vfs_class.c rc = sftpfs_fstat (data, buf, &mcerror); mcerror 290 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 308 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 310 src/vfs/sftpfs/vfs_class.c rc = sftpfs_readlink (vpath, buf, size, &mcerror); mcerror 311 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 328 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 337 src/vfs/sftpfs/vfs_class.c rc = sftpfs_utime (vpath, atime, mtime, &mcerror); mcerror 338 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 355 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 357 src/vfs/sftpfs/vfs_class.c rc = sftpfs_symlink (vpath1, vpath2, &mcerror); mcerror 358 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 434 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 443 src/vfs/sftpfs/vfs_class.c rc = sftpfs_read_file (fh, buffer, count, &mcerror); mcerror 444 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 462 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 465 src/vfs/sftpfs/vfs_class.c rc = sftpfs_write_file (fh, buf, nbyte, &mcerror); mcerror 466 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 482 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 490 src/vfs/sftpfs/vfs_class.c rc = sftpfs_close_file (fh, &mcerror); mcerror 491 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 514 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 516 src/vfs/sftpfs/vfs_class.c rc = sftpfs_chmod (vpath, mode, &mcerror); mcerror 517 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 534 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 536 src/vfs/sftpfs/vfs_class.c rc = sftpfs_mkdir (vpath, mode, &mcerror); mcerror 537 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 553 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 555 src/vfs/sftpfs/vfs_class.c rc = sftpfs_rmdir (vpath, &mcerror); mcerror 556 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 575 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 577 src/vfs/sftpfs/vfs_class.c ret_offset = sftpfs_lseek (fh, offset, whence, &mcerror); mcerror 578 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 594 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 596 src/vfs/sftpfs/vfs_class.c rc = sftpfs_unlink (vpath, &mcerror); mcerror 597 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 614 src/vfs/sftpfs/vfs_class.c GError *mcerror = NULL; mcerror 616 src/vfs/sftpfs/vfs_class.c rc = sftpfs_rename (vpath1, vpath2, &mcerror); mcerror 617 src/vfs/sftpfs/vfs_class.c mc_error_message (&mcerror, NULL); mcerror 108 src/vfs/sftpfs/vfs_subclass.c GError *mcerror = NULL; mcerror 124 src/vfs/sftpfs/vfs_subclass.c sftpfs_fill_connection_data_from_config (super, &mcerror); mcerror 125 src/vfs/sftpfs/vfs_subclass.c if (mc_error_message (&mcerror, &ret_value)) mcerror 135 src/vfs/sftpfs/vfs_subclass.c ret_value = sftpfs_open_connection (super, &mcerror); mcerror 136 src/vfs/sftpfs/vfs_subclass.c mc_error_message (&mcerror, NULL); mcerror 151 src/vfs/sftpfs/vfs_subclass.c GError *mcerror = NULL; mcerror 154 src/vfs/sftpfs/vfs_subclass.c sftpfs_close_connection (super, "Normal Shutdown", &mcerror); mcerror 158 src/vfs/sftpfs/vfs_subclass.c mc_error_message (&mcerror, NULL);