~ubuntu-branches/ubuntu/warty/gnome-vfs2/warty

« back to all changes in this revision

Viewing changes to libgnomevfs/gnome-vfs-directory.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2004-10-11 16:04:46 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041011160446-lc0ervct24rylahc
Tags: 2.8.2-0ubuntu1
* New upstream release:
  - performance increase in gnome-vfs-volume-monitor.
  - make folders open with components, to make run-dialog work for folders.
  - add support for additional headers to http backend (Warty: #2163).
  - default to the workgroup specified in smb.conf for network://.
* debian/patches/13_ssl_crash.patch:
  - removed, these changes are in the new version.
* debian/patches/14_default-workgroup.patch:
  - removed, these changes are in the new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
507
507
        g_return_val_if_fail (text_uri != NULL, GNOME_VFS_ERROR_BAD_PARAMETERS);
508
508
 
509
509
        uri = gnome_vfs_uri_new (text_uri);
 
510
        if (uri == NULL) {
 
511
                return GNOME_VFS_ERROR_INVALID_URI;
 
512
        }
510
513
 
511
514
        result = directory_visit_internal (uri, NULL, NULL,
512
515
                                           info_options,
517
520
        return result;
518
521
}
519
522
 
 
523
/**
 
524
 * gnome_vfs_directory_visit_files_at_uri:
 
525
 * @uri: URI of a directory to "visit" the files in
 
526
 * @file_list: GList of char *s of file names in @uri to visit
 
527
 * @info_options: bitmask controlling the type of information to fetch
 
528
 * @visit_options: options controlling e.g. loop prevention, and filesystem checks.
 
529
 * Affects the way visiting is done.
 
530
 * @callback: function to call with the file info structs
 
531
 * @data: data to pass to @callback.
 
532
 *
 
533
 * Fetches information about a list of files in a base URI @uri.
 
534
 *
 
535
 * Return value: a GnomeVFSResult indication the success of the operation
 
536
 **/
520
537
GnomeVFSResult
521
538
gnome_vfs_directory_visit_files_at_uri (GnomeVFSURI *uri,
522
539
                                        GList *file_list,
569
586
        return GNOME_VFS_OK;
570
587
}
571
588
 
 
589
/**
 
590
 * gnome_vfs_directory_visit_files:
 
591
 * @text_uri: string representing the URI of a directory to "visit" the files in
 
592
 * @file_list: GList of char *s of file names in @uri to visit
 
593
 * @info_options: bitmask controlling the type of information to fetch
 
594
 * @visit_options: options controlling e.g. loop prevention, and filesystem checks.
 
595
 * Affects the way visiting is done.
 
596
 * @callback: function to call with the file info structs
 
597
 * @data: data to pass to @callback.
 
598
 *
 
599
 * Fetches information about a list of files in a base URI @uri.
 
600
 *
 
601
 * Return value: a GnomeVFSResult indication the success of the operation
 
602
 **/
572
603
GnomeVFSResult
573
604
gnome_vfs_directory_visit_files (const gchar *text_uri,
574
605
                                 GList *file_list,
575
606
                                 GnomeVFSFileInfoOptions info_options,
576
 
                                 GnomeVFSDirectoryVisitOptions
577
 
                                        visit_options,
 
607
                                 GnomeVFSDirectoryVisitOptions visit_options,
578
608
                                 GnomeVFSDirectoryVisitFunc callback,
579
609
                                 gpointer data)
580
610
{